Click here to get back home

changing the target frame from the server side

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
changing the target frame from the server side jvc214 05-10-2005
Posted by jvc214 on May 10, 2005, 7:44 am
Please log in for more thread options


I have an application that uses multiple frames. Normally the links in
a frame target the frame they are in, except when "something special"
occurs on the server side for the request. When that special something
happens, I need to target _top or top (the top level browser window). I
have two approaches and I am open to others:

1. I respond to the request with javascript that has:
top.location.href = /where/I/really/want/the/top/to/go

2. I respond with html consisting of:
<base target="top"><meta http-equiv=refresh
content="0;url=/where/I/really/want/the/top/to/go">

what are the pros and cons of these two approaches and is there a
better way to do what I want?

-Jim


Similar ThreadsPosted
client-side image size changing question June 22, 2005, 6:26 am
Security of server-side code? August 20, 2004, 10:59 am
Server-side validation and cacheable forms May 29, 2007, 1:37 pm
Post data to server from javascript on client side January 17, 2005, 3:47 pm
Options for real-time plotting of server-side data? October 19, 2005, 12:36 pm
multiple instances of a CSS link due to server-side file inclusion and tools requirements November 18, 2008, 12:03 am
frame target mcmain November 13, 2006, 8:22 pm
Frame target does not always work? Options March 27, 2008, 2:42 pm
Target frame link anchor in new parent html file December 13, 2004, 3:47 am
Server Side Include (SSI) Include Help December 12, 2006, 12:18 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap