PDA

View Full Version : JavaScript Menu Advantages


kremo5le
05-13-2009, 07:48 PM
Hello guys,

I'm not a JS expert, and I have barely worked with it. However, there's a client's website that I noticed uses a JS menu. I found this strange considering I have worked with CSS and HTML for most sites.

What are the advantages of using a JS menu? Why? Would it be better than CSS?

I'm just curious...

Thanks a bunch,

kRem

Corrosive
05-14-2009, 06:36 AM
Hello guys,

I'm not a JS expert, and I have barely worked with it. However, there's a client's website that I noticed uses a JS menu. I found this strange considering I have worked with CSS and HTML for most sites.

What are the advantages of using a JS menu? Why? Would it be better than CSS?

I'm just curious...

Thanks a bunch,

kRem

Probably just a different effect required that you can't do with pure CSS/HTML. We use a js effect on the Yoto site http://www.yotocreative.co.uk/ for the 'lavalamp' box effect as you hover over the links.

kremo5le
05-14-2009, 06:42 AM
Probably just a different effect required that you can't do with pure CSS/HTML. We use a js effect on the Yoto site http://www.yotocreative.co.uk/ for the 'lavalamp' box effect as you hover over the links.

Oh, I see... It makes total sense now I see your example.

I'm clear! I just need to learn some JavaScript. Where would be a good place to start; an easy tutorial place?

Thank you,

kRem

Corrosive
05-14-2009, 11:17 AM
Oh, I see... It makes total sense now I see your example.

I'm clear! I just need to learn some JavaScript. Where would be a good place to start; an easy tutorial place?

Thank you,

kRem

No real need to learn the internal workings of JS if you don't really want to. Look at JS frameworks such as www.jquery.com and there are loads of plug-ins available.

kremo5le
05-14-2009, 09:39 PM
No real need to learn the internal workings of JS if you don't really want to. Look at JS frameworks such as www.jquery.com (http://www.jquery.com) and there are loads of plug-ins available.

Yes, I mean, no! I don't want to learn how to code from scratch, but I do want to understand as I did with PHP.

Sorry to keep asking stuff but, besides menu effects, what other stuff can I do with JavaScript out of the ordinary?