Smooth scrolling image list

Smooth scrolling image list.

<style type=“text/css”>
#imageBox { margin: auto; width: 360px; border: 1px #000 solid; overflow: hidden; }
#imageBoxInside { width: 10000px; }  #imageBox img { float: left; padding: 0px; margin: 0px; }
#imageBox br { clear: both; }
</style>
function moveToPrevious()
{
new Effect.Move(‘imageBoxInside’, { x: 180, y: 0, transition: Effect.Transitions.sinoidal });
}function moveToNext()
{
new Effect.Move(‘imageBoxInside’, { x: 180, y: 0, transition: Effect.Transitions.sinoidal });
}

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s