I tried both of the alternatives you pointed out, though apparently eBay has a problem with those scripts as well, and I couldn't really track down the problem...however I did find a somewhat unconventional solution to the Thumbnail Viewer script.
As odd as it is, when you first view the page on eBay, it works just as it should through the javascript. On the second view/refresh, it looks toward the CSS for direction (or at least that's what I've concluded), so I've included the following adjustments..
Code:
#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0px;
top: 0px;
width: auto;
padding: 10px;
padding-bottom: 0;
background: transparent;
visibility: hidden;
z-index: 100;
cursor: hand;
cursor: pointer;
}
#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: bold 16px Tahoma;
letter-spacing: 5px;
line-height: 1.1em;
color: white;
margin-bottom: 2150px;
padding: 5px 0;
text-align: right;
}
#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: white;
}
#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
position: absolute;
visibility: hidden;
border: 1px solid black;
background-color: #EFEFEF;
padding: 5px;
margin-bottom: 2150px;
z-index: 90;
}
I tried putting the margin-bottom value on "thumbBox", though it had no effect whatsoever, so that's when I tried on the footer. However because it was on the footer and not the entire DIV itself, it left an extended trail of the box, so I had to set the background to transparent.
So far it works on every browser & all resolutions..I did however try to do a "margin-top" on thumbBox itself (to not have a div box trail), and while that did work, and it was completely clean..the "top" values differ from IE/FF and Chrome/Safari, and I don't know a way to get around that..the top value in chrome safari refers to the top of the page, whereas IE/FF it refers to the top of the template. I don't know how to insert a top value they would both recognize the same, or is there a way I can set a different top value for IE/FF and Chrome/Safari?
Bookmarks