JQuery :: Slideshow Transition Using Backgrounds And PNGs
Jun 5, 2009
I'm attempting to create a mini slide show of rotating image. I'm using jquery cycle lite: [URL]
and png fix [URL]. I've used both before and don't seem to conflict with each other. However, in previous incarnations I was applying the cycle to a set of inline images. This time, I'm attempting to cycle through a set of DIVs using background images. [URL]. (See the image in the upper left with the colored border). As you can see, it works fine in Firefox. In IE6, it works, but the PNG transparency flickers on and off. In IE7, the entire image flicks on and off. Either with these particular plugins or another combination?
I am trying to create a slideshow like the one on this site: [URL]
However, I would like to use JavaScript and CSS instead of Flash. I would be super grateful for any suggestions on how to do this. I am currently using the InnerFade plugin, which works great for the slideshow part, but I can't figure out how to integrate the navigation; I'm not even sure where to start! I'm open to starting over from scratch and not using InnerFade.
Ok, IE doesnt support pngs correclty, so I have added a javascript fix, and it works, but when you load the page, the logo.png shows, but it keeps loading and loading and loading, also how can I get SAJAX to work in IE?
Today my boss asked me to prepare him a function that would change table cell's background when a link inside this cell is clicked, and all others cells to default background.
To achieve this I used:
Code: function zmieniamy(idkomorki) { /* change all td's background white */ TD = document.getElementsByTagName('td'); for(i=0;i<TD.length;i++) if(TD[i].name=='zmieniaj') TD[i].style.background='white' /* change the color that we want */ document.getElementById(idkomorki).style.background="pink"; } Now that works only in IE and in Mozilla once I click a link inside a cell, then some other link - the first cell keeps its pink background.
As a JS rookie I've managed to toggle specific backgrounds on multiple mouseovers. The code below does exactly what I want, but I'm not quite satisfied with the way it's done.The definite webpage will contain a lot of projectboxes, and for each project I need to add two functions in my script. Not very efficient. I'm looking for a single function which works in the same way, preferably making use of an array where I can add new projectimages.
I made some twitter backgrounds for a small section that I'm adding to my website.
How do I make it to where users can install my backgrounds with the click of a button, so that they don't have to upload it manually? Here's an example of what I mean. At the bottom, it has something to where the user's twitter connects to the page and installs the bg with the click of a button.
So Im trying to create a slideshow with thumbnails the user can scroll through and use to navigate the slideshow. I'm a big fan of cycle so I wanted to use that as my main slideshow component and was planning on using jcarousel for the pager. So far it works great in Firefox, Chrome, and Safari, yet in IE the thumbnails are not loading. I'm guessing it has something to do with how the images in the pager are generated and then jcarousel just isnt proccessing that in IE but I 'm not sure. I feel like I'm very close to getting this slideshow to work, yet I need to figure out why it is failing in IE.
I am using a simple prototype slideshow and a more comprehensive jquery slideshow on my website.When these are used on the same webpage on my website there appears to be a collision: (For example)Code:element.attachEvent is not a function[Break on this error] element.attachEvent("on" + actualEventName, responder); How can I avoid the conflict without reverting to a new slideshow?
However, I want to add two buttons: Stop and Resume. I would think that interval needs to be stopped and restarted, but I do not know where or how to add that.
Is it possible to fade the transition between switching one CSS to another? I am currently using jquery style switcher to get the transition. I am also using prototype/ scriptaculous to make div fields appear and fade in a duration of 0.5, and would like to time the CSS transition to be in sync with the div transition. Please see link below to see the website that I am building and current CSS and div transition timings: [URL].
I will have a group of 20 items and the user will be able to select up to three of them. After clicking a compare button, it would load a video for each item and play them back one right after another, seamlessly with no transition.
Is this possible using JQuery? Would a plugin be needed?
I'm new to jquery and am experimenting with implementing it into my existing work. I've got the cycle plugin working pretty well, only the 'turnDown' transition I want to use only appears to work on images. All other transitions seem to work fine with both content and images. I've done loads of searches on this but can't find anything specifically related to this...
Below is a link to where I'm at with it - the first 2 transitions are images and work as expected, giving that 'squashed' look as they slide in and out. The next 2 are divs, with an image, heading, and a paragraph inside - they seem to just 'drop' out which has a completely different effect and not what I want [URL]. Is there something in the plugin code itself I can tweak to make this happen, or is this particular transition intended for just images?
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.
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 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.
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]
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]..
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.
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?
I'm trying to change the background image of a button. Using the css() function changes the background instantly. Is there a way to do a crossfade effect?
Because of the nature of my page, I would like to animate a div from a fixed postion when someone first visits the site to an absolutely position location using after clicking a menu item using .animate and the easing effects. This part seems to work fine, however, when I click on the "home" button again, the div will not move back to the original fixed position. The div just sticks to the top of the page. My assumption is that the .animate scriptdoesn't' know how to interpret/find the fixed position location. Is there a way to make this work?
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: