Hi !
Hope you understand english because my german is not so good... well I can understand it but not write it !
Here is my problem :
I have to different home page (1x IE and 1x NS) but ALL other pages are ok and work well in both browsers. What I like to do is to redirect my home "button" (when clicked) with a redirection test.
My Home "button" is a rollover image.
I have written this :
<script>
//BROWSER TEST AND REDIRECTION
*****************************
var name = navigator.appName
if (name == "Microsoft Internet Explorer")
{url=("myMSIEurl.html");}
else
{url=("myNSurl.html");}
document.write('<A HREF="' + url + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/homeover.jpg',1)"><img name="home" border="0" src="images/home.jpg" width="155" height="24"></A>');
</script>
Doesn't work ! Help !
This @!?%& should just add the url in the <a href ....
What's wrong ?
Thanks for your help
Hope you understand english because my german is not so good... well I can understand it but not write it !
Here is my problem :
I have to different home page (1x IE and 1x NS) but ALL other pages are ok and work well in both browsers. What I like to do is to redirect my home "button" (when clicked) with a redirection test.
My Home "button" is a rollover image.
I have written this :
<script>
//BROWSER TEST AND REDIRECTION
*****************************
var name = navigator.appName
if (name == "Microsoft Internet Explorer")
{url=("myMSIEurl.html");}
else
{url=("myNSurl.html");}
document.write('<A HREF="' + url + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/homeover.jpg',1)"><img name="home" border="0" src="images/home.jpg" width="155" height="24"></A>');
</script>
Doesn't work ! Help !
This @!?%& should just add the url in the <a href ....
What's wrong ?
Thanks for your help