Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Drop down menu help

Featured Replies

So i'm trying to make my website have this type of drop down.. http://www.uci.edu/

They made it so that you have to click on the sub categories before showing it down(which i think is cool)

 

So I have it so that it will drop down, but when you hover over each category, it will automatically drop down each submenus, and I am at a stall as to figure out how they did it.

 

Any tips?

You can do it with javascript or jQuery; Google for "Expand/collapse paragraphs" or "show/hide paragraphs".

 

See a simple example item 8 here:- http://www.wickham43.net/javascript.php

 

It looks like they have used jQuery in one of these files

<script src="scripts/iepngfix_tilebg.js" type="text/javascript"></script>
<script src="scripts/search_uci-v4.0.js" type="text/javascript"></script>
<script src="scripts/spotlight_uci-v3.0.js" type="text/javascript"></script>
<script src="scripts/jquery-1.js" type="text/javascript"></script>
<script src="scripts/ddaccordion.js" type="text/javascript"></script>
<script src="scripts/menu_init.js" type="text/javascript"></script>
<script src="scripts/index_col_height.js" type="text/javascript"></script>

 

probably the accordion

http://www.uci.edu/scripts/ddaccordion.js

You can "just code it in", with javascript and jQuery you normally have a .js file which you have to link in the head section like a separate stylesheet and then code the html markup as instructed. For the simple javascript example, see http://javascript.internet.com/miscellaneous/expand-collapse-paragraph.html

 

and make sure your computer has Javascript/ActiveX enabled.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.