help: another type of image swapping

liunx

Guest
This is my scenario...I have three images that I want to put on a website that will change to one another constantly. There will be three table columns on the top that indicate what the available three images are. If the user's mouse hovers over one of the table cells, the image will immediately change to what the table cell corresponds, and the user will be able to click on either the table cell or the image to go to another website.

I have included an image to better illustrate what I am talking about.
image (<!-- m --><a class="postlink" href="http://web.ics.purdue.edu/~liugc/temp/question.jpg">http://web.ics.purdue.edu/~liugc/temp/question.jpg</a><!-- m -->)

What is the best scripting language to do this? javascript, css, asp, flash?
All of the above seems hard to me, especially the last two.
Any comment is very welcome. Thank you for your time.JavaScript is your best bet if you want the HTML document to change without a trip back to the web server. Since JS can be disabled in Web browsers, make sure the links you can hover to switch the map also link directly to a page with that particular map on it. That way JS-disabled browsers have a link to the other maps. It's very straight forward to get this working. Post this question in the JavaScript forum and they can help you out there.

You'd use JavaScript for the scripting. CSS is for style, hence the abbreviation Cascading Style Sheets. ASP is a scripting language, but only resides on the server. ASP scripts send plain HTML+CSS+JavaScript pages to a Web browser.

You could do it with flash to, but that requires Macromedia Flash to be installed. Unless you're going to add splashy effects to the map, stick with good 'ol HTML+CSS+JavaScript.
 
Back
Top