| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
|
POP up window help
Hello to all, I am need of help with a pop up window script for my url. Below is a script I found to get started. I am new to javascript so bear with me. Where exactly does the code go in the html? var newwindow; function poptastic(url) { newwindow=window.open(url,'name','height=400,width =200'); if (window.focus) {newwindow.focus()} } <a href="javascript:poptastic('poppedexample.html');" >Pop it</a> |
|
|
|
![]() |