Jquery :: Image Slider Not Sliding In Chrome

Feb 16, 2011

The script is written in Jquery, it's a simple piece of code which I've seen on another website here [URL]. I modified the code a bit to work with a website I made for my portfolio. The problem with the code is that is works fine in firefox but it doesn't on chrome. the code doesn't break entirely but on chrome the images doesn't slide, it just jumps from image to image. here's the code

Code:
var settings = {
startingPosition : 0, //--------------------------------set starting position for images, 0 for first image
slideSpeed : 550, //---------------------------speed of slide, seconds/fast/slow
easing : 'linear', //-------------------------easing type
navigationClass : 'slider_navigation', //--------------class of navigation (the prev and next)
activeItemClass : 'slider-current-active-element', //--name of class to be added to first element
repeat : true, //-----------------------------make gallery neverending .....

Most of it works fine but I'm guessing the animate part in the problem
Code:
//the slide animation
elContainer.animate({
'marginLeft' : animateToWidth
}, opt.slideSpeed, opt.easing,
function(){
//if forward is clicked
if(opt.repeat && direction == 'forward'){
$("> :first", elContainer).appendTo(elContainer).css({opacity : 0}).animate({opacity : 1}, 400);
elPosition += imgWidth;
elContainer.css({
'marginLeft' : elPosition
});}

Here's the dummy site I made [URL]. I'm no expert on javascript so how to make the code better?

View 6 Replies


ADVERTISEMENT

JQuery :: Slider Not Sliding In IE9?

Apr 8, 2011

I have use the following Jquery plugin selectToUISlider on my web site which has worked fine in IE8,FF, Chrome however when viwing the same site in IE9 the slider doesn't slide when using the mouse to drag the slider. I can still click on each value and the slider will move/jump to the required value. I've debugged the javascript in both FF and IE9 and I can see that in IE9 the slide event doesn't get fired, where in FF it does.

unfortunatly I don't have external web access on a machine with IE9 to try the slider demo pages out to ensure that the demos work in IE9.

View 4 Replies View Related

JQuery :: Sliding Box Moving In IE And Chrome?

Aug 24, 2009

When you click on it it hides the panel. All good so far. It works exactly how I want it to in FF, but in IE7, IE8 and Chrome it jumps to the top of the screen when animated.I'm positioning it at the bottom with CSS. Do I need to add another CSS positioning for when it is animated, or is there something up with the javascript?

View 1 Replies View Related

JQuery :: Sliding Text After Image Click?

Feb 2, 2011

I am very new to jQuery and am trying to learn by incorporating and editing things I have done in tutorials into an actual website design.

The problem I am having is how to get some text to slide down from behind an image after it is clicked. So for instance; I'd have an image which says "Things to do" or whatever then when the image is rolled over/clicked some text will slide down from behind the image with links to pages of different things to do.

I think it might be something like what was done in this tutorial: [URL]..but that tutorial uses two images rather than an image and a div with text in it which is what I am trying to achieve.

[Code]...

View 8 Replies View Related

JQuery :: SlideToggle()'s Parameters Were Expanded To Include A Separate Callback For Sliding Up And Sliding Down

Sep 13, 2011

If slideToggle()'s parameters were expanded to include a separate callback for sliding up and sliding down. Or for backwards compatibility, perhaps include an optional boolean parameter in the callback to more easily discern between a slideUp and slideDown operation.

View 1 Replies View Related

Jquery :: Sliding Content - Image Scroll Up To Show Bottom

Apr 7, 2011

I thought this would be easy but I'm stuck and I can't describe what's really simple so I've drawn a diagram. [URL]. I have a div containing an image like 1 in the diagram. I only want to show the top of the image like 2 in the diagram. When I hover over the div I want the image to scroll up to show the bottom of the image like 3 in the diagram. [URL].

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL]">
<html xmlns="[URL]" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>untitled</title>
<style type="text/css" media="screen">
*{
margin:0;
padding:0;
}
#wrap{
margin:50px;
width:700px;
}
ul{
list-style:none;
}

</style>
</head>
<body>
<div id="wrap">
<ul>
<li><a href="#" id="one"><img src="img.gif" width="250" height="200"/></a></li>
</ul>
</div>

<script src="[URL]"type="text/javascript"></script>
<script>
$('li').hover(function(){
$(this).find('img').animate({top: + (-200) + 'px'},200);
})
return false;
</script>
</body>
</html>

View 2 Replies View Related

JQuery :: Cannot Get Image Slider To Work

Nov 11, 2011

I am trying to use a program called WOW Slider, found at [URL] It's supposed to create a slider pretty easily.

I can get the slider to work great on my local machine, but when I uploaded it to my host server, it does not work.

Obviously I do not have things in the correct directories?

I have a test page of my output that's live, that you can see.

I'm asking a lot, but this slider was the icing on the cake for a site redesign that I've been working on for months. I'm sad that I have hit a glitch this close to launching. Grrr.

View 4 Replies View Related

JQuery :: Image Overlap In Slider?

Feb 12, 2010

I've built this slider, but I can't get it to line up. The link is [URL]...

View 2 Replies View Related

JQuery :: Image Slider In IE Won't Align?

Mar 15, 2011

take a look at this link for me? For some reason this works perfectly in everything but IE.I am sure there is some simple fix for this alignment issue, I just can't figure it out

View 1 Replies View Related

JQuery :: What Image Slider With Tabs

Jan 17, 2011

It's like for page top area where you can have multiple pictures and at the sides you have vertical text links to slide in that next image. Image explains. If you have seen this and know it's name

View 1 Replies View Related

JQuery :: Image Slider Won't Align In IE?

Mar 15, 2011

Trying to set up a simple slider and it works perfectly in everything but IE. Every time I reset the x/y coordinates it looks different in every browser.

View 6 Replies View Related

JQuery :: Make An Image Clickable In Its Slider?

Nov 2, 2011

New to jQuery.

I have a jquery slider in use on my site;[url]. (at the top of the page), and have a very simple question for you.

How do I make each slide image a clickable image? I'd like to link each separate slide to it's own [url]..

View 15 Replies View Related

JQuery :: Image Slider - How To Start With First Element

Feb 2, 2011

I created that function for an image slider:
$(document).ready(function(){
$("#gallery").click(function(){
$(this).find("li.third").fadeOut(800).removeClass("third").next().addClass("third").fadeIn(800);
$(this).find("li.second").fadeOut(800).removeClass("second").next().addClass("second").fadeIn(800);
$(this).find("li.first").next().addClass("first").fadeIn(800); $($(this).find("li.first")[0]).removeAttr("class").hide().appendTo($(this)).fadeIn(800);
});
});

Actually I want to fade in the first picture first. Than the second and at the end the third. To achieve that I changed the order of these following three lines:
$(this).find("li.first").next().addClass("first").fadeIn(800);
$(this).find("li.second").fadeOut(800).removeClass("second").next().addClass("second").fadeIn(800);
$(this).find("li.third").fadeOut(800).removeClass("third").next().addClass("third").fadeIn(800);Unfortunately it doesn't work.

View 2 Replies View Related

JQuery :: Image Slider Not Working In New Page?

Jan 10, 2012

I have a working version of a jQuery image slider that can be seen here. I am trying to implement this into a new website and have copied the code exactly but for some reason the images are not rotating or switching when the thumbnails are clicked. The new slider can be see here - I have it in a test page so that there is no possibility of any other scripts conflicting.

View 2 Replies View Related

Image / Text - Sliding Semi-transparent Text Layer Over A Thumbnail Image When Hover

Jul 5, 2009

I've been looking all over the place in order to find a script like they use on Foliostars, where you see a sliding semi-transparant text layer over a thumbnail image when you hover. how to achieve this using JS or an Ajax framework (preferably JQuery)?

View 2 Replies View Related

JQuery :: Create A Stop Point In Image Slider?

Jun 30, 2011

I have a client request I need a little advise on with an image slider.Client says;"There will be 4 photos that roll over two times each then stop on the Home Page photo then opens a text box over the left of the image"The part I'm not sure how to do is how to set the slider to stop on the Home Page image after the 4 images go through the animation two times.

View 2 Replies View Related

JQuery :: Customer Image Slider Broke After Version 1.4.1?

Nov 30, 2011

I'm using this jQuery slider code that my coworker and I manipulated so that 3 images slide at a time. It worked great till we updated our jQuery to 1.6.2 from 1.3.2 (we were going to go with 1.7.1 but now that we've encountered this problem we have to hold off). I went all the way back to 1.4.1 and it works okay but not as bad as the latest versions.

