SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2003
    Location
    NY
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question window.location content!!

    Hi everyone!

    How can I keep the home page adress appear on the window.location regardless page user is reading on the site? for example address bar always shows www.mysite.com even when user reads the page on www.mysite.com/news/news.html

    thanks in advance.

  2. #2
    SitePoint Addict
    Join Date
    Sep 2003
    Location
    Kingston
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use frames, set one as hidden (rows="0"), the other one contains the sites content. You would then need to have a script in each page to ensure that it jumps back into the frame and resets the URL, in case someone accesses it without the frame.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •