Print Page | Close Window

Add the target tag target="_top"

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9546
Printed Date: 01 April 2026 at 1:00am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Add the target tag target="_top"
Posted By: BoLt
Subject: Add the target tag target="_top"
Date Posted: 04 February 2004 at 4:59pm

Hi can someone help me with this one? I have a redirection page for flash but I need to add the target tag target="_top" to the script. How do I do this?

 

<SCRIPT LANGUAGE=VBScript>

<!--

on error resume next

var GotFlash

GotFlash = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))

If GotFlash = True Then

Window.Location= "http://web.ukonline.co.uk/lymt/mainFrameset.htm"

End If

// -->

</SCRIPT>



-------------
BoLt (Computer Engineer)
I suffer from Dyslexia, it means I can not spell to well not that I am thick.

www.welshlens.co.uk



Replies:
Posted By: Bullschmidt
Date Posted: 05 February 2004 at 6:25am

Perhaps change the window.location thing to be something like this:

mwinFlashView = window.open("http://web.ukonline.co.uk/lymt/mainFrameset.htm ", "flashview", "width=610,innerWidth=610,height=380,innerHeight=380,toolbar =yes,directories=no,status=yes,menubar=yes,scrollbars=yes,re sizable=yes,location=yes");



-------------
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com - www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)


Posted By: BoLt
Date Posted: 05 February 2004 at 6:40am
Thankz

-------------
BoLt (Computer Engineer)
I suffer from Dyslexia, it means I can not spell to well not that I am thick.

www.welshlens.co.uk



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net