View Full Version : problems with layers
06-21-2004, 03:16 PM
What I mean is If I have a list of images with links attached to them to various texts, can I call each one separately when the appropriate link is clicked??
06-21-2004, 04:32 PM
I believe it's possible...if I understand you correctly...
you may have a few links like
#link 1 - more info
#link 2 - more info
- the more info bit being the hyperlink?
you could then have a DIV layer named "more_info" and set it's innerHTML property to display the information. Something like:
var set = document.all['more_info'].innerHTML;
case "1": set = "<p>This is more info about link 1</p>"; break;
case "2": set = "<p>This is more info about link 2</p>"; break;
so the hyperlinks would look something like
is that the sort of thing you were looking for?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.