I included ALL the code. You can literally copy this whole thing into a blank page, save it and test it. It's not really working as expected right now. It doesn't slide all the way back to 1 and there's an empty slide after 9. I will work with my coworker to debug it more but I want to know why versions 1.4.3 through 1.7.1 break it.

<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.1.min.js" language="javascript" type="text/javascript"></script>

[Code].....

View 2 Replies View Related

JQuery :: Excellent Image Slider With Selection Options?

May 25, 2009

I'm looking to create a small area that contains images of my work, similar to how Internet Dreams have theirs set up [URL].

I want the images to slide across, but there also be the option to select a particular slide, same as the example above.

View 2 Replies View Related

JQuery :: IE Not Supporting Image Slider And Lavalamp Menu?

Aug 9, 2010

I have included image slider and lavalamp menu in one of my projects. The problem here is both works well in Firefox. But not working in IE. I have included easing for the jquery.

View 2 Replies View Related

Jquery :: Image Slider - Using InnerFade To Scroll Pics

Oct 18, 2009

I am a new designer trying to slog my way into using some of the neat tools available out there. I want to use a image slider I found called InnerFade. [URL]. I am using a ul with <a> and <img> in them and I want it to scroll from pic to pic.. this all seemed so easy when I started but I cannot see where I went wrong..

