Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Rollout Menu In Javascript


10 replies to this topic

#1 sachavdk

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 62 posts
  • Interests:Photoshop, 3D Studio Max, C++(6 & .NET), VB(6 & .NET) & ASP(2.0 & .NET), PHP, MySQL, Access, HTML, JavaScript

Posted 16 July 2005 - 07:41 PM

Hi,

As I suppose everybody knows the JavaScript menus when you roll over a button, a graphical submenu is rolled out (such as the menus in windows).
Now I want to try making one myself since it is a project for school and I can't come up with a ripped version of some menu.

The idea is when a user goes with the cursor over a tablecell, a javascriptmenu is shown.
ie:
<table><tr><td onMouseOver="javascript:show_menu('whatever')">Whatever</td></tr></table>

I can work with JavaScript and I have some experience using little functions, but this is probably gonna be a huge arithmetical and graphical function.

Is there someone who can help me starting to make such a menu?

#2 sachavdk

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 62 posts
  • Interests:Photoshop, 3D Studio Max, C++(6 &amp; .NET), VB(6 &amp; .NET) &amp; ASP(2.0 &amp; .NET), PHP, MySQL, Access, HTML, JavaScript

Posted 16 July 2005 - 07:46 PM

I'm sorry I'm double posting, but I've forgotten to mention the menu can use some html and images etc.

#3 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 16 July 2005 - 07:49 PM

Why don't you use CSS to generate this type of menu? A full tutorial can found here: http://www.alistapar...cles/dropdowns/

#4 sachavdk

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 62 posts
  • Interests:Photoshop, 3D Studio Max, C++(6 &amp; .NET), VB(6 &amp; .NET) &amp; ASP(2.0 &amp; .NET), PHP, MySQL, Access, HTML, JavaScript

Posted 16 July 2005 - 08:03 PM

Hmmm its great :P. I'm gonna try it to implement in my menus. Thanks

#5 Klass

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 147 posts
  • Location:Klass-World

Posted 16 July 2005 - 08:15 PM

this might help also:
http://www.astahost....hing-t6856.html

#6 Tyssen

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,161 posts
  • Location:Brisbane, QLD

Posted 16 July 2005 - 11:01 PM

snlildude87, on Jul 17 2005, 05:49 AM, said:

Why don't you use CSS to generate this type of menu? A full tutorial can found here: http://www.alistapar...cles/dropdowns/

View Post

A more up-to-date version of the Suckerfish dropdown can be found here.

#7 iwuvcookies

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 697 posts
  • Gender:Male
  • Interests:like i'm gonna tell you. Hey what are you doing in my profile???lol.
  • myCENT:51.28

Posted 16 July 2005 - 11:13 PM

do these scripts work in firefox?? I do'nt want to download to see if it works. Because I have had javascripts that don'e work.

#8 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 16 July 2005 - 11:25 PM

iwuvcookies, on Jul 16 2005, 08:13 PM, said:

do these scripts work in firefox?? I do'nt want to download to see if it works. Because I have had javascripts that don'e work.

View Post

Oh dear. Failed JavaScript sucks, doesn't it? Well, the link that I provided uses CSS and not JavaScript, and YES, it will work in Firefox. Internet Explorer has trouble rendering the menus, but the tutorial provided by me and Tyssen will work in both internet explorer and firefox.

#9 Klass

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 147 posts
  • Location:Klass-World

Posted 17 July 2005 - 01:15 AM

well the link I provided is on Trap17 & Astahost Game site:

http://www.ipbgaming...ex.php?act=army

Look for Forum Links, Addon Links, Member Controls on the top right.

#10 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 17 July 2005 - 03:26 AM

Klass, on Jul 16 2005, 10:15 PM, said:

well the link I provided is on Trap17 & Astahost Game site:

http://www.ipbgaming...ex.php?act=army

Look for Forum Links, Addon Links, Member Controls on the top right.

View Post

Uhh, wrong forum? :P

#11 badinfluence

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 283 posts
  • Interests:Music,Game,Software

Posted 17 July 2005 - 06:08 PM

yes, i agreed css for navigation and menu..
http://css.maxdesign....au/listamatic/

and if still want to try in java...
http://www.dynamicdr...dex1/index.html

both site have demo and browser compatibility chart!
:P




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users