jsp menu

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
drdokter
Forum Newbie
Posts: 21
Joined: Thu Jul 23, 2009 10:57 am

jsp menu

Post by drdokter »

Can anyone tell me how to create the menus that are animated on this page?

http://www.sanofi-aventis.us/live/us/en/index.jsp
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: jsp menu

Post by jackpf »

I don't see any animated menus :/ Is that just me?
drdokter
Forum Newbie
Posts: 21
Joined: Thu Jul 23, 2009 10:57 am

Re: jsp menu

Post by drdokter »

If you put your mouse over the pictures, you will see them.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: jsp menu

Post by jackpf »

I still don't see it.... :(

Is it flash? Cause I don't have flash installed.

If not, a picture highlighting what you're referring to would be useful....
drdokter
Forum Newbie
Posts: 21
Joined: Thu Jul 23, 2009 10:57 am

Re: jsp menu

Post by drdokter »

there are three pictures with text that says "social responsibility, our products, health matters"--
if you move your mouse over these pictures, you will see a text description scroll up that is animated.
drdokter
Forum Newbie
Posts: 21
Joined: Thu Jul 23, 2009 10:57 am

Re: jsp menu

Post by drdokter »

I am attaching a picture
Attachments
menus.gif
menus.gif (66.75 KiB) Viewed 929 times
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: jsp menu

Post by jackpf »

Oooooh yeah, that's flash - that's why I can't see it.

But yeah, there's your answer, they're using flash :P I have no idea how...I have no knowledge of flash. I'll have to leave it there...and maybe let someone more knowledgeable about flash step in...

If not, you might be better off asking on a flash forum, if they even exist.
drdokter
Forum Newbie
Posts: 21
Joined: Thu Jul 23, 2009 10:57 am

Re: jsp menu

Post by drdokter »

Well, I would know how to do that in Flash, but isn't there a way to do it with script so that people like you (without Flash plugin) can just view it?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: jsp menu

Post by jackpf »

Well, I still don't know what it does since I can't see it :P

But chances are you can do something similiar with javascript.

Basically, javascript animations involve the use of the setTimeout() function, which calls a function that modifies the style of a particular element, which gives the effect of animation.

You can probably find a tutorial on google to do it, although I can't point you to a specific one since I don't know what the menu does.

Good luck!
Post Reply