Results 1 to 3 of 3

Thread: Email Riddler - help with rollover image

  1. #1
    Join Date
    Dec 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Email Riddler - help with rollover image

    Hello - Could somebody help me with Email Riddler and getting a rollover image to work? http://www.dynamicdrive.com/emailriddler/

    Thanks very much,

    Dave

    Here is the code, in Dreamweaver, I am usings but just can't seem to figure out how to get the rollover effect to work.

    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/learndomain2.gif',1)"><img src="images/learndomain.gif" alt="learn domain name" name="Image19" width="281" height="30" border="0" id="Image19" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/learnwebhost2.gif',1)"></a>

    Also, tried help from previous post without any luck.
    http://www.dynamicdrive.com/forums/s...+riddler+image

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, by default, the script generates a line like the below at the very end:

    Code:
    document.write('<a href="mailto:'+encryptedemail_id36+'">Contact Us</a>')
    You can change that to work with Dreamweaver's rollover image code like so:

    Code:
    document.write('<a href="mailto:'+encryptedemail_id36+'" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image19\',\'\',\'images/learndomain2.gif\',1)"><img src="images/learndomain.gif" alt="learn domain name" name="Image19" width="281" height="30" border="0" id="Image19" /></a>')
    Note the backslash (\) proceeding each of the single quotes within the code.

  3. #3
    Join Date
    Dec 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Thanks very much, it works perfectly now!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •