Jump to content


Photo

Targeting the parent window


  • Please log in to reply
1 reply to this topic

#1 jcink

jcink
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 15 April 2006 - 06:49 PM

Hi I'm having some trouble with windows.

Lets say i have on page 1:

<a href='test.html' target='_blank'>

And on the test.html page, i want to target the window that launched it.

<a href='javascrip:document.blahblaha' target='_parent'>
edit: i know its supposed to say J A V A S C R I P T but every time i type the full word i get 406 not acceptable error O_o

but this does not seem to work. is there a way to do this?

Thanks,
Jcink
http://jcink.com - home of projects, games, forums, hosting.

#2 jbog91

jbog91
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 16 April 2006 - 01:27 AM

This might help.

[a href=\"http://www.webreference.com/js/tutorial1/opener.html\" target=\"_blank\"]http://www.webreference.com/js/tutorial1/opener.html[/a]

There's also a bunch of stuff about refreshing the parent window. That should help you because it will show you how they targeted the parent window for refresh. You can prune through and see what you want.

[a href=\"http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2005-09,GGGL:en&q=target+parent+window+in+javascript\" target=\"_blank\"]http://www.google.com/search?sourceid=navc...w+in+javascript[/a]

But I think the first one will help the most.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users