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.

TexasWreckShop

Members
  • Joined

  • Last visited

  1. Hi everyone, this is my first post so a little about myself. I'm a 23 year old Web Designer studying at Arizona State University and I live in Tucson, AZ currently working for an international spa & pool company as their web admin and print designer. I have a website I am working on where I have implemented a Jquery slider with 5 images at 900px each in action here the thing displays fine in Firefox (big surprise there) but in I.E the last image in the group is being pushed under the rest and thus not displaying. Also, the images are not sliding into place and the previous jpg is visible when I slide over, any help would be greatly appreciated. Below is the relevant html & css <div id="top"> <div class="window"> <div class="image_reel"> <a href="#"><img src="images/slide1.jpg" alt="" width="900" height="300"></a> <a href="#"><img src="images/slide2.jpg" alt="" width="900" height="300"></a> <a href="#"><img src="images/slide3.jpg" alt="" width="900" height="300"></a> <a href="#"><img src="images/slide4.jpg" alt="" width="900" height="300"></a> <a href="#"><img src="images/slide5.jpg" alt="" width="900" height="300"></a> </div> </div> <div class="paging"> <a href="#" rel="1"></a> <a href="#" rel="2"></a> <a href="#" rel="3"></a> <a href="#" rel="4"></a> <a href="#" rel="5"></a> </script> <script> $(document).ready(function() { //Set Default State of each portfolio piece $(".paging").show(); $(".paging a:first").addClass("active"); //Get size of images, how many there are, then determin the size of the image reel. var imageWidth = $(".window").width(); var imageSum = $(".image_reel img").size(); var imageReelWidth = imageWidth * imageSum; //Adjust the image reel to its new size $(".image_reel").css({'width' : imageReelWidth}); //Paging + Slider Function rotate = function(){ var triggerID = $active.attr("rel") - 1; //Get number of times to slide var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide $(".paging a").removeClass('active'); //Remove all active class $active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function) //Slider Animation $(".image_reel").animate({ left: -image_reelPosition }, 1200 ); }; //Rotation + Timing Event rotateSwitch = function(){ play = setInterval(function(){ //Set timer - this will repeat itself every 3 seconds $active = $('.paging a.active').next(); if ( $active.length === 0) { //If paging reaches the end... $active = $('.paging a:first'); //go back to first } rotate(); //Trigger the paging and slider function }, 7000); //Timer speed in milliseconds (3 seconds) }; rotateSwitch(); //Run function on launch //On Hover $(".image_reel a").hover(function() { clearInterval(play); //Stop the rotation }, function() { rotateSwitch(); //Resume rotation }); //On Click $(".paging a").click(function() { $active = $(this); //Activate the clicked paging //Reset Timer clearInterval(play); //Stop the rotation rotate(); //Trigger rotation immediately rotateSwitch(); // Resume rotation return false; //Prevent browser jump to link anchor }); }); </script> </div> </div> .window { height:300px; width: 900px; overflow: hidden; /*--Hides anything outside of the set width/height--*/ position: relative; } .image_reel { position: absolute; top: 0; left: 0; width: 900px; } .image_reel img { float: left; } /*--Paging Styles--*/ .paging { position: relative; bottom: 0px; right: -690px; width: 250px; height:30px; z-index: 100; /*--Assures the paging stays on the top layer--*/ text-align: center; line-height: 50px; display: none; background-repeat: no-repeat; top: -40px; } .paging a { padding: 12px; text-decoration: none; background-image: url(images/paging1bg.png); background-repeat: no-repeat; background-position: center; } .paging a.active { -khtml-border-radius: 3px; -webkit-border-radius: 3px; background-image: url(images/paging2bg.png); background-repeat: no-repeat; } .paging a:hover { font-weight: bold; background-image: url(images/paginghover.png); }

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.