close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Rotating Images with DW CS4

Thread began 1/28/2010 2:43 pm by getwords399597 | Last modified 1/29/2010 5:39 pm by Jimmy Wu | 8904 views | 3 replies |

getwords399597

Rotating Images with DW CS4

I am trying to add rotating images to a page. I am following this post from a MX support site..

article.cfm?cid=651FF

But I am a bit confused and it is not working. The two issues are:

1) I am using CS4 my page doesn't have a <body> tag; the onload is at the <body class="twoColFixLtHdr">, I added the calls there.

2) What about the img src code that was added when I inserted the original image and the swap image behavior? Doesn't that need to be changed? It is still listing the original image and swap image. Thus the image never rotates. Plus, the onmouseover event on my page is with the img src code, not at the <body> tag, but I took it out in any case...

Can anyone help me get this code to work?

Thanks

Sign in to reply to this post

Jimmy Wu

yes, the body tag on your page is still a body tag. It just has a class applied to it.

The rotation swap image utilizes an array of images to swap the correct image out, rather than hardcoded values.

Sign in to reply to this post

getwords399597

Thanks, but still have a question....

Thanks for your post.

Yes, I understand the image array. I modified the code in the example for my images.

But what about the img src code that was put in when I first added the image? This method had me first add an image and a swap image behavior.

ie.... (I am trying to put the rotating image in a table cell)

<td><img src="Assets/rt_coraline1.jpg" alt="rotating_film_image" name="rotator" width="500" height="375" id="rotator" /></td>

It seems this code has to be changed as well. Any thoughts?

Thanks.

Sign in to reply to this post

Jimmy Wu

The image will be swapped out dynamically, so I'm not sure you would have to make any changes to that image code.

I haven't implemented this particular script before, though, so I may be wrong on this.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...