PDA

View Full Version : Javascript menusimple problem


philea_92
11-06-2003, 03:35 AM
I am a very new user to Jscript and I have a big headache with opening a new window from a nav bar using Jscript

I have written the following code:

on the lcick of thre menu button register....

writeButton(loc+"","javascript:newWindow()","celtic_b6",96,25,"Registration","",0);


calling function which I have put in all frames just to be sure

<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers

function newWindow() {
regWindow = window.open("register\signup.asp", "register", "width=330,height=250")
}

// End hiding script from old browsers -->
</script>


I did get it to work but know it doesn't and I can't figure out why??????


does anybody feel like saving my brain from exploding