adamthenewbie
08-13-2003, 08:16 AM
I am using javascript to tell if the users browser supports iframes. I have a function that checks users browser and sets browserCheck to yes (For if they have a browser that handles iframes) or no. The only problem with this though is if the users browser doesnt support javascript. Is there a way that I can make another link only if the users browser doesnt support javascript???
Here is the code for one link
<script language = "javascript">
if (browserCheck == "no")
{
document.write("<A HREF=\"#\" onclick = \"storeOld();\">");
}
else
{
document.write("<A HREF=\"default.php?content=store\">");
}
</script>
Thanks
Adam
Here is the code for one link
<script language = "javascript">
if (browserCheck == "no")
{
document.write("<A HREF=\"#\" onclick = \"storeOld();\">");
}
else
{
document.write("<A HREF=\"default.php?content=store\">");
}
</script>
Thanks
Adam