Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.open redirecting the parent.

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
When i try and open a popup using the code below, it redirects the opener page in IE and FF so i get [Object] or [object Window]. Basically, it sends the parent page to the href value.

I can't throw this in a function because I have to pass it into a Flash file that I wasn't the author of. Means I can't use onclick either.

Any hints?

Code:
<a href="javascript:window.open('pop_tour.html','tour','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=500,height=425,left=550, top=100,screenX=200,screenY=250');">Link</a>
 
Yeah, I thought of that. I have to pass the js string into flash and can't use onclick. I didn't write the js file, so I cna't think of another way.

Sorry about the long line stretching the page. I thought it would wrap.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top