|
#1
|
|||
|
|||
|
Help - display main image without resetting thumbnail list scroll postion
All,
this is basically a repost of my problem; http://forum.pixelpost.org/showthread.php?t=6376 I still have not been able to work out how to do this. Thanks to the guys who responded to my previous post but I've spent many hours playing with this and I just can't seem to work it out. I only have basic HTML skills and no PHP or Java scripting skills (other than what I can hack from other peoples work).. Website: http://www.tonybudge.com.au/index.php Problem: When you scroll through the list of thumbnails (generated by Geos "show category" addon) at the bottom of the page, when you click on an image to view the whole page is reloaded and thus you lose your viewing position in the scroll list... Want I want to happen is when you click on a thumbnail, only the image part of the page should refresh and the remainder of the page should stay so that your scroll position in the thumbnails is retained. I've look at the image popup tools such as thickbox etc but I don't want to open an image popup window.. I apologise if reposting questions is bad form but this is the only thing left to fix on my website and it's bugging me that I can't seem to sort it out. Any advice tips (keeping in mind I'm a novice) would be appreciated. cheers budgie |
|
#2
|
||||
|
||||
|
1. There was some JS stuff controlling behavior of viewport (moving it to selected position of scrollable site).
2. You can hack addon and add info about row from which user was clicking (i.e. adding it to each thumbnail). After getting it from URL you can set it as parameter for iframe at bottom of page. Thanks to it the iframe should scroll automatically to correct row. 3. You can use DHTML/AJAX and some additional script which can optionally query Pixelpost about image data and set its results as content of current page via JS without reloading viewport. All is possible. |
|
#3
|
|||
|
|||
|
Geos,
thanks for your reply, unfortunately I don't have the coding skills to do any of those things... If you (or anyone else) feels inclined to point me in the right direction I'm willing to have another hack but without a push I wouldn't know where to start.. Note: I understand if you guys aren't that interested in assisting with this as it's not a PP issue. cheers tony |
|
#4
|
||||
|
||||
|
Quote:
To be honest with you, we can probably look into it ourselfs by doing a google search, gather the info and make something for it. But all of us have, besides Pixelpost, a couple of addons we have to maintain. Anyway, you're wanted a push, so here is one: http://blogs.x2line.com/al/articles/156.aspx
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#5
|
|||
|
|||
|
Thanks Schonhose,
I understand this is not a PP issue and appreciate the Java tip. I'll spend some time on this during the week to see if I can get this (or something similar) to work. cheers tony |
|
#6
|
||||
|
||||
|
Sure, no problem. I'll probably will look into this issue when I'm scripting my new template. (For the record: I wanted a new template starting from Christmas 2006, and I'm still working on it.)
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|