Hi.
I wanna add a pop up link in navigation butons andI am editing navigation_buton_inc.asp.
I am inserting the code below to navigation_buton_inc.asp but I am receiving this error;
----------------------------------------------.
Microsoft VBScript compiling error (0x800A0400)
Phrase required
/forum/includes/navigation_buttons_inc.asp, line 72
<SCRIPT LANGUAGE="JavaScript">
---------------------------------------
and the javascript code is;
---------------------------------
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=220,height=520,left = 412,top = 134');");
}
// End -->
</script>
<!-- STEP TWO: Use the following link to open the new window -->
<A HREF="javascript:popUp('http://www.homesite.com/site.asp')">Click-This...</A>
------------------------------------------------
This code is working on another asp page but not working in navigation_buton_inc.asp page...
What is the problem? Why this javascript dont working in wwf's page?