scytus
01-19-2010, 12:29 AM
1) Script Title: Image Thumbnail Viewer
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/thumbnail.htm
3) Describe problem:
This has been driving me nuts for the past few days, after searching the board and trying different solutions, I wasn't able to fix it.
I've taken time off from school to help my father with his business situation, and started putting together eBay templates for him. I have included a gallery to which I use the Image Thumbnail Viewer script when clicked on the larger thumbnail (on the right).
Here is the link: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&item=260539064144
Now what happens in all browsers is that its completely perfect when you first load the page(or when you clear everything from a browser). No matter what position on the page you are, on that first/cleared visit, if you click the thumbnail, the enlarged image would load at the center of your screen.
The problem is if you go back to the page (or refresh) the enlarged image is no longer visible...unless you scroll down about 1200px. It seems to be at a fixed position in the center of my design (Not the center of the entire eBay page, but the center of the template room I'm given). So instead of the center of the screen, its the center of the template. So this is a vertical problem, not horizontal. Horizontally its still perfect.
A fix would be very, very appreciated, a lot of stress would be taken off my shoulders as I'm 99% finished with the template.
Solution I've tried: I've tried entering a "top: [xx]px!important; " position in the css for thumbBox, but came across a peculiar problem. In Internet Explorer/Firefox, "top" refers to the top of the template space given by eBay. In Chrome/Safari, "top" refers to the top of the page. EXCEPT, when you refresh the page in Chrome/Safari, "top" THEN refers to the top of the template, very odd.
My guess for a solution would be to make an absolutely fixed position in regards to the vertical position, though as previously mentioned, I failed at that attempt. Another guess would be to modify the javascript file to accommodate my needs, though I'm quite a novice at java.
Any help would be most appreciated
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/thumbnail.htm
3) Describe problem:
This has been driving me nuts for the past few days, after searching the board and trying different solutions, I wasn't able to fix it.
I've taken time off from school to help my father with his business situation, and started putting together eBay templates for him. I have included a gallery to which I use the Image Thumbnail Viewer script when clicked on the larger thumbnail (on the right).
Here is the link: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&item=260539064144
Now what happens in all browsers is that its completely perfect when you first load the page(or when you clear everything from a browser). No matter what position on the page you are, on that first/cleared visit, if you click the thumbnail, the enlarged image would load at the center of your screen.
The problem is if you go back to the page (or refresh) the enlarged image is no longer visible...unless you scroll down about 1200px. It seems to be at a fixed position in the center of my design (Not the center of the entire eBay page, but the center of the template room I'm given). So instead of the center of the screen, its the center of the template. So this is a vertical problem, not horizontal. Horizontally its still perfect.
A fix would be very, very appreciated, a lot of stress would be taken off my shoulders as I'm 99% finished with the template.
Solution I've tried: I've tried entering a "top: [xx]px!important; " position in the css for thumbBox, but came across a peculiar problem. In Internet Explorer/Firefox, "top" refers to the top of the template space given by eBay. In Chrome/Safari, "top" refers to the top of the page. EXCEPT, when you refresh the page in Chrome/Safari, "top" THEN refers to the top of the template, very odd.
My guess for a solution would be to make an absolutely fixed position in regards to the vertical position, though as previously mentioned, I failed at that attempt. Another guess would be to modify the javascript file to accommodate my needs, though I'm quite a novice at java.
Any help would be most appreciated