JQuery :: Title Out Of Sync With Image Transition Using Cycle Plugin?
May 11, 2011
I am using the Cycle plugin for image slideshows, and I am working on one that also displays a title for each slide with a link. The issue is that the title swaps a little after the image swaps, so there is a delay. Here is my code:
<script type="text/javascript">
$(function() {
$('#slideshow').cycle({
[code]....
View 2 Replies
ADVERTISEMENT
Oct 5, 2010
Love the Cycle plugin.
- works as expected in that one photo fades into the next photo smoothly. Test page looks great - [url]
However, when I put the exact same code into Thesis/WordPress, I get a long delay between the images, and spend several seconds looking at a blank stage - [url]
Why would that be? How to make the images transition fade smoothly into the next image
View 2 Replies
View Related
Jul 13, 2010
I've been running this test cycle plugin slideshow now for over a week..[URL]..but starting today all of a sudden am getting this error in Firebug console: [cycle] unknown transition: scrollHorz ; slideshow terminating even if I switch to transition:'none' I get error: [cycle] unknown transition: none ; slideshow terminating I haven't changed anything, I don't get it[URL]..
View 2 Replies
View Related
May 28, 2011
I am new to jquery in anycase I have a db with information about the location of pictures, and I want to use that information to create a gallery with transition effects using the cycle plugin. Right now I can get the info that I need into the <img src=""/> using the code I have, the problem is it keeps giving empty values along with the actual values. To check what was happening I included a navigation bar for each picture and even though I should have 3 results in my query, I am getting 5 pages i.e. the extra ones are empty. I want to know if this problem is because of my php or something wrong I have done with the jquery.
The code I have is pretty simple.
<style type="text/css">
.slideshow { height: 210px; width: 210px; margin: auto }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; }
#nav a { border: 1px solid #ccc; background: #fc0; text-decoration: none; margin: 0 5px; padding: 3px 5px; }
#nav a.activeSlide { background: #F90 }
#nav a:focus { outline: none; }
</style>
<script type="text/javascript" src="[URL]"></script>
<script type="text/javascript" src="[URL]"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow')
.before('<div id="nav">')
.cycle({
fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
pause: 1,
timeout:0,
pager: '#nav'
});});
</script></head><body>
<? $q = mysql_query("SELECT picture FROM gallery") or die (mysql_error()); while($row = mysql_fetch_array($q)){?>
<div class="slideshow">
<img src="gallery/<?=$row['picture'] ?>" <? } ?> width='200' height='200' />
</div>
View 2 Replies
View Related
Feb 10, 2011
I'm trying to add a fade-in and fade-out effect to the default scrollHorz transition.The code I'm currently using is as follows :
$('.Gallery').cycle({
speed: 1000,
timeout: 3500,
[code]....
View 2 Replies
View Related
Aug 17, 2009
Is it possible to use enable different transition effects for auto- advance versus the pager (that is, when a user clicks a pager item)? I'd like very much to use "fade" as images auto-advance without user input, but use a more advanced easing effect if the user clicks an item in the pager.
View 1 Replies
View Related
Mar 5, 2011
I'm currently trying to create a complete custom transition for the awesome jQuery Cycle plugin. Basically, what I want to achieve is kind if a lightbox like transition effect... You know, the images wraper scales itself based on the current image width and height and scales itself again when you go to next or prev image.
Ok I have 2 questions:
1) I can see in the source of Cycle, at the end there is:
$.fn.cycle.transitions = { ... } and inside there is the fade transition set up. Do I need to create my new transition here?
[Code]...
View 1 Replies
View Related
Dec 2, 2011
I am trying to combine the centering of the images. I get for the image title "undefined" If I remove the <div id="slide">...</div> the titles display normally.
jcycle code:
$(document).ready(function() { $('#slideshow').cycle({ fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc... timeout: 5000, after: onAfter, next: '#slideshow', pause: 1 }); }); function onAfter() {
[Code]....
View 3 Replies
View Related
Aug 26, 2010
I'm a bit new to jQuery but am loving it so far.. especially the cycle plugin. I have a strange problem that I've not been able to find the solution to anywhere else. Everything works just fine with the exception of one issue thats causing me problem. I'm using cycle to control 3 different fading animations on my page. On 2 of the animations I'd like to pause cycle after the image fades out for a few seconds but before cycle fades the next image in. The catch is that I want the timing to be different for each pause before the next cycle begins.
The goal is for#hpcontent,#hphead,#hpfade3to fade out all at the same time. Then for#hphead to pause for 2 seconds before it fades in the next random image, and#hpfade3to pause for 3 seconds before it fades in the next random image
[Code]...
View 3 Replies
View Related
Jun 23, 2011
I have yet to be able to do this successfully. I am using the Cycle Plugin to cycle through a series of images and corresponding caption. To show the images, I use:
<div id="cycle-container">
<?php query_posts("cat=38&showposts=2"); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<img src="http://www.website.com/uploads/<?php echo get_post_meta($post->ID, 'Image', true); ?>" alt="Icon [Code]...
Problem: The captions do not effectively cycle. What appears is the first caption from php the_excerpt but it does not change to the next php the_excerpt text. Can I solve this problem so I get the text from php the_excerpt to correspond to each image??
View 1 Replies
View Related
Jul 25, 2011
After the first image on this site, [URL].., fades out in IE 8, the window crunches up to the upper left as in the screenshot here =>https:[URL]..
My script call:
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
View 2 Replies
View Related
Jun 4, 2009
I am creating a single column fluid layout and have run into an issue when positioning the images I display via Mike Alsup's cycle plugin. I dynamically load a "content" DIV with three other DIVs, one of which is controlled by the cycle plugin. The other two DIVs are positioned as expected, however the DIV that cycle is handling has positioning CSS added to it inline that is pulling it out of my page flow. (When I disable the cycle code the single image I load first displays as expected.) Here is the code from that particular DIV:
[Code]...
View 3 Replies
View Related
Apr 14, 2011
I have a few "panels" that I am looking to cycle. The panel has a width of 100% with a background image. It is supposed to span the whole width of the browser. the content is set at a specific width, centered in this panel. I am looking to cycle the background image and content but just can't get it to work (the panels have a set width and are pinned to the left, not centered.
simple js:
View 1 Replies
View Related
Mar 16, 2010
I used the Jquery Cycle plugin on a site I'm working on.It worked fine on the static html site (see it in action here working as it should) but is leaving a gap between each image when I use it in Wordpress (See it here).
View 1 Replies
View Related
Jul 2, 2010
I'm trying to make a customCycletransition. I want the slide to scroll left or right and simultaneously fade in or out to be revealed or disappear. To handle both directions in one transition I'm basing it on the built-in scrollHorz transition, which looks like
this:$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
$cont.css('overflow','hidden').width();
opts.before.push(function(curr, next, opts, fwd) {
[code]....
This makes the slide that slides out fade as expected, but the slide that slides in doesn't fade. It is suddenly made visible before sliding in. So it ignores the opacity that I set on line 9.
View 1 Replies
View Related
Oct 4, 2011
In IE8, Cycle appears to be applying styling _after_ the transition, and it produces a weird visual effect.
Take a look at the bottom demos in IE8 on the Intermediate-2 examples from the Cycle site. See how the styling on the font changes after transition? [URL]
View 1 Replies
View Related
Dec 12, 2011
I have two questions regarding JQuery Cycle
How to add 'slideHorz' transition and 'pager' options in JQuery Cycle Lite?I don't want to use the full version of JQuery Cycle because it would be too much for my purpose.
Also,Is that possible to use our own thumbnail as the anchor?
View 3 Replies
View Related
Jul 21, 2009
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>'
[Code]....
View 2 Replies
View Related
Feb 21, 2011
I'm using the Cycle plugin to display images for some of my past projects onhttp:[URL]..projekteMy problem is that in Chrome i get the above error in console.([cycle] terminating; zero elements found by selector) I have tried manually initializing the Cycle plugin for every project div and that did not help so I went back to my initial code:
[Code]...
View 4 Replies
View Related
Aug 14, 2009
I define a cycle in document.ready as per usual. In my cycle I have different sets of images that i want to cycle through and only want certain ones to cycle as selected using the slideExpr option.
Is there a way to change this option from:
SlideExpr: 'a'
To:
SlideExpr: 'b'
Another alternative i've considered is to make a cycle of cycles.
View 4 Replies
View Related
Jun 30, 2011
I've worked though a lot of issues trying to get the jQuery cycle plugin working in a relatively complex situation but have hit yet another wall.
Basically, I'm trying to get the jQuery Cycle plugin to cycle through entire divs, each one of which contains yet another slider platform built in jQuery. The first div always displays exactly as it should but when I click to transition, the elements within the second div appear stacked instead of side by side on the slider as they should. I've tried modifying the CSS in every way I can think of to prevent this, but so far, no dice.
I'm not sure whether its an element of the CSS for the second slider platform (wp e-commerce product slider) or one of the two platforms themselves. One thing I did notice was that one of the inner slider divs "gallery_slider" is automatically being set to 90px wide which is way too thin, but I can't seem to figure out how to override this if that is actually the problem.
You can check out the site that I'm trying to implement this on at [url]. The trigger to change the slider div is under "Men's">"Cloth Belts".
View 6 Replies
View Related
Dec 28, 2010
I'm using a Jquery plugin called coin slider as a slider for my website. However, I do not like the transitions that are available in this plugin as they're kinda cheesy. I was wondering how I would go about using a different jquery transition such as a simple fade? I'm kinda stuck with coin slider as this is used on a wordpress site and I don't have the time to customize any other jquery slider to work with wordpress and dynamically pull the latest articles etc.
View 2 Replies
View Related
Oct 25, 2011
The objective is to have an image fade to another one progressivly while the mouse is over, when its not it fades back to the original, whether or not it faded to the target completely or not. That is, if it takes 1 second to fade completely to the other image, and you take your mouse off it at 0.5 seconds, it will begin to fade back to the original. I have a problem where I want to give this ability to multiple images (thumbnails) on a page, without having reams and reams of code and instead just have one function accomadate any number of images.
[Code]...
View 5 Replies
View Related
Jun 1, 2009
I cant get the easing plugin to work with cycle plugin
1. does cycle 2.65 work with easing 1.3
2. does easing work on the scrollHorz
3. if both of these are true then what am i doing wrong
$('#slideshow').cycle({
View 1 Replies
View Related
Apr 29, 2010
I have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition.
View 3 Replies
View Related
Jun 28, 2010
I am running into an issue with gallerific plugin where I would like to be able to run code to get the height of the currently displayed image directly after it has finished transitioning onto the page. So for example when the script completes the load of the first image code would run to get it's height, and then each time the user navigates to an image, once the transition to the new image completes get it's height. It seems like all the currently available options to run code happen before the new image is displayed.
Does anyone know how I could accomplish this? I did a lot of running through the code in firebug with breakpoints but can't seem to figure out where the actual image transition completes and the attributes of the new image are available for retrieving. I was hoping maybe someone has done this already or has a lot of experience with gallerific and can point me in the right direction.
View 1 Replies
View Related