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.

jaasum

Members
  • Joined

  • Last visited

  1. Okay, I have been searching online forever now on how to do this. How do you center an image within a div? I know how to do it with text but I cannot for the life of me find how to do it to an image.
  2. jaasum replied to Tander's topic in Frontend
    http://www.nickstakenburg.com/projects/lightview/ http://mjijackson.com/shadowbox/index.html There are some good ones, easy to implement too.
  3. jaasum replied to jaasum's topic in Frontend
    *sigh* Nobody can even give me a hint?
  4. jaasum posted a topic in Frontend
    http://www.stickmanlabs.com/accordion/ I am trying to implement this javascript into my website Their code is bloated with inline style sheets and multiple accordions. What I want is one simple vertical accordion with about four sections and an external style sheet. I can't get this to work nor do I know where to begin stripping down their code. What is required to make say - two simple accordions to work? Any help would be great appreciated, thank you! Below is my current code CSS .accordion_toggle { display: block; height: 30px; width: 800px; background: url(images/accordion_toggle.jpg) no-repeat top right #a9d06a; padding: 0 10px 0 10px; line-height: 30px; color: #ffffff; font-weight: normal; text-decoration: none; outline: none; font-size: 12px; color: #000000; border-bottom: 1px solid #cde99f; cursor: pointer; margin: 0 0 0 0; } .accordion_toggle_active { background: url(images/accordion_toggle_active.jpg) no-repeat top right #e0542f; color: #ffffff; border-bottom: 1px solid #f68263; } .accordion_content { background-color: #efefef; color: #444444; overflow: hidden; width: 800px; } #container { width: 800px; margin-left: auto; margin-right: auto; } And XHTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link rel="stylesheet" type="text/css" href="styles.css" /> <script type="text/javascript" src="javascript/prototype.js"></script> <script type="text/javascript" src="javascript/effects.js"></script> <script type="text/javascript" src="javascript/accordion.js"></script> <title>Website Title</title> </head> <body> <div id="container"> <h1 class="accordion_toggle">Accordion title 1</h1> <div class="accordion_content"> Content goes here 1 </div> <h1 class="accordion_toggle">Accordion title 2</h1> <div class="accordion_content"> Content goes here 2 </div></div> </body>

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.