Avatar of Miatchguy

asked on 

New Windows?

Hi, i'm quite new to java, but I looked up how to open a new window with custom attributes, it works fine so far, but I want it to appear as a hyperlink, whenever I do this the new window opens fine, but the main page just goes to a blank one that says [object], how do i stop this?
Here's the code i'm using:
<a href="javascript:window.open('band.htm','mywindow','width=450,height=495,toolbar=no,location=no,
resizable=no,minimize=no,maximize=no,top=100,left=300')">Click Here</a>
Web Development

Avatar of undefined
Last Comment

8/22/2022 - Mon