Jump to content

Javascript Rollover


liamloveslearning

Recommended Posts

Hi everyone,

 

On a website im building I have a live assistance button which opens a popup window for the consumer to chat with a salesperson, The code for the button is

 

  <a href="http://www.comm100.com/livechat/" onclick="comm100_Chat();return false;" target="_blank"><img id="comm100_ButtonImage" src="http://chatserver.comm100.com/BBS.aspx?siteId=1&planId=85" border="0px" /></a>
        <script src="http://chatserver.comm100.com/js/LiveChat.js?siteId=18077&planId=85" type="text/javascript"></script>

 

I want to insert my own rollover image in place of the one they have hosted only no matter what I try I cant seem to get it to function correctly, Ive tried

 

   <a href="http://www.comm100.com/livechat/" onclick="comm100_Chat();return false;" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','f',1)"><img id="comm100_ButtonImage" src="myimg.jpg" border="0px" /></a>
        <script src="http://chatserver.comm100.com/js/LiveChat.js?siteId=18077&planId=85" type="text/javascript"></script>

 

to no avail.

Has anybody and advice they can give me in regards to sorting this? thanks

Link to comment
https://forums.phpfreaks.com/topic/187416-javascript-rollover/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.