Tuesday, June 25, 2013

Scroll two panorama pictures horizontally using HTML MARQUEE

In this example, I used HTML MARQUEE to scroll two panorama pictures horizontally. The pictures are P5.JPG and P6.JPG.  scrollAmount decides the speed of scrolling.   behavior=alternate means the pictures are scrolled back and forth.
<marquee align="center" behavior="alternate" height="400" scrollamount="5" width="900">
<table border="0" bordercolor="#999999" cellpadding="0" cellspacing="0" style="height: 400px; width: 3000px;">
<td height="400" width="1500"><img height="400" src="http://swf.site40.net/p_dir/P5.JPG" width="1500" /></td>

<td height="400" width="1500"><img _="" height="400" src="http://swf.site40.net/p_dir/P6.JPG" width="1500" /> </td></tr>

Result of animation:

No comments:

Post a Comment