A really simple cross-fade image for beginners

Hello, I would like to put a cross-fading image into a table that is my website header. I don't need anything complicated at all, no controls etc, just want 8 images that fit my cell to continuosly crossfade after 3 seconds or so. Found many scripts/plugins/jquery etc but they all seem very complicated for beginners. I've used 'easyrotator' which is so easy to use, but it doesn't seem to have a cross fade on the free mode, just a swipe and i'm sure I can find similar for free. Maybe I'm missing something but I would have thought dreamweaver (being the helpful prog that it is) would have something to do this?
Ideally, I would like it to be continuous regardless of the page people are on. I imagine this is above my head so if too tricky, perhaps it could just be random image fade.
Any advice on the best thing to use here is greatly appreciated!

Suzie8484 wrote:
Yes, it's the 'fade' option here: http://jquery.malsup.com/cycle/
There really isn't enough instructions on this website for beginners to understand exactly what and where to put the various code otherwise this would be perfect!
ok, here goes...i'll try to explain the process.
1) Insert a <div> on your page and give it the class of 'slideshow' like below.
<div class="slideshow">
</div>
2) Insert your images into the <div> as below: (example below shows images stored in 'images' folder)
<div class="slideshow">
<img src="images/beach1.jpg" width="200" height="200" />
<img src="images/beach2.jpg" width="200" height="200" />
<img src="images/beach3.jpg" width="200" height="200" />
<img src="images/beach4.jpg" width="200" height="200" />
<img src="images/beach5.jpg" width="200" height="200" />
</div>
3) Style the 'slideshow' <div> with css. Go into code view and paste the below directly before the closing </head> tag near the top of your page.
<style type="text/css">
.slideshow { height: 232px; width: 232px; margin: auto }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; }
</style>
4) Add the jquery scripts to your page. Go into code view and paste the below directly AFTER the css you pasted in above so this code is now directly before the closing </head> tag
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<!-- include Cycle plugin -->
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $('.slideshow').cycle({
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
</script>
Thats it!.
Well you would want to make sure the dimensions of the 'slideshow' <div> reflect those of your image.
So for instance if your image is 300px x 300px the dimensions should be 332px x 332px. (see below) Why the extra 32px - because this is allocated for the 15px left/right/top/bottom padding and 1 px border around the image that you see on the example page.
<style type="text/css">
.slideshow { height: 332px; width: 332px; margin: auto }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; }
</style>
Also ideally you want to download the jquery cycle script rather than use the directly linked one just incase in future the script is moved.
So download the script from the link provided on the page and change this link:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js">
To wherever you keep the script in your site folder (below its kept in a folder named 'jquery_scripts':
<script type="text/javascript" src="jquery_scripts/jquery.min.js">

Similar Messages

  • How can I turn an image/graphic into a simple, low detail image for T-shirt printing (see examples)?

    So, I do know my Photoshop, but this is just killing me! I've messed with the filters and can get an allright image, but there has to be an easier way that I'm just not thinking of. Can you tell me how to convert an image into a low detail image like the ones below?

    You create selections based on color range.
    Mylenium

  • Where to find simple course of JDeveloper for beginners?

    I'd like to get some recommendations or links about to start working with JDeveloper somewhere on Oracle websites (Oracle demos, university etc.) including with examples for fast and effective learning.
    thanks
    m.

    Hi,
    start with otn.oracle.com/products/jdev
    Everything you are asking fro is linked from here
    Frank

  • Building an image for multiple types of Macs...

    I need to build images for iMac G3 500's, iMac G4's, eMacs, & 400 Mhz G4 Towers. My question is this...
    Using OS 10.3 or 10.4, can I build an image on one of these machines that will have all of the appropriate drivers, software, etc. to distribute to all of them? Or... are there specific items installed during the OS install for some machines and not others?

    Contradictory evidence exists whether or not you can really build one unique image for use for all of those machines. One interesting factor here is you say 10.3 or 10.4. Those operating systems can not really be run from one image simultaneously.
    In addition, some G4 400 Mhz towers are incapable of target disk mode or being used as the source for a migration assistant transfer. These two articles tell you which those are:
    http://docs.info.apple.com/article.html?artnum=58583
    http://docs.info.apple.com/article.html?artnum=58418
    Assuming you have license for Mac OS X for all the machines there, I suggest building a by model base of a partition you can import to each machine from several external hard drives.
    The migration assistant after installing Mac OS X on a specific machine can help simplify how many partitions you need to create:
    http://docs.info.apple.com/article.html?artnum=25773
    You just install the operating system and it will import data using the migration assistant.
    Now the migration assistant will import data from a 10.3 machine to a 10.4 machine, but you can't do vice versa.

  • Cross Fade Audio in FCP X?

    Is there any way to do a simple cross-fade between two audio clips in FCPX? The audio transitions seem to be gone in this version, and the Cmd-T cross dissolve seems to do nothing with audio.
    I should think this would be easier than putting the two tracks on separate layers and manually trying to align the fade handles...

    This is a clumsy work around, but if the audio files are detached you can group them into a storyline and use Cmd-T between the clips to create a cross fade.

  • Why will my cross fade not go over the edit point?

    When using the cross fade effect, for some reason I can only get it to go on one of the clips and not over the edit. Not too useful! The duration of the fade seems to be difficult to adjust as well. Any idea what's going on?

    I had a friend who had the same problem... after taking a look we concluded that it had to do with the settings on his original footage.
    If you want a creative solution, you could scatter the clips by placing them on separate timelines with a small overlap, and add a cross fade to the end of the outgoing clip and the beginning of the incoming clip... not sure it that helps...

  • Really?  All Adobe has for customer service is a forum?  I have a simple question.  Can't just contact someone?  Are you that cheap?

    really?  All Adobe has for customer service is a forum?  I have a simple question.  Can't just contact someone?  Are you that cheap?

    Not to be critical, but in the time you have waited to find out how to contact Adobe you probably would have had your question answered by someone here on the forum. Many times people have been given bad information when they have found a way to contact Adobe. Much of the so-called technical support has been outsourced overseas. And the people manning the phones have no experience with Adobe products. So you can complain some more. Or, you can ask your question. It's your choice.

  • How does one create a video cross dissolve without an audio cross fade in FCP-X??

    Greetings:
    This is a no brainer in 'legacy' Final Cut, but I am completely stumped in FCP-X. Situation is thus:
    Main story line consists of a speaker. I would like to drop stills onto/into the storyline while the speaker continues uninterrupted. I've tried connecting to the storyline,  overwriting to the storyline, creating a secondary storyline, creating transitions with available media, with full overlap -- all for naught. The outgoing bits of the cross dissolve have a weird audio hiccup that I cannot get rid of. I simply want to fade a still in and fade it out (I appreciate I could keyframe opacity with a still connected to the main storyline, but that seems slightly nuts -- this should be a keystroke). I am assuming I'm missing something -- possibly something really simple, so, apologies for being a dolt, but I could really use a hand here.
    Many thanks
    longstrider

    Detach the audio using Control-Click.  The audio will then have its own fade that you can adjust.  If you want to cross fade audio clips just overlap another audio clip by placing it below the first audio clip.  Overlap can be adjusted for the amount of time you want for a dissolve.  You can also pull the fade control in the vertical middle of the end of each audio clip to make an audio fade in/out.  Holding that fade control while pressing the Control key gives you the option to select different types of fade curves.  Hope this helps.
    stephen

  • How can we change the  color of the image for product display for different

    Hi All,
    How can we change the  color of the image for product display for different colors, to be displayed on site.
    jeff

    Hi priya,
    The requirement that you have stated is not a standard feature in ISA CRM. In order to do the same, you will need to modify the standard ISA code in Java. A common path for the solution would be as follows:
    1. Colours
        a. Maintain a text type for Color under the object - PCAT_ITM in Customizing.
        b. Modify the standard search of ISA to search within your new text type as well. (In standard it only searches in Description.
       c. Maintain all shirts colour data in the new type created in step a.
       d. Your requirement will be done!
    2. Price
      a. Use list prices for your shop and assign the appropriate condition type, acces in your catalog.
      b. Modify the standard search of ISA to search on the list prices as well.
      c. This too will be done!
    3. Accessories - This is very tricky, and will require some exploration. However, here's my opinion,
    a. Search for the standard function module, which will return the accessories when provided the product as an input.
    b. Modify this function module according to your requirement and ensure that it can be accessed remotely.
    c. Modify the JSP as in steps 1b and 2b above to call this new remote-enabled function module.
    d. Now you're done!!
    The ISA modification part is not so simple, you need a really good guy like "Sateesh Chandra" who'll be able to handle your requirements. This is all I could manage, hope it is some help to you!
    Thanks & Regards,
    Nelson.

  • Is there a simple iPad photo app for WIRED tether?

    There are a few app such as CamCharger or Nikon WMAU that makse an interesting but cumbersome attempt at a wireless app for tether shooting. But for me I find that wireless is far too unreliable and slow. The time where it would be most useful, i.e., when shooting freehand outdoors, it is pretty much useless. In a studio, having a cord attached to the camera is not a big problem, however. This would allow much faster download of images.
    There is one really simple solution that almost gets the job done: Use the iPad photo adapter which allows you to connect the camera to the iPad using the standard USB cable. When the iPad sense that a camera is connected, it automatically opens the iPad Photo app which then shows you thumbnails of everything that gets recorded on your camera SD card. Great, cheap and easy.
    The problem is that if you want to actually view that image at normal size you have to select it and click on Import, then go into the Last Import album and view it there.
    Does anyone know of a simple little app that automatically downloads and displays the jpeg from the card on the iPad?  The basic Photo app is almost there but not quite.
    Thanks for any help.
    Bo

    I did try that, thanks.  I found one, FreezeFrame, that does work (with some bugs), but it allows only up to 55 minute intervals.  I was hoping to find one with 24 hours maximum interval.  I thought maybe I missed something, since it's a little tedious to check each app for the system requirements.  Kudos to all the app developers out there for keeping their apps up to date, btw.

  • Which is better for beginners

    Which Photoshop is better for beginners ???
    SujithVijayan

    For what purpose?  Usage?
    Elements will be OK for editing photographs.  Just making them look their best, sort of thing.  Photoshop is better if you want make composites, or radical changes, or build an image from scratch, or if you think you are really serious, and want the best tool for the job.

  • Cross-fade effect missing from transition effects

    I used to export slide-shows from image folders with QuickTime, and on Tiger and PowerMac PPC G4 that worked fine choosing cross-fade transitions.
    There was also the possibility to export slide-shows with Graphic Converter (using QuickTime effects), and the cross-fade transition was available.
    Now, with Leopard and QuickTime 7.5 the cross-fade (aka dissolve transition) is missing from the transition effects. Is that a bug ? Is there a way to recover that transition effect ? I re-installed QuickTime, but that didn't changed things.
    Thanks for any input...
    N.

    I still have my PowerMac G4 with all things installed, so I checked in QuickTime the slide-show export, and it doesn't have options for transitions in the effects. Oups !
    So I guess it's only related to Graphic Converter 5.9.5 where in the transitions the cross-fade isn't available anymore when I upgraded to Leopard. Maybe I should upgrade Graphic Converter.
    Anyway, thanks for the iPhoto tip, but I can't find where I can change the default settings...
    N.

  • If exporting images for backup, to reimport into a clean aperture or other program, is it best to use 72 dpi or 300 dpi, or does it matter?

    If exporting images for backup, to reimport into a clean aperture or other program, is it better to use 72 dpi or 300 dpi, or does it matter?  I want the best quality for any future unforeseen use. 

    I am somewhat reluctant to answer your questions after Frank Caggiano's excellent advice, but I really do not like to leave the question open, for there will be many occasions when you will need to export images and to understand how it works.
    But please, follow Frank's advice, right now you do not need to worry about pixels and dpi. That is exactly what I meant, when I suggested to you to make sure you keep a copy of your Aperture Library and to back it up with all your other data, before you erase your disk for a clean reinstall.
    DPI revisited:
    So, is the dpi setting only for exporting to print?
    The dpi settings are necessary to define the size of a digital image, since pixels don't have any dimensions. And since you cannot print or display an image without knowing its width and height, you will need to specify dpi when you are printing or scanning.
    If I leave it at the default 72dpi will there be any problems getting quality prints in the future from jpeg versions exported with that setting?
    Not if you export with the original size - the maximum number of pixels available. That will ensure the maximum print quality.
    The dpi settings are required to export versions; versions are derived from the masters and new image files are computed. When you export masters you get a copy of the original file that already may have a dpi setting.
    If I choose "export masters", will aperture will export my masters just as they are? 
    yes, and  you may add IPICT data if you choose
    Pardon my thick skull--I'm an old dog trying to learn new tricks in this digital world!
    No apologies necessary, we were all beginners once
    Here is another example, maybe that helps a little:
    I exported an image (jpeg) with three different setting: export masters, a version with 72dpi, a version with 300dpi and inspected the files in Graphic Converter:
    The master was exported like this:
    Notice, the master had already dpi settings, although I did not specify any on export.
    The size is 51,48 cm x 38,61 cm.
    The 72 dpi Version has larger dimensions, but also 10 Megapixels.
    and here the 300 dpi version: smaller dimensions, same amount of pixels.

  • Adding cross fade reveals bit of footage I thought was razored off !

    Hi,
    Premiere Pro CS3
    If I go frame by frame with cursor at the end of my video I see only the footage I expect. Lets call it clip C.
    If I add black video at end of my footage and play timeline, I still see nothing extra beyond my video of Clip C, my footage ends abruptly and the black shows, but if I cross fade the junction then play, I see a bit of footage which followed on in the original recording on the camcorder (clip D) but was definitely cut off in this project, if frame by frame is anything to go by !
    It certainly doesnt show when scrubbed or played prior to adding the cross fade. If I use Dip to Black instead of Cross fade on that video/blackVideo junction then it fades to black and no unwanted video shows up.
    If I replace the black video with a video clip copy pasted from earlier in my sequence and cross fade the joint, then that bit of unwanted video (clip D)shows up again, fading out as the added clip fades in. As such if this was in the middle of my sequence I would be in trouble, but I can use dip to black at the end and not see it. As such though I need to know why I am seeing something not there until cross fade or similar is added.
    Whats going on ? How can I be showing something that was razored off ? I never knew that was there prior to adding in the cross dissolve.
    I also can see it if I use dither dissolve, and no doubt other transitions.
    I have even dragged the cursor and whilst seeing a frame of Clip C, sliced the end off a bit more incase clip D was lurking in the end of my video, that should do the trick, but annoyingly its still there ! Remove the transition and it doesnt show.
    Why ?
    Envirographics

    Hi,
    Bill's explanation is correct , and I recently had similar problem with fading in and out, using cs3 and I found I had to do a couple things...
    1) zoom all the way in on the timeline to see individual frames. Use "eye" icon to turn on and off tracks so you can see the one you want one at a time when necessary.
    2) do the cross dissolve or fades using your own keyframes ...rather than the effect , and move frame by frame using arrow keys and look at program monitor to make sure your keyframes are in the right place NOT to show any footage you dont want.
    You could just adjust the keyframes of the effect cross dissolve but I find it easier just to do it manually... and make the dip angle of the transparency line similar to all your fades if you want that similarity...  In this sample its fades out and fades in, but if you stack the video you can fade one in as you fade the other out...which I find I have more control over than using the effect...but you can adjust the effect too if you want...
    anyway, couple ways you can do it is the bottom line and you need to just scrub thru frame by frame to double check what you really have...and render it first...so its all green....no red in the cross dissolve areas...or you wont see whats really there....  the image shows all manual fades

  • Trying to format my QT movie with "apple photo" JPG using cross fade

    Here's an example of what I'm trying to create: http://www.heese-cadieux.com/Home.html
    I have QT pro, iWeb, and iPhoto, and many other editing programs.
    I know how to make an image sequence, but not with cross fades, and my file size is still a bit big.
    Here's what I have so far: http://coreysheltonphotography.com/
    Any suggestions?
    Thanks,
    Corey.

    Hiding the controller and creating a looping file are done with the html code:
    controller="false" loop="true" (these tags are used in "embedded" QuickTime files). "Object" tags are used for Internet Explorer but the syntax is similar. Modern Web pages use javascript code for QuickTime files and combine both object/embed and the QT_WriteOBJECT code.
    To create the file I linked above I did these steps:
    "Borrowed" your source file (via QuickTime Player Pro).
    Exported the six image files from that source (via QuickTime Player Pro).
    Converted (reduced file size in the images) using GraphicConverter ($35).
    Added your images to 5 seconds of audio (to give them "time"). This is different than converting to "video" as the single image file size is the same for the duration. I then "extracted" the new video track and saved as .mov format (Movie Properties window of QuickTime Player Pro).
    I used samplemakeeffectmovie (not a typo) to "combine" two of these 5 second videos to add the "cross fade" effect. This is a developer PPC app I found years ago from Apple. 1998 and it still works on my Intel machine. It allows you to add transitions, compositors and effects (thousands of user created combinations) to two video files.
    Once I created the six "videos" I joined them together (via QuickTime Player Pro) to make a single file (15 seconds in duration). I then added a royalty free audio track (converted from AIFF to AAC via QuickTime Player Pro) by adding the total .mov file (scaled) to the 30 second audio track. This brought the final "video" close to 30 frames per second (source was 15 fps).
    What I proved is that QuickTime Player Pro can be an "authoring" application. I even wrote a book (PDF) that explains some of its possibilities.
    Since I still don't own a "video" camera I've created my "movies" using still image files and QuickTime Player Pro. A few examples:
    http://homepage.mac.com/kkirkster/RedneckTexasXmas/index.html
    The pink color was supposed to be transparent but the software didn't allow it.
    http://homepage.mac.com/kkirkster/03war/
    Still images, layers, masks, audio and text to tell a story.
    http://homepage.mac.com/kkirkster/B/
    Code that "calls" the QuickTime Player app (instead of the browser plug-in). Use the Command-f combo to enter full screen mode.

Maybe you are looking for