Current location: Hot Scripts Forums » General Web Coding » JavaScript » Killing frames with Javascript?

Killing frames with Javascript?

Reply
  #1 (permalink)  
Old 04-15-06, 10:40 AM
nova912's Avatar
nova912 nova912 is offline
Code Guru
 
Join Date: Sep 2004
Location: Traverse City, MI, USA
Posts: 821
Thanks: 0
Thanked 0 Times in 0 Posts
Killing frames with Javascript?

I have been looking for a simple script to kill 3 frames in a window and redirect to a URL i speciafy, but I cant seem to find anything. Can anyone help me?

I have some PHP that checks to see if a SID is valid and if its not it redirects to a page, problem is it redirects in that frame only.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-15-06, 11:19 AM
TwoD TwoD is offline
Community Liaison
 
Join Date: Sep 2003
Location: 404
Posts: 1,811
Thanks: 0
Thanked 0 Times in 0 Posts
Try top.location="http://theURL.com"
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add javascript after load? <?Wille?> JavaScript 14 03-31-06 05:52 AM
Need Your HelP! Loading Multiple External Text into Multiple Dynamic Text Fields Flash_Boi Flash & ActionScript 2 03-30-06 04:27 PM
Print Preview Javascript Frames!! jajalc JavaScript 2 10-25-05 04:28 AM
Reaaly stuck about javascript over frames muratisik JavaScript 1 12-14-03 12:58 PM
PLZ HLP! Sending Javascript between two frames. Caleb JavaScript 1 09-01-03 01:20 AM


All times are GMT -5. The time now is 11:04 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.