0
Welcome Guest! Login
0 items Join Now

javascript image hover - js corrupted?

  • javascript image hover - js corrupted?

    Posted 13 years 2 months ago
    • Hi. This is code I use all the time with other templates. First time in a RT template.

      Trying to add a simple mouseover event for an image hover. Code below. But, even with No Editor selected, (i normally use JCE) i know that the js is not being stripped. But, it is somehow being encoded/escaped inline (or something.) Please see the screenshot of it firebug'd.

      This is the request more info buttom on bottom right at 174.120.222.66/~financia/

      Here is the simple code. the first image is there just to show that the image paths are correct and visible live. Its the second line below that is not working:

      <p style="text-align: right; margin-top:30px;"><a href="This email address is being protected from spambots. You need JavaScript enabled to view it."><img alt="request" src="images/request.png" height="39" width="206" /></a></p>

      <p style="text-align: right;"><a href="This email address is being protected from spambots. You need JavaScript enabled to view it."><img onmouseout="javascript:this.src='images/request.png';" onmouseover="javascript:this.src='images/request_over.png';" src="images/request.png" border="0" /></a></p>

      I even tried using a gif instead of a png. no change.

      here is some info:
      PHP Version 5.2.17
      Web Server Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_fcgid/2.3.6 Phusion_Passenger/3.0.9 mod_bwlimited/1.4
      WebServer to PHP Interface cgi
      Joomla! Version Joomla! 2.5.1 Stable [ Ember ] 2-Feb-2012 14:00 GMT
      Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
      User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.

      i also have no filtering set in the config to super users

      THANKS!
  • Re: javascript image hover - js corrupted?

    Posted 13 years 2 months ago
    • forgot to add....using visiage template

Time to create page: 0.082 seconds