toorudez
03-27-2003, 11:45 AM
i'm trying to create a faq page that will use a pop-up window that contains the answers, but am having some trouble with it. So far, i'm using this function :
<SCRIPT LANGUAGE="JavaScript">
<!--
function OpenMe(newin) {
flyout=window.open(newin,"flyout","resizable=no,scrollbars=yes,width=300,height=300,top=300,left=300")
}// -->
</SCRIPT>
and am trying to link it to
<a href="order.html" onclick="OpenMe(order.html)"> click here </a>
but, all this does is open the page.html file in the current window.
any suggestions?
Thnx
<SCRIPT LANGUAGE="JavaScript">
<!--
function OpenMe(newin) {
flyout=window.open(newin,"flyout","resizable=no,scrollbars=yes,width=300,height=300,top=300,left=300")
}// -->
</SCRIPT>
and am trying to link it to
<a href="order.html" onclick="OpenMe(order.html)"> click here </a>
but, all this does is open the page.html file in the current window.
any suggestions?
Thnx