SRL Archive - Web Development

Drop downs


MylesMadness

2009-07-01 01:13:53

Im trying to get a drop down navigation bar for my tutorials thing on my nav bar on my page, how would I do this.

http://www.pspsquare.com/

~MylesMadness

ian.

2009-07-01 01:34:51

Not sure, but that's a relatively big wall of text :p I have no idea what it says, but you might try to split it up a little. :] Good luck with the drop down nav bar ;)

MylesMadness

2009-07-01 01:37:43

From: 99_ aka ian.
Not sure, but that's a relatively big wall of text :p I have no idea what it says, but you might try to split it up a little. :] Good luck with the drop down nav bar ;)
Its just a filler. I'll write something real after everything is done.

Dan Cardin

2009-07-01 07:09:44

http://javascript-array.com/scripts/simple_drop_down_menu/

or google "javascript drop down menu"

NiCbaZ

2009-07-01 14:02:18

As people have said it can be simply done with JavaScript

Da 0wner

2009-07-01 15:18:26

You can also use DHTML right?

MylesMadness

2009-07-01 18:38:31

Using this tutorial I got this http://www.pspsquare.com/index2.html. anyone want to help?

~Myles

Drunkenoldma

2009-07-02 00:01:08

You sure you followed the tutorial?
No dropdown div, neither a dropdown (or something that looks like it) ID or Class in your CSS…

MylesMadness

2009-07-02 03:27:14

http://www.pspsquare.com/index2.html

Well, its almost perfect, just go and hover tutorial and you'll see the problem

~Myles

Dan Cardin

2009-07-02 06:15:25

your site is died.

ZaSz

2009-07-02 06:58:12

http://www.freewebsitetemplates.com/ Plz use that. yours is to bland right now.

Miitchyy

2009-07-02 07:36:35

You need indexes or the list won't be above the content text which will cause it to lose hover when you move over the body.


* {
margin : 0;
}
body, td, th {
font-family : Arial, Helvetica, sans-serif;
text-align : left;
}
#header {
height : 55px;
text-align : left;
background-color : #e8940c;
}
#header-text {
padding-top : 10px;
padding-left : 15%;
font-size : 25px;
font-family : Tahoma, Geneva, sans-serif;
}
#header-text headtext {
color : #f00;
font-family : Comic Sans MS, cursive;
}
#navbar ul {
background-color : #ffc40d;
border-top : 1px solid #ffffff;
font-size : 14px;
height : 50px;
padding-left : 35%;
list-style: none;
z-index: 10;
}
#navbar ul li {float:left; position:relative;
z-index: 10;}

#navbar ul li a {padding:17px; display:block; text-decoration:none; color:#000; text-align:center; color:#fff;
z-index: 10;}

#navbar ul li a:hover {color:#ffffff; background:#232323;
z-index: 10;}

#navbar ul li ul {display: none;
z-index: 10;}

#navbar ul li:hover ul { font-size:13px; display:block; position:absolute; padding:0px;
z-index: 10;}

#navbar ul li:hover ul li {padding:0px;
z-index: 10;}

#navbar ul li:hover ul li a {display:block; background:#ffc40d; color:#ffffff; width:110px;
z-index: 10;}

#navbar ul li:hover ul li a:hover {background:#EFF500 color:#000;
z-index: 10;}


#mainContent {
width : 100%;
padding-top : 10px;
background-color : #ffffff;
text-align : justify;
z-index: 50;
}
#mainContentEmail {
width : 100%;
padding-top : 10px;
background-color : #ffffff;
}
#contentHead {
width : 70%;
margin-left : auto;
margin-right : auto;
position : relative;
}
.head_line {
background-color : #e8940c;
}
.main_table {
border : 1px solid #9d9992;
font-size : 13px;
}
.button {
font-weight : bold;
}

MylesMadness

2009-07-02 17:47:22

From: ZaSz
http://www.freewebsitetemplates.com/ Plz use that. yours is to bland right now.
I coded most of this myself, for practice.

Torrent of Flame

2009-07-02 17:52:13

From: MylesMadness
I coded most of this myself, for practice.


*cough*

MylesMadness

2009-07-02 18:47:17

From: Torrent of Flame
*cough*
Most *cough*