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.

TheTrooper

Members
  • Joined

  • Last visited

  1. Hi All, I have a simple JavaScript code (below). When I click a text link "active" is CSS class that changes the background to a grey colour. Awesome. However, I'm not sure how to set it so when it is clicked again if the hgrey colour is active to set it to default? Any ideas? $(function () { $("#drop_down a").click(function (e) { e.preventDefault(); $("#nav li a").addClass("active").not(this).removeClass("active"); $("active").toggle(); }); });
  2. It doesn't look like it. This is what is in the js file if that helps. http://bootstrapdocs.com/v2.0.3/docs/assets/js/bootstrap-carousel.js
  3. Hi all. I'm having a problem with a carousel. Not sure why it's not working. Can anyone spot what's going wrong? <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Homepage</title> <!--<link rel="stylesheet" href="styles/style.css">--> <link rel="stylesheet" href="styles/bootstrap.min.css"> </head> <body> <div class="container"> <div class="navigation"> </div> <div class="content"> <!--Content start--> <div id="carousel-example-captions" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-captions" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-captions" data-slide-to="1"></li> </ol> <div class = "carousel-inner"> <div class = "item active"> <img src = "images/beach.jpg" alt = "beach" class = "img-responsive"> </div> <div class = "item"> <img src = "images/red.jpg" alt = "red" class = "img-responsive"> </div> </div> <!--carousel end--> </div> <!--content end--> </div> <div class="homecont"> Content </div> <div class="footer"> <!--footer Start --> footer <!--footer end --> </div> <!--Container end --> </div> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="js/bootstrap.js"></script> </body> </html> Images are attatched. Video is below for anyone else that wants to learn and have a go. https://www.youtube.com/watch?v=R0nkkXkrby0 Any ideas?

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.