Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q223

Feedback on: irt.org FAQ Knowledge Base Q223

Sent by Vicky Jo Varner on June 14, 2001 at 03:38:26: - feedback #2842

Worth:
Very worth reading

Length:
Too short

Technical:
Just right

Comments:
This is exactly what I needed! (after FrontPage screwed me... I just set up a page with all these swap-outs -- only to discover it didn't work in Netscape Navigator! :-P)

The REMAINING question I need to answer is:
WHAT IS THE SYNTAX TO DO MULTIPLE IMAGE SWAPS ON THE SAME PAGE? (The way it's set right now -- if I click one image, they ALL flip over. :-O)

Please answer asap!


Vicky Jo, grateful for finding this great resource she's bookmarked but good :-D


Sent by michel on June 14, 2001 at 06:36:17: - feedback #2844

Comments:
do not use <a href="javascript:somefunction()"
instead use
<a href="#" onClick="somefunction(); return false">

since netscape will follow th ink and partially unload the page

Michel


Sent by Michel Plungjan on June 25, 2001 at 07:04:46: - feedback #2892

Comments:
Here is a toggle

<script>
toggle=false;
</script>
<a href="#"
onClick="if (document.images)
document.images['myImage'].src = (toggle)?'image1.gif':'image2.gif';
toggle=!toggle;
return false"><img name="myImage" src="image1.gif" border=0"></a>



©2018 Martin Webb