Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

help with photos in flash

  • 28-10-2009 09:51AM
    #1
    Registered Users, Registered Users 2 Posts: 156 ✭✭


    I'm planning to revamp my site at the moment and considering using flash in the banners to get an effect like on this site . . .

    http://www.concrawood.ie/
    http://www.concrawood.ie/Fishing

    I have little knownledge of flash so would be starting from scratch.
    Whats that effect actually called? So I could maybe google for the code. .


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    It's called "panning", and you can actually achieve it without Flash if you load an image as the background to a div and then animate the background position.


  • Registered Users, Registered Users 2 Posts: 156 ✭✭kgpixels


    Liam Byrne wrote: »
    It's called "panning", and you can actually achieve it without Flash if you load an image as the background to a div and then animate the background position.

    Thanks Liam.

    I can animate the position using CSS?


  • Posts: 793 ✭✭✭ [Deleted User]


    jQuery (a javascript library) can do this for you. Look at
    http://www.gruppo4.com/~tobia/cross-slide.shtml

    It is easy to do in flash too, but javascript is built into browsers - you don't have to rely on your end user having downloaded the flash browser plugin.


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    kgpixels wrote: »
    Thanks Liam.

    I can animate the position using CSS?

    You can set the initial position using CSS, and then use JavaScript to animate it.

    It's easy to do ( have done it on a few sites, including http://www.textileprint.ie/gallery.php?section=class%20hoodies ); the core jQuery library makes it simple to do.

    The "CrossSlide" jQuery add-on/plugin linked above is overkill if the "pan" is all you want to do.....that said, it's got a few other cool options and would make it easier to do if you're a complete newbie.


Advertisement