JQuery :: Using Content Slider With Auto-rotate, Need Pause Button?
Dec 30, 2009
I'm using jCarousel Lite to power a content slider on a site. It has been working great, but I now have the need for a pause button to pause the auto rotation of the slides. I'd like to attach the pause function to an anchor tag. This feature is not built into the plugin currently and my attempts to contact the author have failed.Here is the code on in my html...
1) Script Title: Ajax Tabs Content Script (v 2.2) and Featured Content Slider Using jQuery UI
2) Script URL (on DD): [URL]
3) Script URL of Featured Content Slider Using jQuery UI [URL]
4) Script URL of my implementation of both script. [URL]
5) Problem: I've integrated the featured content slider in one of the default content section of the tab menu as you can see on the link on point 4. The slider is working perfectly when until i click on other tab menu and then back tab menu 1. The slider seize to work no more and worst the other featured content slides are appearing below the first one.
After upgrading from 1.5.1 to 1.6.1 the auto-play feature of this slider speeds up. I'm using this code: [URL]. 4000 milliseconds is specified in the script if you view source, however, if you let the slider run for a few minutes(I haven't determined a consistent time frame for this) then the slider begins to change one after the next almost immediately without waiting 4 seconds. .attr() is used once in the script, but after reading the core teams suggestions regarding .attr() after upgrading to 1.6.1 it doesn't seem like I'm supposed to change anything.
Same problem with this slider which is from [URL] simple-jquery-image-slide-show-with-semi-transparent-caption: <script type="text/javascript"> $(document).ready(function() { //Execute the slideShow slideShow(); });
function slideShow() { //Set the opacity of all images to 0 $('#gallery a').css({opacity: 0.0}); //Get the first image and display it (set it to full opacity) $('#gallery a:first').css({opacity: 1.0}); //Set the caption background to semi-transparent $('#gallery .caption').css({opacity: 0.7}); //Resize the width of the caption according to the image width $('#gallery .caption').css({width: $('#gallery a').find('img').css('width')}); //Get the caption of the first image from REL attribute and display it $('#gallery .content').html($('#gallery a:first').find('img').attr('rel')) .animate({opacity: 0.7}, 400); //Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds setInterval('gallery()',6000); } function gallery() { //if no IMGs have the show class, grab the first image var current = ($('#gallery a.show')? $('#gallery a.show') : $('#gallery a:first')); //Get next image, if it reached the end of the slideshow, rotate it back to the first image var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery a:first') :current.next()) : $('#gallery a:first')); //Get next image caption var caption = next.find('img').attr('rel'); //Set the fade in effect for the next image, show class has higher z-index next.css({opacity: 0.0}) .addClass('show') .animate({opacity: 1.0}, 1000); //Hide the current image current.animate({opacity: 0.0}, 1000) .removeClass('show'); //Set the opacity to 0 and height to 1px $('#gallery .caption').animate({opacity: 0.0}, { queue:false, duration:0 }).animate({height: '1px'}, { queue:true, duration:300 }); //Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect $('#gallery .caption').animate({opacity: 0.7},0 ).animate({height: '100px'},500 ); //Display the content $('#gallery .content').html(caption);} </script>
I try to make a news slider with cycle plugin here's the structure //---------------------// <div id="myNewsDisplay"> <ul id="aContent"> <li>short text</li> <li>moderate text</li> <li>long text</li> </ul> <div id="aFooter"></div> </div> //---------------------// I want to make the #myNewsDisplay to animate height based on #aContent height the problem is that, everytime the news showing up at the beginning the height is automatically set by the last long text height. How to make the #myNewsDisplay height auto adjust the height of every news height?
What I am trying to do is create a slider that auto scrolls 3-4 images from right to left with no controls. And if the user hovers over it, it stops so they can read the content that is featured. Everywhere I search there are bunch of plugins i.e. easyslider, s3slider, etc. that have tons of code that is greek to me. I tried using the easyslider code and changing things around for it to do what I want, but I was unsuccessful.
I'm trying to code a play/pause button via Jquery and the Cycle plugin. I'm able to toggle between the two and the "resume" function works, but am not sure how to make the "pause" function work.
I'm trying to build a content slider with jQuery Cycle: [URL]
My code is here: [URL]
Basically I'm looking for a content slider with 4 slides, simple fade transition (1st slide fading in would be nice also), and each slide will link to a different page of my site. Basically this: [URL] (but with the addition of linked images...)
I'm trying to have JQUERY slider on one of my contents (story). I installed jquery_ui (replaced with jquery ui 1.7), jquery update and all the things neede (no red warnings about things to do with jquery - everything working fine). I made new story, set input format to "PHP code" and pasted following short code:"...Testing jQUERY slider
I'm using a very nice jQuery content slider called Easy Slider on my site that I downloaded from Css Globe. The script is excellent and does just what I want - except I can't make it randomise the list, it always scrolls from left to right or right to left! I'm far from good with JavaScript, so my attempts at solving this have been feeble. Although I'm sure it must be an easy fix! I've tried contacting the original plugin developer but have had no response yet. The comments on the Easy Slider page didn't bear much fruit either unfortunately. I've pasted the script I'm using on my site below:
I am having an issue with pausing the cycle from links within the cycle. I have set up a cycle that contains a html contentent including a 'video playlist'. This is a javascript based list that updates a flash video player with a new video inside the cycle. The videos are loading fine, but for some reason when i call the cycle 'pause', it dosent work? i have testing the $('#feature').cycle('pause'); from a link outside the cycle and that seems to be working, but it seems to be from the links inside the cycle content. here is the code i am using (i have made a custom crossfade transition)
function feature() { $('#featuretitle').hide(); $('#feature').after( '<div id="featurenav"></div>'
I just started implementing jQuery in the College site that I work on. I really like it, but on the pages I have used it on, I seem to get a 3-4 second lag sometimes. The puzzling thing is the "sometimes" part since this only happens about 25% of the time.
The first place I am running into this is on the homepage. I have implemented a content slider using jFlow. Sometimes when the page loads there is a 3-4 second lag when you can see all of the slides. I submitted this problem to the tutorial page where I learned how to make the content slider, but have received no response. All of the pictures in the content slider are pretty small, so I don't think that is causing the lag.
The second place where this problem happens is on a page where I have used a simple jQuery technique to stripe every other li in an unordered list. Again, about 25% of the time there is a 3-4 second lag before the striping effect kicks in. This is a very lighweight technique and there are no major graphics on the page so I don't know what is causing this.
See how that image with some links on it slides when you click on the arrows? If you click right a bunch of times you just get the original image and they keep rotating through.
Does anyone know of a plugin like this? I don't want one taht slides all the way back to the first node when you reach the end. I want one with this never ending effect like on this page.
I'm looking for a content slider, somewhat like Coda Slider, but with the ability to load dynamically extra content. E.g. it loads only 4 slides (1 visible at the time), and when the user navigates to slide 3, I want it to load the next 4 slided. And on slide 7 again, etc.
I am using the following code for my banner. I have got 6 set up. what I want to do is specify the time each one appears for. I can chnage this for all of them but I want to set them indivdually?
i'm having loads of trouble with the jflow content slider I've managed to get it up and running but now I want to add a second jflow content slider in a div below it. Im not sure how I go about renaming the second one's properties so that the second lot of buttons target the second slider. An example of what im doing can be viewed at:
My site example I do not know how to make them independant of each other.. has anyone else tried doing this?
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.
I have a set of flash files called inside iframe. I need to put a play/ stop button into the parent html to control the flash. I tried using document.getElementById[iframename](playerId) but the JavaScript is not recognizing the flash object.
I am using strobe media playback. Is there any way I can communicate to flash object using javascript?
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?
I am quite new to jquery and like it so far, dipping my feet but getting them very wet!
I wonder if someone with knowledge could steer me in the right direction regarding the conflict I have with my Mega Menu and my Content Slider at sample page, [URL].. as you can see the Mega Menu appears under the Content Slider,.
I'm trying to build a javascript content slider. It slides content like that of techcrunch site on the top of the page. It wouldn't have to be a feed, but I'd need to be able to enter the links manually each time I edit the code. I'm trying to get it, so I can get rid of tables and be able to post many different pages with the ease of just entering the photo url, link url, and content into it for a short message. I know html and I'm decent at css, but I'm bad with javascript.