What is wrong with this code? - TechRepublic
General discussion
September 24, 2002 at 03:24 AM
themadhacker

What is wrong with this code?

by themadhacker . Updated 23 years, 9 months ago

Take a look at this code below.

it’s a simple popup script that is essential to my site.

now, if i call javascript:launch:(‘home’);, it launches a popup with the address home/home.html. The idea of this is that people can go to mysite.com/home, and they will be connected to an index.html which launches it.

I cannot work out why IE produces an error when i click it when I only have one function in the script. Could someone please tell me why. But that is only out of interest.

But more seriously, I have a scrolling document on the other side of the page. As soon as this code was put in, it stopped working.

I have checked both documents (the updates window that is meant to scroll has no conflicts with the other window). The updates window is called from an iframe.

What have I done wrong and how do i fix it?

Thanks.

This discussion is locked

All Comments