English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am creating a website Frontpage and i cant figure out how to do something. I want to create something so when a user places the cursor over an advertisment for example it will expand revealing more details but when the cursor is taken off the advertisment it will shrink back to its orginal size. How would i go about doing this?

2006-08-11 05:14:19 · 7 answers · asked by stewcat123 1 in Computers & Internet Programming & Design

7 answers

you need to do a couple things to do this (mostly because IE and others don't follow the same rules, IE ignores most of the standards).

The best way to do it would be to use AJAX, there are many impimentations that hide these differences. I am currently using Dojo (http://www.dojotoolkit.org/ ) but yahoo also has an implimentation (among others).

The actual way to do this depends on how that extra information is aquired. If you just want to use two images with more info in the second, you just need to use a roll over -

2006-08-12 03:47:42 · answer #1 · answered by John J 6 · 0 0

What you need is in this case, is advanced knowledge of JavaScript or VB-Script. Another alternative is using Flash MX which is an animation package software especially designed for web design. JavaScript will have some limitations because you will need to know dimensions and timeouts etc.
In Flash you can just drag and drop the window when designing the animation for it.

Download the free trial of Flash MX from http://www.macromedia.com
To learn more about how to achieve what you want and any other fantastic web trick, go on http://www.flashkit.com
Where you can learn how to use flash from scratch to becoming an expert. Good luck.

2006-08-11 05:27:20 · answer #2 · answered by Raj B 2 · 0 0

You will probably find information on doing that several different ways at the URL below. They have free articles, tutorials and tools for almost any web design or programming question.

2006-08-11 05:30:09 · answer #3 · answered by Anonymous · 0 1

It can be done several ways. Java Aplet, CSS (cascading style sheet) code, etc... try googling "Basic CSS" or "Basic Java" and see what you can learn. It's not too difficult to do once you see and copy the examples.

2006-08-11 05:25:41 · answer #4 · answered by Mark H 2 · 0 0

I'm no expert, but I believe you need javascript to implement that sort of function.

2006-08-11 05:18:29 · answer #5 · answered by Ken H 4 · 1 0

Use CSS with hover !

2006-08-12 02:51:18 · answer #6 · answered by kem 2 · 1 0

I dunno if this is what you are looking for:
http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm

but maybe you can find more on the site
www.dynamicdrive.com

2006-08-11 06:26:03 · answer #7 · answered by PicasA_ 2 · 0 0

fedest.com, questions and answers