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.

image gallery question

Featured Replies

Hello everyone,

 

I just want to ask a quick question, I probably already know the answer but I just want my thoughts confirmed by those more experienced!

 

I came across this gallery that I want to use on my portfolio website:

 

http://coffeescripter.com/code/ad-gallery/

 

To add it to my site, do I just copy the css code into my current style sheet, the html into my own html and add the .js code onto my html file? There is a file called jquery.ad-gallery.pack.js too, do I add that to my html code too or should I be leaving them external?

 

I know I'm probably being dumb but I just want to make sure I am doing the right thing instead of making a mess of my current code.

 

THANKS!!

I would leave as much external as possible. I usually keep as much of my jquery stuff out of my own as possible. That way if I change my mind its easy. Also it can make for a really long stylesheet which is harder to navigate if you add other things afterward.

 

Basically add and incorporate the HTML bit (using you own images etc. of course) and attach the rest externally. Looking at the source of the demo page is usually helpful.

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.