PDA

View Full Version : change placement of view box on page?



MissKitty
07-23-2007, 11:41 PM
1) Script Title: Image Thumbnail Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

3) Describe problem: This is probably a dumb question, but I want to move the view box window to pop up slightly to the right of center, where in the js file can I make that adjustment?

Thanks so much in advance!

jscheuer1
07-24-2007, 03:01 AM
That is actually more easily accomplished in the thumbnailviewer.css file:


#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 10px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 10;
cursor: hand;
cursor: pointer;
margin-left:10px;
}

MissKitty
07-24-2007, 04:50 PM
That is actually more easily accomplished in the thumbnailviewer.css file:


#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 10px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 10;
cursor: hand;
cursor: pointer;
margin-left:10px;
}
John,
You ROCK! Thank you, I should have figured that out :o