Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why isn't my "swap" picture showing up in dynamic effect????

Status
Not open for further replies.

Bentley

Technical User
Feb 24, 2000
6
US
The picture that I choose to &quot;swap&quot; in dynamic effect<br>shows up in preview nicely but when I download it to<br>the internet it doesn't. I have it set to switch to<br>another picture when you put your mouse over it.<br>On the internet when i do this nothing happens except<br>a little box at the bottom states &quot;JavaScript:void(0)&quot;<br>Please help..........I only know how to use Frontpage<br>and don't know anything about HTML etc..........<br>thanks
 
My dear friend Bentley.....you have nicely articulated the 'problem' with total dependence upon a WYSIWYG editor, such as the vainglorious Front Page authoring tool.&nbsp;&nbsp;As soon as you will encounter a problem slightly 'outside' of the FP proprietary box, you will be in trouble.<br><br>My suggestion:&nbsp;&nbsp;go look at a recently published page I made for one of my clients.&nbsp;&nbsp;It utilizes an image swap in JavaScript, and if you View Source, print out the HTML, and compare it with what yours looks like, you may be able to narrow down the error.<br>the URL is:&nbsp;&nbsp;<A HREF=" TARGET="_new"> over the buttons on left to observe image swap.<br>Good luck.<br><br>Web Whacker
 
Front Page 2000 makes it easy to use DHTMl to create hover buttons. First identify the two images of equal dimensions that you will be using. Be sure the image dimensions are the same for both pictures. Then in normal view of FrontPage, use your cursor to highlight the primary image, then from the format menu in your toolbar, choose dynamic html effects to access the dhtml effects dialog box. In the dialog box, choose Mouse over from the &lt;choose an event&gt; drop down box. From the &lt;choose an effect&gt; drop down, select swap image. From the dropdown box&lt;choose picture&gt; select choose picture and select your hover image. Be sure that the primary image is selected when you begin, and be sure you do not pick the same image as the primary image for the hover image or it will look like nothing is happening when you hover over it. Also be sure both pictures are listed and are on the web server.&nbsp;&nbsp;&nbsp;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top