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.

Div Appear

Featured Replies

Hi,

 

I am trying to make a menu bar where when you click on a link it gives you more options. There is a problem though. When I click on a link it gives me more options but the only problem is when I click on another link the options from the first link stay there and more appear. How can I get it so when you click on link 2 it only shows the options from link 2 and the first options dissapear.

 

Code -

 

<A HREF="java script:document.getElementById('1').style.display='block'; void(0);">Link 1</A> · <A HREF="java script:document.getElementById('2').style.display='block'; void(0);">Link 2</A>
<BR>
<div id="1" align="center" style="display:none;">Link 1 Options</div>
<div id="2" align="center" style="display:none;">Link 2 Options</div></font></div>

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.