[RESOLVED] Firefox & Javascript Issue
Mendhak kindly helped me with the following code towards a custom control I'm writing. It works happily in IE, but not in Firefox. Can anyone help me out with why and what I need to do to change it? :confused:
VB Code:
<table width="100%">
<tr>
<td style="CURSOR: hand" onclick="navigate('http://www.microsoft.com');" width="100%">microsoft.com</td>
</tr>
</table>
Re: Firefox & Javascript Issue
Is navigate a custom function? Show it's code.
Oh and it'd help if you told us what wasn't working ;)
Re: Firefox & Javascript Issue
Ooops :blush:
I got the navigate method out of my Javascript book, but didn't read the bit that says it's an IE specific.
I tried replacing it with "location.href = www.microsoft.com" which again works happily in IE, but won't work in Firefox.
Basically in Firefox neither the cursor changes nor does it treat the table as a link :eek2:
Re: Firefox & Javascript Issue
Use this javascript:
javascript:document.location.href='http://www.mendhak.com/';
And for the cursor, try pointer instead of hand.
Re: Firefox & Javascript Issue
Woo hoo....thanks Mendhak that works beautifully :D
Big up to the :afrog: once again