I do believe that I am in the right forum for this. If not, I apologize.
I have this website I've been working on and unfortunately I've run into a problem: everytime I click a button, the JavaScript Console pops up. I assume this is because I've done something wrong. What I want to do is to have two seperate iFrames load different content when the user clicks a button. For instance, this is what I have for one of the links:
<a href="javascript:" onclick="parent.frames['right_body'].location = 'http://boomspeed.com/nateproject/booking.htm'; parent.frames['left_body'].location = 'http://boomspeed.com/nateproject/emailselection.htm';"><IMG SRC="http://www.boomspeed.com/nateproject/button_email.jpg" ALT="" WIDTH=89 HEIGHT=24 border="0"></a>
However, I do not have anything in my <head>, and I assume that is the problem. If this is not the problem, feel free to point me in the right direction as well.
EDIT: I just read the FAQ section, which made me realize "javascript:" isn't the best way to go. Is there an alternative way for me to make this work?
I have this website I've been working on and unfortunately I've run into a problem: everytime I click a button, the JavaScript Console pops up. I assume this is because I've done something wrong. What I want to do is to have two seperate iFrames load different content when the user clicks a button. For instance, this is what I have for one of the links:
<a href="javascript:" onclick="parent.frames['right_body'].location = 'http://boomspeed.com/nateproject/booking.htm'; parent.frames['left_body'].location = 'http://boomspeed.com/nateproject/emailselection.htm';"><IMG SRC="http://www.boomspeed.com/nateproject/button_email.jpg" ALT="" WIDTH=89 HEIGHT=24 border="0"></a>
However, I do not have anything in my <head>, and I assume that is the problem. If this is not the problem, feel free to point me in the right direction as well.
EDIT: I just read the FAQ section, which made me realize "javascript:" isn't the best way to go. Is there an alternative way for me to make this work?
Comment