I tried to put this skript on my page, but im not getting it to work!![]()
its on this page: http://www.surplus.noctur.net/index2.html
Please see the Source and tell me whats wrong. If someone can help, Iīll be very pleased![]()
I tried to put this skript on my page, but im not getting it to work!![]()
its on this page: http://www.surplus.noctur.net/index2.html
Please see the Source and tell me whats wrong. If someone can help, Iīll be very pleased![]()
Change the body portion of your page to this:
HTML Code:<body bgcolor="#5276C0"> <div id="showimage" style="position:absolute; left:159px; top:429px; width:410px; height:310px" align="center"></div> <a href="surpluslay1web.jpg" onClick="return enlarge('surpluslay1web.jpg',event, 'center', 300, 400)"> <img src="surpluslay1web.jpg" width="150" border="0"></a> </div> </body>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
I tried but it wont work unless I delete the whole bodypart and then I wonīt have any layout left!
Well, that was just an example so that you could see the script work. I figure you are going to use other images besides your image map image for this script. Aren't you?
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Yes I am. Is it not working because Im using the wrong image? Ill try it with a different image tomorrow. Thanks
I tried to make it work, but....
I have two main problems. First, what does this do: visibility:hidden; ? Its in the CSS part. If I understood, it hides the layer. But that cannot be right?
The second problem is: If I erase visibility:hidden; then the pics show and it works, untill you click close text on the pic. Then it closes, but the small version that you click to get the bigger one disapears too.
Help??
Visibility is set to hidden so that the popup can be made to 'appear' when needed. You seem to be suffering from 'edititis'. Too much editing. Try just using the script exactly as it is written before making too many modifications. For example, I noticed you had given style properties to the '<div id="showimage"></div>' none is called for.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Imstill not getting it to work even though now I changed my system to iframes so there wonīt be any extra code on the page with the images. Now I tried to put a image on this page: http://www.noctur.net/surplus/blendit.html
but I still canīt make it work. Now it hasenīt even been changed ..at all
Follow the directions, from the demo, it is:
Not:HTML Code:<div id="showimage"></div>
as you have it.HTML Code:<div id="showimage"> content here </div>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
First Id like to thank you for being so patient with me.
I didnīt get the script to work with div-layers, so I changed my page to iframes. Now I have a new problem - the picture gets "stuck" in the iframe. Can you kinda "target="_parent"" it?
See here: http://www.noctur.net/surplus/lay1.html
I allready tried targeting with html but that didnīt work. Any sugestions?
Bookmarks