PDA

View Full Version : Help - display main image without resetting thumbnail list scroll postion


budgie
06-23-2007, 06:18 AM
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

GeoS
06-23-2007, 10:37 AM
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.

budgie
07-01-2007, 06:28 AM
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

Dennis
07-02-2007, 06:48 AM
Note: I understand if you guys aren't that interested in assisting with this as it's not a PP issue.


Well, I for one consider it to be a template issue, so in that point of view this is not our core business. I also understand that this is an annoying thing you're having and it would be great if someone has a solution.

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

budgie
07-02-2007, 08:50 AM
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

Dennis
07-02-2007, 10:34 AM
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.)

GeoS
07-02-2007, 05:23 PM
Google is really helpful (and some base knowladge about few things). It should help you:
http://wiki.script.aculo.us/scriptaculous/show/Effect.ScrollTo