/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- script rollover de imagens --> <script> var imgPath = 'http://static.gazzag.com/img/'; function switchImg(img, src) {img.src = imgPath + src;} </script> <img src="http://static.gazzag.com/img/<gazzag:i18nDir />/addfriend.gif" alt="<gazzag:i18n key="addfriend" />" onmouseover="switchImg(this, '<gazzag:i18nDir />/addfriend_hover.gif');" onmouseout="switchImg(this, '<gazzag:i18nDir />/addfriend.gif');" />
Comments
