-
help with box
Hello,
I need help with a box that has a hidden content and when click it shows the content. But it isnt working like I should, because the page is changing her position. You can see it here: http://www.meiaduzia.com.br/bruninha/testegaleria/ , try click in a picture on the right.
How can I make the page doesnt move?
The java code is:
[codebox] function toggle(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "none" ) {
el.style.display = 'none';
}
else {
el.style.display = '';
}
}[/codebox]
Tks!
-
-
Well, see for each image that your using you have a new js file containing the real image?
This is non-sence. You should use one js file that holds all the js[well thats relevant] and use the same function with variables. It is very hard to help you since you have like a bunch of different js files for like 4 images...
Last edited by Nile; 03-30-2008 at 06:01 PM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks