Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 28th, 2004, 11:57 AM
Authorized User
 
Join Date: Sep 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default Frames & Address (URL)

I have a page with two frames. One used as the navigation, the other considered to be the main form.

When link is clicked to display other pages on the main form, the URL displayed on the address bar is still the original, first page's URL. How do I show the true URL for the page displayed on main form?

Thanks.

 
Old October 28th, 2004, 07:52 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default


When you access a page the URL displayed is that page URL only. Frames means you are loading different page into the current page. So, the actual URL is current page URL only even though you navigate to different pages in the frames.

If you want to change to new page URL, better use

parent.location.href="naepage.asp"


---------
Rajani

 
Old October 29th, 2004, 07:02 AM
Authorized User
 
Join Date: Sep 2004
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great! Thank you.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing three frames in a single url click artarasan Classic ASP Basics 0 November 30th, 2007 06:52 AM
How do i encoding a url address kevo PHP How-To 3 July 17th, 2007 03:29 AM
Grab url address Mantis Pro PHP 3 December 23rd, 2005 09:04 AM
Retreiving IP address & gateway address sjangit VBScript 0 February 3rd, 2004 02:02 PM
URL address security CMensah Classic ASP Basics 1 August 7th, 2003 02:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.