• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Help with jQuery Overlay Menu

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have to develop the screen like below where B section have some subsections(B1,B2,B3).When I hover/click on any of them(say B1) a menu with options like B1.a, B1.b, B1.c should appear over the A section part. This should be like an overlay masking the background (section A here) and when I click outside the menu options the menu should collapse.


I started with JQuery's menu, but not sure how to acheive the overlay part.
Any suggestions on how should I go with it.

Thanks!!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hrithik khurana wrote:I started with JQuery's menu...



Neither jQuery core nor jQuery UI have a menu widget, so I assume you are asking about a specific plugin? If so, it'd be a good idea to let us know which one.
 
Kishen Singh Punjabi
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bear Thank You

MyScript


My HTML


And I would like to remove the arrows from the menu.Please suggest if I can use any other approaches. Thanks in advance.
 
Ranch Hand
Posts: 258
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those arrows could be removed using css

or simply

However, if your page contains other ul which may lose the styling as well.
So it would be better to assign css class to those ul in your menu and apply the styling on the css class.
 
Kishen Singh Punjabi
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raymond,

This do not work.


Is this because i have included the css file
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
 
Kishen Singh Punjabi
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How can I overwrite the css from the inbuilt css file.

How to remove arrows change background of the menu and some more changes..
 
reply
    Bookmark Topic Watch Topic
  • New Topic