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.

wrf01a

Members
  • Joined

  • Last visited

  1. Someone on stackoverflow.com answered my question. They explained that one image has to fade completely out before the other fades in. Its called "white flash" yes it has a name. They told me how to correct the problem so I have some work to do.
  2. I use a background image slider to rotate between two background images. I works but there is one problem. When it switches between the two images, there is a point where the screen is white. Yes its only a spit second, but it would be nice if one image fades in as the other fades out. What can I do to fix this problem. $(document).ready(function(){ var imgArr = new Array( 'images/home/background_image_1.jpg', 'images/home/background_image_2.jpg' ); var preloadArr = new Array(); var i; /* preload images */ for(i=0; i < imgArr.length; i++){ preloadArr[i] = new Image(); preloadArr[i].src = imgArr[i]; } var currImg = 1; var intID = setInterval(changeImg, 20000); /* image rotator */ function changeImg(){ $('#background-image').fadeOut(1500, function(){ $(this).css('background','url(' + preloadArr[currImg++%preloadArr.length].src +')') .css("background-position", "center").css("background-repeat", "no-repeat").css("background-size", "cover"); }).fadeIn(1500); } });

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.