BrightStarPro
01-29-2006, 08:54 PM
Hi,
I'm trying to open an external page using the IFrame SSI script II (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm) with a link inside of a drop down menu (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm).
If I want to open an external page from a link on my main page, I should use the following code.
<a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>
That works great! HOWEVER, when I want to open an external page from a link in A PULL DOWN MENU from my main page it does not work. Here's an example of the code I'm using.
menu1[0]='<a href="javascript:loadintoIframe('myframe', 'alumni/directory.html')">Directory</a>'
I guess I'm using my " and ' in the wrong places.
I'm trying to open an external page using the IFrame SSI script II (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm) with a link inside of a drop down menu (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm).
If I want to open an external page from a link on my main page, I should use the following code.
<a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>
That works great! HOWEVER, when I want to open an external page from a link in A PULL DOWN MENU from my main page it does not work. Here's an example of the code I'm using.
menu1[0]='<a href="javascript:loadintoIframe('myframe', 'alumni/directory.html')">Directory</a>'
I guess I'm using my " and ' in the wrong places.