FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

I need to merge these two together.

 


Senshida
I am changing my site to have Javascript mouseover buttons, but I can't seem to get it to work..

Quote:
The Mouseover

<a href="website.com" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
<img name="image1" src="images/index_03.gif" border=0></a>


Quote:
The Thing I am trying to merge it with

<table id="Table_01" border="0" cellpadding="0" cellspacing="0"
height="601" width="800">
<tbody>
<tr>
<td colspan="7"> <img src="images/index_01.gif" alt=""
height="166" width="800"></td>
</tr>
<tr>
jeremyw
If you are using certain browsers, most notably Firefox, the script you have won't work. If you replace it with this:
Code:
document.getElementById('elementId').src = document.getElementById('elementId').src

It should work in at least Internet Explorer and Firefox. Hope this helps.
motha
Code:
<table id="Table_01" border="0" cellpadding="0" cellspacing="0"
height="601" width="800">
<tbody>
<tr>
<td colspan="7">
<a href="website.com" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
<img name="image1" src="images/index_03.gif" border=0></a>
</td>
</tr>
<tr>


have you tried this it should work
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.