JQuery :: Background Images And Varied Sliding Text?
Feb 12, 2011
My client wants a series of 4 background images that cycle (probably fade), and each time a new image appears, they need text to slide in from either the right or left, depending on the image.I've done the fading background image part quite often, but have never tied another action to the new image loading.
<picture 1, fades in><text for picture 1, slides in from right>
<picture 2, fades in><text for picture 2, slides in from left>
<picture 3, fades in><text for picture 3, slides in from right>
<picture 4, fades in><text for picture 4, slides in from left>
I am trying to create a menu that would look and act like this image illustrates: [URL] Essentially the three boxes slide down when rolled over and menu items appear in the portion that has slid down.So far, I have figured out how to make an image slide using jQuery: [URL]
I need to have a series of images cycle in the background, and for each image, text should appear on the right or left side and slide into position. I thought this would be simple but can't really find any information about how to connect these two events. I've done plenty of background image cycling, but never tied a particular image to a particular animated effect. One, can this be done...if so, how challenging is this? And Two, would anyone know of a location of similar stuff. I've seen a bunch of sites that use Flash for this, but it seems like jQuery would be quicker and more robust.
i am using a sliding image gallery and want to indicate the selected thumbnail by showing a dot below the thumbnail. i am new to scripting and have been trying tweak the code i found (which had the thumbnails at 50% opacity when unselected and 100% opacity when selected), using that code, i'm hoping i can instead make an image of a dot show at 100% opacity when the thumbnail above is selected and 0% opacity when the thumbnail is not selected. here is the script where i think i can achieve this:
I'm putting together a portfolio site and I'd like to use high-res images that take up most of the screen to show different works. There would be a menu bar with links to each work, where a click on that work's link would change the background by doing a standard "dissolve" effect.I have seen many different plugins for "rotating" images and changing background colors at the click of a button. Is there a method specifically for this purpose? As an alternative to altering the background-image of the body itself,I would be willing to use a properly sized div (or div's) to achieve this effect.
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.
have a situation where in my navigational menu (which is an unordered list) when someone has Internet Explorer that it takes them to a different link than if they have a different browser. It is a long story why I need it to do this but suffice it to say, it has to be that way. Is there any script would allow for such a thing? And by the way it has nothing to do with different browser CSS capabilities, I know how to do that already. I am relying on you Zen coders out there whose wisdom far exceeds mine. (Which is definitely not hard to do..)
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.
is it possible to use background images with superfish ? sprites ? or can i use image tags in the list item anchors ? Whats the best way to use image sprites in the first level of your navigation menu in conjunction with superfish dropdowns ?
Now, this works fine with every manual refresh of the page and I can obviously get it to work with a <META> refresh, but I would like to do achieve this without resorting to this crude method.Note that I have additional code to stretch the image to the client browser resolution.I found this topic which look svery similar to what I want but doesn't have any code for the background image scaling ... http:[url]....
I've used the cycle plugin on several Wordpress sites and it works great, except that when I run it the background is visible between transitions. Instead of a smooth fade between images, there is a long pause between images. Even when I use the default values, there is still a noticeable delay between the slides.
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)?
Would you be able to tell me how I would structure that function?