Results 1 to 3 of 3

Thread: MM_preloadImages() displaying appropriate .gif on appropriate page

  1. #1
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default MM_preloadImages() displaying appropriate .gif on appropriate page

    I have been tasked to make the following javascript code work (again). The basic layout of this page has changed several times. For example, the addition of the 'stewlist' menu item and subsequent pages.
    The idea was to get this page to preload the mouse over graphics on page load...And when you would use the side navigation and click the desired link, it would stay in its mouse-over state for that page. In my should look like example, you will see 'stewlist.'

    The webpage
    javascript used

    The image rollover effect works. What needs to happen is the roll over image needs to stay in its roll-over state for the corresponding page...
    image



    why did this work a while ago and not now?
    only added a new _omo.gif, new directory (stewlist). Pages went from .html to .shtml...does this matter?

  2. #2
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default more important information

    On further inspection, its probably not the above listed javascript...

    Its more likely to be located in the <body onload="bleh"> tag.
    This tag is found on every page on the website dir tree. Each page has its own corresponding folder. Each folder has an includes folder (../inc)

    The navigation menu can be found here for the main page: navigation menu

    Does this included menu that is loaded need to have an exception for each directory so it will know which _omo.gif to display for THAT page? In other words, the menu.inc file for the stewlist would be located in /stewlist/inc and have a slightly different mark up than that of the join page (/join/inc/menu.inc)?
    This would make sense, but I still dont know how to go about it.

  3. #3
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    got it.
    it was as simple as updating the /inc/menu.inc for each subdir

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
  •