This patch gives 2 placement options..

1) the ability to choose a CSS selector for jQuery to use to put the SimpleMenu in
2) the ability to choose to either prepend or append SimpleMenu to this CSS selector

CommentFileSizeAuthor
#2 simplemenu_placement_options.patch_2.patch3.22 KBAnonymous (not verified)
simplemenu_placement_options.patch3.08 KBAnonymous (not verified)

Comments

Anonymous’s picture

Status: Needs work » Needs review

oops.

Anonymous’s picture

StatusFileSize
new3.22 KB

another sweet addition to this..

instead of just append or prepend.. we now have replace.

i am using this to replace the current main navigation with simplemenu.

My css selector is #primary .

m3avrck’s picture

Status: Needs review » Fixed

Most excellent, only slightly modified commit. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)
theorichel’s picture

No matter which css selector I choose, the Simplemenu bar stays on top. I am working with a theme that has a banner in the middle (Channel Nine) which is 1 line lower than the top of screen and only 40% of screen width.
Any hints on how I can achieve this would be greatly appreciated.

Thanmks in advance.

TR

theorichel’s picture

Forgot to add: I would like to replace this banner with a Simplemenu bar.