I have a web page that I created that uses these JS pop up messages. Since I'm fairly new to web development (and JS), I pulled a stupid and didn't check to see if this script would work in Netscape. It's not major but I would like to be able to get to work in NS if possible. The error I get (through the Javascript console) is "add is not defined." Is there a way I can modify it to get it to work in NS.
This is the code from the JS script source web site.
<SCRIPT LANGUAGE="JavaScript">
function chen()
{
add.value="Web Site JavaScript Source \nhttp://javascript.internet.com/\nPart of the INT Media Group\nhttp://www.internet.com\nThanks for visiting us\nCome back soon!"
add.style.height=120
add.style.width=260
}
function dis()
{
add.value=""
add.style.height=0
add.style.width=0
}
</script>
This is the code from the JS script source web site.
<SCRIPT LANGUAGE="JavaScript">
function chen()
{
add.value="Web Site JavaScript Source \nhttp://javascript.internet.com/\nPart of the INT Media Group\nhttp://www.internet.com\nThanks for visiting us\nCome back soon!"
add.style.height=120
add.style.width=260
}
function dis()
{
add.value=""
add.style.height=0
add.style.width=0
}
</script>