Results 1 to 4 of 4

Thread: Asp pages navigation.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Greece
    Posts
    184

    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!

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    31
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Greece
    Posts
    184
    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!

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    31
    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
  •  



Click Here to Expand Forum to Full Width