Results 1 to 3 of 3

Thread: Loading script for a list from another file

  1. #1
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Loading script for a list from another file

    I am currently working on a project that can only utilise html, css and javascript...it has many windows and I have been struggling with the navigation menu.

    How do I set it up so that I can have one central file with the contents of the menu, and thus the ability to update all files at the same time??

    The code is:

    <html>
    <head>
    <link rel="stylesheet" href="C:\Documents and Settings\Petros\My Documents\WORK/styles.css">
    </head>
    <body>

    <div id="masthead4">
    <ul id="qm0" class="qmmc">

    <li><a class="qmparent" href="JavaScript:void(0);">Generic</a>

    <ul>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    </ul>
    </li>

    <li><a class="qmparent" href="JavaScript:void(0);">LCS</a>

    <ul>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    <li><a href="JavaScript:void(0);"></a></li>
    </ul>
    </li>

    <li class="qmclear">&nbsp;</li>
    </ul>
    </div>
    </body>
    </html>



    I want those two <li> lists to be in other files.

    How can I make IE go look for them somewhere else? without php etc?

    Any help would be muchly appreciated, i hope that makes sense?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone else??

    I am using pure CSS menus and when you mouseover the tabs a sub menu animates across. Thanks Blizzard but that didnt work :S

    ????

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
  •