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.

Another problem with jquery and lightbox (IE only)

Featured Replies

Hi I have now come across another problem with my site, I am using a jquery slideshow for my banner and also using lightbox 2.04. I had a conflict with the two before which stopped my slideshow from working, this was fixed by

var $j = jQuery.noConflict();


function slideSwitch() {
   var $jactive = $j('#slideshow IMG.active');

 

the two worked in harmony, great fix! however now I have added more photos to the cue for the slideshow, adjusted the selection to

var $jsibs  = $jactive.siblings();
   var rndNum = Math.floor(Math.random() * $jsibs.length );
   var $jnext  = $j( $jsibs[ rndNum ] );

. I thought everything was fine when using Google Chrome as it is fine! :aggressive: however lightbox has stopped functioning in IE 7,8 havnt tested other browsers of yet, just when I thoght everything was all finished typical!! please help asap as its for my A2 media coursework deadline a week today :unsure: cheers!

  • Author

no i don't as it is offline, and I cant upload links until iv'e made 25 posts apparently! but I can hapily give/upload js/html files in question

  • Author

Hi I have now fixed the problem! Having already used the conflict script once I decided to change to a jquery driven lightbox. In the end I went for slimbox2, this is directly compatible with lightbox, same effect etc, just using jquery1.3 upwards. also no need to change rel tags! big bonus

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.