Results 1 to 3 of 3

Thread: Omni Slide Menu Question

  1. #1
    Join Date
    Dec 2006
    Thanked 0 Times in 0 Posts

    Exclamation Omni Slide Menu Question

    1) Script Title: Omni Slide Menu

    2) Script URL (on DD):

    3) Describe inquiry:

    I'm using the Omni Slide Menu. I was wondering if it would be safe to substitute a URL for another script (e.g. a script inside a script).

    Say I have a hit counter. I was wondering if I could place that inside the menu so people could just roll over the menu to have it drop down and show them the counter, along with some links.

    Is this possible, or would I need to keep the hit counter in the HTML coding of the page?

    Example: file menuItems.js (partial)

    * This coding is for example purposes only, do not attempt to
    * post this code on your own personal website.
    * --
    * Please keep this notice intact for legal use
    * Copyrights to the Omni Slide Menu go to John Davenport Scheuer
    * Parts of this example were found at

    //something like this:

    ["<script>put script coding here</script>", "URL TO DESIRED WEBSITE", ""]

    //end example
    Last edited by BMHSGamers; 12-08-2006 at 02:48 PM. Reason: Putting the example code in and correcting a very blatent spelling error :)

  2. #2
    Join Date
    Mar 2005
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries


    I'm not entirely clear on what it is that you want to do. Mostly because I see no actual code. The concept seems simple enough, unless I've misunderstood.

    If you want your counter to slide into view. It would be easier to just set up a sliding container for it than to try to adapt the menu. On the other hand, if you want the counter as a part of the menu, along with normal links, that should be able to be worked out.

    The menu is just a special bit of movable HTML code. It would probably be easiest if the code for your counter were elsewhere, with only the presentational part of it inserted into the menu.

    In menuItems.js, here is where presentational code is inserted:

    menuItems:[ // REQUIRED!!
    //[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
    ["Menu"], //create header
    ["Dynamic Drive", "", ""],
    ["What's New", "",""],
    ["What's Hot", "http://www.dynam . . .
    A span could be inserted in place of a header or link text (the name field) as a container for the presentational portion of another script.
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2007
    Thanked 0 Times in 0 Posts


    Dear John,

    Im Selvan from Bangalore in India. I seen ur Omni Slide menu. It's wonderful. and I tried to use that menu in my project. But, In my project that Omni Slide menu is going back... ie.. that Menu is not coming as Always Top.....

    Could you help me.... ? Thanx in Advance

    Selvan S


Posting Permissions

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