Forum Moderators: open

Message Too Old, No Replies

<script tag is a target window definable?

         

thisisull

7:11 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



Is there a way of redirecting a <SCRIPT> tag to operate on a new browser window.
Kind of like <A target='_blank'...
Thanks

Purple Martin

10:01 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



At first I didn't understand your question, but I think I know what you mean now. You want to do something to another window that has been opened by your page, right?

When you open a new browser window with JavaScript you can assign it to a variable like this:
myWindow = window.open()

Then later on you can reference the new window with myWindow.

thisisull

10:27 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



Thank you for reading my post.
Its actually my interface to advertisers Javascript that I cannot alter, I am only given a <script tag> encapsulating their remote javascript.
I was wondering if a tag exists to redirect output from remote 3rd party javascript implementations into a new browser.
Sort of
<newtag target='_blank> <script theirs/> </newtag>
thing. <snip>
Either way I can't do it as they will get upset. But it maybe an interesting idea.

[edited by: korkus2000 at 10:31 pm (utc) on Dec. 23, 2003]
[edit reason] No personal URLs please [/edit]

claus

10:59 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See this (first post on page): [webmasterworld.com...]

Adsense don't allow it, it seems.

/claus

thisisull

11:59 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



Thank you Claus.