Results 1 to 5 of 5

Thread: How to change the url in the address bar with javascript?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    -1
      0  

    Default How to change the url in the address bar with javascript?

    Hi

    Is there a way to change the url in the address bar without affecting the browser history?
    YUI history manager uses the location.hash property but it adds the url+hash to the history.

    Attacking my problem from the other direction. Is there a way changing the url of an iframe without affecting the browser history?
    I want my iframe to show www.example1.com and then to change to www.example2.com.
    I tried location.href but the new page was added to the history.

    Thanks
    Last edited by mystix; 22 Aug 2007 at 8:43 AM. Reason: moved to Help from General

Posting Permissions

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