HighDots Forums  

using URL parameters as navigation

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss using URL parameters as navigation in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
[TNC]VeNoM webforumsuser@macromedia.com
 
Posts: n/a

Default using URL parameters as navigation - 11-01-2003 , 06:58 AM






Hi, I have a problem and I know one of you guys knows how to do it so I hope someone can help me out here.

------------------------------------------------------------------------------------
I want to make a website that opens pages making use of url parameters.

In example:

http://www.somesite.nl/somepage.asp?page=home

This 'action' must open the page "home.asp" in the parent.

You see it often in websites but I can't find an tutorial or something about how to do it.
------------------------------------------------------------------------------------

I hope you can help me out.


Thanks in advance.

Frank



Reply With Quote
  #2  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: using URL parameters as navigation - 11-01-2003 , 07:16 AM






On 01 Nov 2003 in macromedia.dreamweaver, wrote:

Quote:
I want to make a website that opens pages making use of url parameters.

In example:

http://www.somesite.nl/somepage.asp?page=home
<%
Dim pageToOpen
If (Request.QueryString("page") <> "") Then
pageToOpen = Request.QueryString("page")
Response.Redirect pageToOpen & ".asp"
End If
%>


--
Joe Makowiec can be reached at:
http://makowiec.org/contact/?Joe


Reply With Quote
  #3  
Old   
Julian Roberts
 
Posts: n/a

Default Re: using URL parameters as navigation - 11-01-2003 , 07:39 AM



Why would you want to build your website in this way? Wouldn't it be easier
to link directly to the page you want to go to.
--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004



[TNC]VeNoM wrote:
Quote:
Hi, I have a problem and I know one of you guys knows how to do it so
I hope someone can help me out here.

--------------------------------------------------------------------------
----------
I want to make a website that opens pages making use of url
parameters.

In example:

http://www.somesite.nl/somepage.asp?page=home

This 'action' must open the page "home.asp" in the parent.

You see it often in websites but I can't find an tutorial or
something about how to do it.
--------------------------------------------------------------------------
----------

I hope you can help me out.


Thanks in advance.

Frank



Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.