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

Thread: HV Menu and 'Back link' issue

  1. #1
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default HV Menu and 'Back link' issue

    1) Script Title: HV Menu v5.5

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem: A menu build problem when using the back button when the active window is a internal iframe.

    Best way I could describe it... other than please visit.
    http://myweb.tiscali.co.uk/design_jo...URGH/index.htm

    Click the 'Expand Content x2' button
    then use the browsers Back button.
    The menu does not redraw....

    How do I address this issue ? ....something to do with cookies ? or somehow trigger the menu to rebuild somehow...

    I cant think how to enable it to do it... and don't have the knowledge to alter the code.

    Any help much appreciated.
    Jon

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    I downloaded your site and noticed that the problem does not occur offline.
    I also noticed that if you do a page-reload after 'expand & back', the menu reappears.
    Doing 'target="_top"' instead of 'target="_parent"' (for the expand) might help.

    Anyway, the HV menu does sometimes have problems when frames are used. See here for a possible solution ('normal' HV-menu for frames).

    Arie Molendijk.

  3. #3
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the feedback...

    _top

    did work but also disabled the double expand feature of the site.

    Can the menu be set to auto refresh or would this result in a flicker ?

    Or can it be refreshed each time any hyperlink is selected ? As the menu code is independent of the page frames could this work ? If so.... I have no idea how to do it

    Thanks for reading
    John

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    href="javascript:void()" onclick='top.location.href="content_index.htm"', maybe?
    ----
    Arie.

  5. #5
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for coming up with that but its also not working.

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Another try:
    Put this in the head of your pages:
    Code:
    <meta http-equiv="cache-control" content="no-cache"> <!-- tells browser not to cache -->
    <meta http-equiv="expires" content="0"> <!-- says that the cache expires 'now' -->
    <meta http-equiv="pragma" content="no-cache"> <!-- says not to use cached stuff, if there is any -->
    Arie.

  7. #7
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Sorry. no. It did not work again.

    I have 3 frames making up a page and I put it in the head of all 3 with no success.

    The trouble seems to be that expanding the frame boots the menu out of the browser, so when you use the back button its not there to view. It needs to be reloaded someway.

  8. #8
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I put in a background image (behind the menu) to let the user know to refresh the browser.

    Its not ideal, but its the only think I can can think of.

    typically IE draws the menu one pixel left and FF one pixel right so its difficult to get it looking good in both...

    http://myweb.tiscali.co.uk/design_jo...URGH/index.htm

  9. #9
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Or you could perhaps put something like 'to enable main menu click here', where 'here' is supposed to do the same thing as the 'return to main menu'-link to the right.
    ---
    Arie.

  10. #10
    Join Date
    Jul 2006
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks.... even better and so simple - Although I did not think of it !...,.. I will put something like that in.

    I noticed someone else having a problem with the positioning of the HV menu across browsers. I also have this which is screwing up the graphic integration.....

    For example I have a background image at the moment that blends perfectly with the menu in IE but it miss aligned in FF

    Is there any way to draw a header and footer image at the top and bottom of the HV menu ??? so I don't have to draw an image underneath it ?

    Im trying different image commands in the HV JS files but don't actually have a clue what's going on....


    document.images["images/header.jpg"] ...............possibly ??????????????



    Thanks.
    Last edited by its_jon; 04-13-2008 at 11:21 AM.

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
  •