Pastor Rick
Head Administrator
Global user (premium)
Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)

|
|
Reply | Quote
|
|
CSS Pull-Down Menu
OK, you like the html pull down menu but you don't like the silly blue arrow button... here is a combo just for that
Copy and paste HTML
<div id="info">
<h2></h2>
<div id="holder">Harmony's Links<br />
<hr />
<a href="http://www.runboard.com/bitsthebible">It's The Bible</a>
<a href="http://www.runboard.com/bchristianchatterbox">Christian Chatterbox</a>
<a href="http://www.runboard.com/bchristianworld">Christian World</a>
<a href="http://www.runboard.com/bcoffeezon">CoffeeZon</a>
<a href="http://www.runboard.com/bunityinchrist">Unity In Christ</a>
<a href="http://www.runboard.com/bnearthecross">Near The Cross</a>
<a Href="http://www.runboard.com/bproverbs31fellowship">Proverbs 31 Fellowship</a>
</div></div>
Copy and paste CSS
#info {position:relative; height:24em;}
#info h2 {margin-bottom:0em;}
#holder {position:relative; width:150px; line-height:18px; height:20px; border:1px solid #f96; overflow:hidden; text-align:center; z-index:100; background:#ad8b72; color:#fffec0;}
#holder:hover {height:180px; cursoremoticonointer; background:#d7c5a6; color:#000;}
#holder a:visited, #holder a {display:block; width:100%; line-height:18px; color:#ad8b72; text-decoration:none;}
#holder a:hover {color:#000;background:#ad8b72;}I tried this out in FF, IE5.5, IE7 and Opera8 and it looks nice. This code came from www.cssplay.com and the first div is in there because I don't know how to change it without breaking it ... enjoy
-edit- We now know how to do this without breaking things (keep reading the thread to see the new code snippets)... this code remains here instead of being replaced so you can see how to put in your own links.
Last edited by Pastor Rick, 4/20/2007, 6:11 am
|
|
4/1/2007, 8:17 pm
|
Send Email to Pastor Rick
Send PM to Pastor Rick
MSN
Blog
|
Pastor Rick
Head Administrator
Global user (premium)
Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)

|
|
Reply | Quote
|
|
Re: CSS Pull-Down Menu
Ooppps... Thanks Mooseman, don't know how those got in there.
|
|
4/17/2007, 9:21 pm
|
Send Email to Pastor Rick
Send PM to Pastor Rick
MSN
Blog
|
Pastor Rick
Head Administrator
Global user (premium)
Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)

|
|
Reply | Quote
|
|
Re: CSS Pull-Down Menu
Sure thing, Stu's Menu is here...
|
|
4/18/2007, 6:06 am
|
Send Email to Pastor Rick
Send PM to Pastor Rick
MSN
Blog
|
Pastor Rick
Head Administrator
Global user (premium)
Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)

|
|
Reply | Quote
|
|
Re: CSS Pull-Down Menu
Slick
So now we have Stu Nicholls PD Menu as edited by The Mooseman (and it works ):
HTML Code
<!-- PD MENU -->
<div id="holder">
MAIN MENU<br />
<hr />
<a href="#">Item one</a>
<a href="#">Item two</a>
<a href="#">Item three</a>
<a href="#">Item four</a>
<a href="#">Item five</a>
</div>
CSS Code
/* PD MENU */
#holder {position:absolute; top:0px; left:0px; width:110px; line-height:18px; height:20px; border:1px solid #f96; overflow:hidden; text-align:center; z-index:100; background:#eee;}
#holder:hover {height:150px; cursor:pointer; background:#eee;}
#holder a:visited, #holder a {display:block; width:100%; line-height:18px; color:#000; text-decoration:none;}
#holder a:hover {color:#c00;background:#ddd;}a:link, a:active { color: #cccccc;text-decoration: none;
}a:visited { color: #cccccc; text-decoration: none;
}a:hover { color: #cccccc; text-decoration: underline overline;
}
I'll leave both codes here so new board owners can figure out where to put their own links and stuff.
Thank you Mooseman for making it look easy ...
Last edited by Pastor Rick, 4/20/2007, 6:06 am
|
|
4/20/2007, 5:58 am
|
Send Email to Pastor Rick
Send PM to Pastor Rick
MSN
Blog
|
Pastor Rick
Head Administrator
Global user (premium)
Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)

|
|
Reply | Quote
|
|
Re: CSS Pull-Down Menu
Well we can not have that! LG did such a fine job getting the code to work I really hate taking it out but if IE is going to make it so difficult to implement CSS then I'll remove it for now...
|
|
4/21/2007, 12:13 pm
|
Send Email to Pastor Rick
Send PM to Pastor Rick
MSN
Blog
|
Add a reply
Powered by AkBBS 0.9.5b - Link to us
- Blogs
- Hall of Honour
- Chat
Click here to get your own free message board
|
You are not logged in (login)
This Board's Date and Time: 11/22/2009, 10:28 pm
|
|
|