PDA

View Full Version : something like rollover button function, how to do that?


fattat
02-04-2009, 01:28 PM
how to do this kind of the function
something like the rollover button,
when click on the "illustration" menu , is will be appear sub menu like "sete sabores,paris, cadaver.....", how to do that??


i dont know how to explain,
please see the following website
http://www.sofiaregalo.com/


picture A
http://img80.imageshack.us/img80/9465/picture2pr9.png (http://imageshack.us)

picture B
http://img238.imageshack.us/img238/9655/picture1sa2.png (http://imageshack.us)

Corrosive
02-04-2009, 01:43 PM
how to do this kind of the function
something like the rollover button,
when click on the "illustration" menu , is will be appear sub menu like "sete sabores,paris, cadaver.....", how to do that??


i dont know how to explain,
please see the following website
http://www.sofiaregalo.com/


picture A
http://img80.imageshack.us/img80/9465/picture2pr9.png (http://imageshack.us)

picture B
http://img238.imageshack.us/img238/9655/picture1sa2.png (http://imageshack.us)

They have used a Jquery javascript plug-in to do this. Try visiting www.jquery.com and search some of the plug-ins.

depilator
02-04-2009, 01:44 PM
javascript


try to find something like "smoothscroll javascript" on google

fattat
02-04-2009, 01:57 PM
i have try to find smoothscroll javascript,
but most of them is download version
and didnt have tutorial

have anyone help me find a tutorial about smoothscroll javascript?

Corrosive
02-04-2009, 02:03 PM
i have try to find smoothscroll javascript,
but most of them is download version
and didnt have tutorial

have anyone help me find a tutorial about smoothscroll javascript?

Most Jquery stuff comes with instructions and a demo page so you can see how it works. It always takes a little bit of messing about to get it right. As an idea it usually involves a reference to the jquery framework, some script in the head of the page and giving the div you want to 'scroll' a class which relates to the javascript file. Any more than that you will have to figure out for yourself.

fattat
02-04-2009, 03:49 PM
i found a javascript from a website
but dont know the tutorial

http://www.dezinerfolio.com/2007/07/19/simple-javascript-accordions/

can anyone help me explain how to use it?

depilator
02-04-2009, 05:19 PM
i found a javascript from a website
but dont know the tutorial

http://www.dezinerfolio.com/2007/07/19/simple-javascript-accordions/

can anyone help me explain how to use it?

download Simple Javascript Accordions (http://www.dezinerfolio.com/system/files/simple_accordions_with_src.zip) and see how it's made....