Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get dropdown Jquery navigation menu to expand over web page elements [Basic]
    primarykey
    data
    text
    <p>I know this is a pretty basic question, but I don't know how to articulate what I want into a Google search to solve my problem.</p> <p>I am working on a website for a Non-profit, and I am currently using Jquery and CSS to create a dynamic dropdown navigation bar. The code + examples can be found here: <a href="http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/" rel="nofollow">http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/</a></p> <p>The Nav menu works great, however when the elements expand, the new content forces the rest of the content on the page to move down and it messes up the entire formatting of the site. Most websites usually just have the Nav bar elements expand OVER the rest of the page without modifying locations...</p> <p>here is the example code of what I am using:</p> <pre><code>&lt;ul id="cssdropdown"&gt; &lt;li class="headlink"&gt; &lt;a href="mine.html?search_engines"&gt;Search Engines&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://google.com/"&gt;Google&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://yahoo.com/"&gt;Yahoo&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://live.com/"&gt;Live Search&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li class="headlink"&gt; &lt;a href="mine.html?shopping"&gt;Shopping&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://amazon.com/"&gt;Amazon&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://ebay.com/"&gt;eBay&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://craigslist.com/"&gt;CraigsList&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>Then for the CSS:</p> <pre><code> li.headlink ul { display: none; } li.headlink:hover ul { display: block; } </code></pre> <p>Does anyone have any insight about what I might be doing wrong?</p> <p>Thank you!</p> <p>Dave</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload