Related to Html and Java Script?

  • JackyRock
  • Born
  • Born
  • No Avatar
  • Joined: Jan 14, 2010
  • Posts: 2
  • Status: Offline

Post January 14th, 2010, 3:09 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 14th, 2010, 3:09 am

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 09, 2008
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post January 15th, 2010, 12:33 pm

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
  • Joined: Aug 04, 2008
  • Posts: 846
  • Status: Offline

Post January 15th, 2010, 12:59 pm

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.
Use your words like arrows to shoot toward your goal.
  • caroli
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jan 16, 2010
  • Posts: 5
  • Status: Offline

Post January 16th, 2010, 2:55 am

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
  • Joined: Apr 09, 2008
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post January 16th, 2010, 3:35 am

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 91 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.