Results 1 to 3 of 3
  1. #1
    marcusio is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Question Loading time for a menu

    Although I know how to manipulate scripts from having taught myself web design, I can't say that I fully understand the mechanics. Hopefully this question is in the right place, but if not, I apologize now. :)

    I created an exandable menu for my website and the problem is that while it is loading, the menu is expanded for the first few seconds and then it goes into its collapsed form. I have tried to make a link to it so that you can see exactly what I mean, however the forum will apparently not allow me to post a link until I have at least 20 posts. I could type it out differently and get it to appear, but the admins probably won't like that.

    So without seeing an example, does anyone know if there is a way for the menu to load such that it does not expand while loading? Do I need some sort of preloader to hide it for those first few seconds? I know there are preloaders for images, but I could not find anything about preloaders for scripts.

    Any thoughts?

    Thanks,

    M

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    are you referring to JavaScript and not Java? If so, you will have better luck getting a decent answer at a JavaScript site. There are plenty out there and Google will sure show you the way. Good luck.

  3. #3
    marcusio is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default

    Thanks for the quick response. And yes, it's about Java Script (which shows you how little I know about this stuff). I'll give it a try elsewhere.

    Cheers!

Similar Threads

  1. Fill a menu dynamically when menu is shown
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 05:47 PM
  2. How to use SWT menu and menu event
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 05:46 PM
  3. React to menu action and checkbox menu
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 08:50 PM
  4. Replies: 7
    Last Post: 05-09-2008, 08:54 AM
  5. How can I set a time out on the loading process
    By paul in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 05:54 AM

Posting Permissions

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