Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Browser Back button

  1. #1
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Browser Back button

    Hi all,

    I am fairly new to web-development. While developing an internal web-site i created two pages with menu, one of them is parent menu page (left menu) which nevigates to the another page with tree menu.

    Problem is that I couldn't show the page with tree menu as part of the master frame i.e where the other pages normaly appear, so I set the target = _top. This means that the page with tree menu actually takes place of the parent page. Now when I click back it doesn't go to the parent page but stay on the same page.

    Does any one know a good solution to this apart from the home button that I created, which navigates to the parent page?

    It will be great if some one could tell the way to go back to the home page using the standard browser back button.


    Regards,

    Sameer.
    Last edited by SameerMirza; 04-06-2009 at 05:03 PM.

  2. #2
    Join Date
    Apr 2009
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Will you post a link to your page?

  3. #3
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I dont think I can as it is an internal web, not access-able externaly atleast I dont know the way. :/ but as I mentioned the tree menu page actually comes on top of the home page. I am not 100% sure but i think it has somthing to do with it that I cant use the back button to get back to home page.

  4. #4
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by SameerMirza View Post
    I dont think I can as it is an internal web, not access-able externaly atleast I dont know the way. :/ but as I mentioned the tree menu page actually comes on top of the home page. I am not 100% sure but i think it has somthing to do with it that I cant use the back button to get back to home page.
    Any idea guys? It is realy urgent for me, it will be great if some one could help me out with it.

  5. #5
    Join Date
    Apr 2009
    Location
    India
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You try to give a link to your page

  6. #6
    Join Date
    Apr 2009
    Location
    India
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also You try this

    <a href='javascript:history.back()'>back</a>

    This is history back process.

  7. #7
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi there,

    I wish I could send you the link. I asked some one in the team if it was possible but i guess not. I can explain the seranrio again. Basically I was trying to nest a tree menu in a standard left menu which i dont think is possible or even if it is, may not look pretty. So i decided to paste the link to the tree menu page in left menu. It wouldn't look good to open a menu in master frame so set the target = _top.

    To be honest this is my first web and I am not even sure that wether my idea of menu is good or not.

    I will be glad if some one could help me out.

    Thanks,

    Sameer.

  8. #8
    Join Date
    Mar 2009
    Location
    NJ, USA
    Posts
    32
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    <a href=\"#\" onclick=\"history.back();\">GO BACK!</a>

  9. #9
    Join Date
    Apr 2009
    Location
    India
    Posts
    41
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    you may give the url of site.........

  10. #10
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Adriel but as I have mentioned, I have created one back button but the Goal is to make the default browser back button to work.
    amutha- I know it would have been much easier if I could paste the link but it is not allowed and doesn't work either as it is an internal web.
    I don't realy know what information I can provide to help you guys answer.

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
  •