Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    86

    Menu's...why does this happen..

    Hi guys. Hows it going folks...

    Done a few projects now and i feel myslef learning all the time. AMS just keeps getting better,for me any how.
    Butttttttt..

    Menu's. mmmmmmmm

    Two things about them.

    When you make a "tblMenu" no "submenu's" the first selection works a treat.
    lets say
    tblMenu[1].ID = 1 does a page jump.Works a treat

    you add a SubMenu
    lets say
    tblMenu[1].SubMenu[1].ID = 2 This also does a page jump,but to a different page.

    All of a sudden
    tblMenu{1].ID = 1 does not page jump. Click on it and the submenu appears.
    Yes i know thats what we want.
    Buttttt

    Is there a way to make the first menu still page jump as well as the submenu page jump.
    Or is that not possible.

    While i'm here.

    Writing the menu script.
    there is "On Preload" and "On Show"

    does the menu script have to be on one or the other or indeed on both.
    If just on one there seems to be a very very slight delay when the page is shown. Write the script to both the delay is gone.
    but that means a lot of script writing, copy/pasting one into the other.
    How does anybody else do it ?
    On Preload ?
    On Show ?
    on both ?


  2. #2
    Join Date
    Apr 2006
    Posts
    127
    I don't know if there is a way to do that, but maybe it would startle your Users anyway......

    Concerning your second question, should never be both (never be duplicated). I have found that sometimes code does not get executed on preload, but does on show. So try on preload first, if it fails then on show is the next best (might be that you have several actions and only some need to be in the on show event, the rest in the on preload event).

  3. #3
    Join Date
    Sep 2008
    Posts
    86
    Quote Originally Posted by IdeasVacuum View Post
    I don't know if there is a way to do that, but maybe it would startle your Users anyway......

    Concerning your second question, should never be both (never be duplicated). I have found that sometimes code does not get executed on preload, but does on show. So try on preload first, if it fails then on show is the next best (might be that you have several actions and only some need to be in the on show event, the rest in the on preload event).
    Thanks or the info...

Posting Permissions

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