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.

Slide Button

Featured Replies

Hey

 

I am trying to put a slide section on my website,

 

What i am trying to do is have a button if i click then the image slides down to revel more info.

 

If someone can point me in the right direct to find out how to do this would be great.

  • Author

hi,

 

i have had a look at this and it is not what i need.

 

behind the more info button there is some information.

 

The page directed wants me to key the item each time, is there anyway of doing this and typing the code so its hidden and then when u click more info it drops to show the hidden, i thought there was a js script that did this without me having to key in every section

A simple solution, without the use of any complicated JavaScript will be he use of CSS pseudo elements behaviors, you don't be able to have any sliding animation but you will achieve to show the hidden information, otherwise you will need to deal with JavaScript:

 

HTML:

<a href="#">show text<span class="hiddenText">text</span></a>

 

CSS:

a:link .hiddenText, a:visited .hiddenText{ display: none; position: absolute; }

 

a:hover .hiddenText, a:active .hiddenText { display: block; }

  • Author

ok

 

that did not work.

 

what i am trying to do is something that has been done on this site, www.rhysbartless.com

 

when you click more info the image drops to revel text.

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.