View Full Version : Omni Slide Menu Question

12-08-2006, 02:40 PM
1) Script Title: Omni Slide Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm

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 DynamicDrive.com

//something like this:

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

//end example

12-09-2006, 03:22 AM
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", "http://www.dynamicdrive.com", ""],
["What's New", "http://www.dynamicdrive.com/new.htm",""],
["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.

01-31-2007, 08:55 AM
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