|
-
Jan 28th, 2002, 06:05 AM
#1
Thread Starter
Addicted Member
Asp pages navigation.
Hello!
I have a page that uses 3 frames! The left one is the menu and the top one contains the logo of the company. The problem is that I need to pass the parameters “page” and “level” to the URL when user clicks on an item on the menu! If I use the response.redirect the whole page is reloaded (the top frame as well) though the top frame is static! Is there any way to reload just the menu and the main frame and update the URL??
I new to Web design so I’d like to know if it’s it a good practice to pass the page as a querystring or use a session variable or if there’s any other way! Is it much pain to reload the whole frameset every time??
Thanks for your answers in advance!
-
Jan 28th, 2002, 06:42 AM
#2
Junior Member
What you have to do, is name the frames, such as
"top"
"left"
"main"
or whatever you like really..
On the link in the menu frame add a "target" reference.
e.g.
<A HREF="news.asp?level=1&page=2" TARGET="main">
That will load the page "news.asp" with the querystring level=1&page=2 into the frame called "main.
Hope that helps.
-
Jan 29th, 2002, 05:39 AM
#3
Thread Starter
Addicted Member
OK!! You're right! However that won't refresh the address bar of the explorer!Thus when user presses 2 buttons on my menu and then the "back" button on his browser it will just go to the first page ever visited on my site because the querystring won't have refreshed!
-
Jan 29th, 2002, 10:37 AM
#4
Junior Member
Well, that's something your going to have to code around, due to the way IE works with frames..
Maybe if you posted your URL here, someone might be able to help a bit more..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|