Runboard.com
You're welcome.
Welcome: You have reached Pastor Rick's Design Elements message board... Enjoy your stay and please tell others about this board...

Runboard Social       Sign up (learn about it) ● Sign in (lost password?)


 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 507
Karma: 11 (+12/-1)
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 emoticon

Copy and paste HTML
<div id="info">

<h2></h2>
<div id="holder">Harmony's Links<br />
<hr />
<a href="[sign in to see URL]">It's The Bible</a>

<a href="[sign in to see URL]">Christian Chatterbox</a>

<a href="[sign in to see URL]">Christian World</a>

<a href="[sign in to see URL]">CoffeeZon</a>

<a href="[sign in to see URL]">Unity In Christ</a>

<a href="[sign in to see URL]">Near The Cross</a>

<a Href="[sign in to see URL]">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 [sign in to see URL] and the first div is in there because I don't know how to change it without breaking it ... enjoy emoticon

-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


---

RSFRDAdvertise Boards On TRDREITB
4/1/2007, 8:17 pm Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user
Global user

Registered: 03-2005
Location: Looking for my brain...
Posts: 6
Karma: 0 (+0/-0)
Reply ● Quote
Re: CSS Pull-Down Menu


There are a semicolon after the tags in the first two lines of your HTML. Are they intended to be there ??

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
4/16/2007, 1:09 am Link to this post Send PM to The Mooseman
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 507
Karma: 11 (+12/-1)
Reply ● Quote
Re: CSS Pull-Down Menu


Ooppps... Thanks Mooseman, don't know how those got in there.

---

RSFRDAdvertise Boards On TRDREITB
4/17/2007, 9:21 pm Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user
Global user

Registered: 03-2005
Location: Looking for my brain...
Posts: 6
Karma: 0 (+0/-0)
Reply ● Quote
Re: CSS Pull-Down Menu


Dont tell anyone, I let them in emoticon

Can you give me a link to where at CSS Play you found this code ? I wanna check out those 'div's' for you emoticon

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
4/18/2007, 4:51 am Link to this post Send PM to The Mooseman
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 507
Karma: 11 (+12/-1)
Reply ● Quote
Re: CSS Pull-Down Menu


Sure thing, ]Stu's Menu is here...


---

RSFRDAdvertise Boards On TRDREITB
4/18/2007, 6:06 am Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user
Global user

Registered: 03-2005
Location: Looking for my brain...
Posts: 6
Karma: 0 (+0/-0)
Reply ● Quote
Re: CSS Pull-Down Menu


K, look ]HERE

The menu is at the top left of the main forum, and no info divs at all, just the holder positioned


---
~ Quickly, I must hurry, for there go my people and I am their leader ~
4/20/2007, 2:58 am Link to this post Send PM to The Mooseman
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 507
Karma: 11 (+12/-1)
Reply ● Quote
Re: CSS Pull-Down Menu


Slick emoticon

So now we have Stu Nicholls PD Menu as edited by The Mooseman (and it works emoticon):

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 emoticon...

Last edited by Pastor Rick, 4/20/2007, 6:06 am


---

RSFRDAdvertise Boards On TRDREITB
4/20/2007, 5:58 am Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Registered user
Global user

Registered: 03-2005
Location: Looking for my brain...
Posts: 6
Karma: 0 (+0/-0)
Reply ● Quote
Re: CSS Pull-Down Menu


You're welcome PR, I knew I was right :p

BTW, I am currently checking some layout on boards in IE, and the buttons below this box is placed on top of each other in IE7.
The Preview 'button' is not visible emoticon

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
4/20/2007, 11:00 am Link to this post Send PM to The Mooseman
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 507
Karma: 11 (+12/-1)
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...

---

RSFRDAdvertise Boards On TRDREITB
4/21/2007, 12:13 pm Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 


Add a reply





You are not logged in (login)