Header:
Code:
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.innerfade.js"></script>
<script type="text/javascript">
$(document).ready(
function(){
$('ul#slideshow').innerfade({
speed: 1000,
timeout: 5000,
type: 'sequence',
containerheight: '400px'
});});
</script>
UL:

Code:
<ul id="slideshow">
<li>
<a href="grills"><img src="slideshow/gold1.jpg" alt="gold series grill" /></a>
</li><li>
<a href="grills"><img src="slideshow/plat1.jpg" alt="platinum series grill" /></a>
</li><li>
<a href="grills"><img src="slideshow/diamond1.jpg" alt="diamond series grill" /></a>
</li>
</ul><!-- end of ul slideshow -->

Img are 400px height 900px width btw...although they do have a 18px top padding but I have tried doing 418px containerheight to no avail either..

View 1 Replies View Related

JQuery :: Image Slider - Hover Effects At Top Of Page

Dec 1, 2010

How to reproduce this effect in something like JQuery? Specifically I'm looking at the hover effects at the top of the page: [URL]. It looks like a custom JS file from their end, but I'd like to find something a little more mainstream that looks and acts very similarly, especially with the easing in and out of images.

View 4 Replies View Related

JQuery :: Image Slider - Thumbnails Navigation Gallery

Sep 10, 2011

I came across this awesome image slider: Thumbnails Navigation Gallery with jQuery. The problem is ..you have to click on "best shots" to see the thumbnail navigation...
1) How do you show this thumbnail navigation straight away on loading the page? (ie "best shots" and other list items dont need to be there)
2) and get the thumbnails show near the bottom of the page?
3) and also get the next image to fade in automatically say after 5 seconds, without having to click on a thumbnail, although one can?

View 5 Replies View Related

Jquery :: Image Slider - Load Content Asynchronously

Dec 21, 2011

I have created a site that my friends and I are using and Im trying to implement a simple image slider.

I can do this without any issues in its simplest form. The issue though is that there are 10 people posting pictures and the site displays their last 6. What I want to do is create a button after each row that allows the user to scroll through that users pictures, but i dont want to preload all images first as this will make the page slow.

This image shows what I maen - the black arrow would make that particular row scroll right - loading images as it went.

[url]

View 4 Replies View Related

Sliding Content - Show The Top Of The Image Like 2 In The Diagram

Apr 7, 2011

I have a div containing an image like 1 in the diagram I only want to show the top of the image like 2 in the diagram When I hover over the div I want the image to scroll up to show the bottom of the image like 3 in the diagram It seems really simple but I'm completely stuck

[Code]....

View 1 Replies View Related

JQuery :: Activate Image Slider After Ajax Content Is Loaded?

Jun 20, 2011

I want to activate an image slider that is placed in a div loaded through an Ajax request. I'm using the JQuery Plugin Anythingslider. I've tried to use code similar to this without success:[URL].. The slide script works if loaded together with main page.But how do I activate a slider placed in a div that has been loaded through an Ajax request?

View 3 Replies View Related

Simple Sliding Image Gallery With Mouse-over Navigation?

Mar 17, 2009

I'm looking for a super-simple sliding gallery plugin that would produce something similar to this: http://labs.paulicio.us/viewport/ .The only thing is I'd like there to be no visible "next" and "previous" type button until the user mouses-over the gallery. I KNOW I've seen this somewhere but it appears I forgot to bookmark it!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved