Badshot80
04-12-2003, 03:26 PM
I need a code that says if using webtv open webtv.html else open index2.html on a mapped image. Here are my codes:
JS:
<script language ="Javascript">
function browser() {
if (navigator.appName =="WebTV")
window.location.href="webtv.html";
}
else
{
window.location.href="index2.html";
}
</script>
Mapped Image:
AREA SHAPE=RECT COORDS="19,258,93,286" HREF="http://www.stunnerdesignz.com/index2.html" ALT="Enter Stunner Designz" onMouseOver="window.status='Enter Stunner Designz'; return true" onMouseout="window.status=' ';return true"
How can I combine it so the HREF on the mapped image opens a page based on if there using webtv for other?
Thanks for your help
JS:
<script language ="Javascript">
function browser() {
if (navigator.appName =="WebTV")
window.location.href="webtv.html";
}
else
{
window.location.href="index2.html";
}
</script>
Mapped Image:
AREA SHAPE=RECT COORDS="19,258,93,286" HREF="http://www.stunnerdesignz.com/index2.html" ALT="Enter Stunner Designz" onMouseOver="window.status='Enter Stunner Designz'; return true" onMouseout="window.status=' ';return true"
How can I combine it so the HREF on the mapped image opens a page based on if there using webtv for other?
Thanks for your help