Related to Html and Java Script?

  • JackyRock
  • Born
  • Born
  • JackyRock
  • Posts: 2

Post 3+ Months Ago

Hi Friends,
How to create explorer like menu in Html or java script?
eg
+ Game(inside this Cricket and Football)

when click on + sign it become like--

- Game
-Cricket
-Football

Can anybody suggest me, by which command I can do it?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

you could use jquery save the + as an image or just give it a class then have
- Game
-Cricket
-Football
in a div and use jquery to show/hide it have a look at http://www.jquery.com
  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Posts: 854

Post 3+ Months Ago

heh, I've been working on the code to do this for this post. Should be a lot easier than it's turning out to be. I think I'm over complicating it.
  • caroli
  • Newbie
  • Newbie
  • caroli
  • Posts: 5

Post 3+ Months Ago

to create a menu in html or java script.. you can use the select tag in the html document with options tag to insert name of it..
ex:
<html>
<body>
<select name="menu">
<options>red</options>
<options>blue</options>
</select>
</body>
</html>
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

caroli wrote:
to create a menu in html or java script.. you can use the select tag in the html document with options tag to insert name of it..
ex:
<html>
<body>
<select name="menu">
<options>red</options>
<options>blue</options>
</select>
</body>
</html>


yes but thats not what they wants to do they want a tree diagram (thats what its called) have you tryed google it?
However I must say I don't very much like the tree design it looks to boring and if you have lots of levels open at the same time it can get very long and can go off screen, having said that people do know how to use them at the drop of a hat so its up to you.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.