|
|
Thread Tools | Display Modes |
|
#21
|
|
|
Just a Guy with a Camera
|
I'm not sure on the non-horizontal menu issue. What I would do is copy your code to notepad and copy the code from the original post (assuming that's where you code came from) to another notepad doc... print the two and compare... something is missing, but I'm not sure... maybe others can find it...
__________________
Anthony Brandolino; Freelance Photographer • www.brandolinoimaging.com I also attend to these fine sites: www.onbroadwaydancers.com • www.r2rcoalcity.org • www.tinleyparkfrankfortrotary.com • www.smalltowntheatrics.com Use this code:8jDMwxj6yp4f2 to save on a subscription to Smugmug |
|
|
|
|
#22
|
|
|
New Born Grinner
|
Hi Brad,
thanks a lot for your help. Any help on horizontal/vertical issue for the menu on IE? Thanks,
__________________
Things I want from smugmug: 1. Remove smugmug branding from pro's website. 2. Link one picture to different albums (don't like to upload the same picture in different album) 3. Link one album to different categories (not sharegroup) http://photography.beeplove.com |
|
|
|
|
#23
|
||
|
Major grins
|
Quote:
worked well on my test gallery just replace your old navbar css with this one, make a backup of your old code in case you don't like it. Code:
/*Navbar CSS*/
/* style the outer div to give it width */
.menu {
width:750px;
font-size:0.85em;
padding-bottom:30px;
margin: 0 auto;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
text-align:center;
}
.menu ul ul {
width:125px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:125px;
_width:123px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none;
color:#fff;
width:125px;
_width:123px;
height:30px;
background-color:#000;
line-height:30px;
}
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#000;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#000;
}
.menu ul ul :hover > a.drop {
background:#000;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#000;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#000;
}
.menu ul ul ul :hover > a {
background:#000;
}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:30px;
left:0;
width:125px;
_width:123px;
}
/* position the third level flyout menu */
.menu ul ul ul{
left:125px;
top:0;
width:125px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-125px;
}
/* style the table so that it takes no ppart in the layout - required for IE to work */
table {position:absolute; top:0; left:0;}
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#000;
color:#DDD;
height:auto;
line-height:1em;
padding:5px;
width:115px;
_width:113px;
}
/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#fff;
background:#000;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#000;
}
/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
visibility:visible;
}
/* End Navbar Code */
__________________
Jav Creator of: SmugManager "There's no dark side or the moon, really. Matter of fact it's all dark..." |
|
|
|
||
|
#24
|
|
|
Steve@MVPMoments
|
"Not So" Easy dropdown nav bar
Can any of you Nav Bar gurus please help me out here. I have the basic layout of what I want, but can't figure out which codes change the formatting that I want. I have been playing by trial and error for hours now, and just can't figure it out.
1. I want the buttons to line-up across, evenly spaced with the width of my header. 2. I want the text in the buttons to be centered. 3. I want the text color to be white for the main buttons. 4. I want the text color for the hover be some sort of silver to match my silver in my header Please help. Thanks. Site is mvpmoments.smugmug.com Last edited by MVPMoments; Oct-02-2006 at 07:09 AM. |
|
|
|
|
#25
|
||
|
"tweak 'til it squeaks"
|
Quote:
.menu ul li a, .menu ul li a:visited { display:block; text-decoration:none; color:#e3cfb5; text-align:center; width:104px; height:20px; color:#e3cfb5; border:1px solid gray; border-width:2px 2px 2px 2px; background:transparent; color:white; padding-left:0px; line-height:20px;} Al |
|
|
|
||
|
#26
|
|
|
"tweak 'til it squeaks"
|
Dropdown text color
.menu ul li:hover ul li a {display:block; background:#000000; color:white; height:auto; line-height:20px; padding:0px 0px; width:132px} Dropdown hover text color .menu ul li:hover ul li a:hover {background:#000000; color:red;} Change to any color you like. Al |
|
|
|
|
#27
|
||
|
Steve@MVPMoments
|
Quote:
|
|
|
|
||
|
#28
|
||
|
SmugMug Pro Concierge
|
Quote:
The space between your nav bar and your slideshow can be controlled with: Code:
.menu {
font-family:verdana;
width:738px;
position:relative;
z-index:99;
font-size:12px;
padding-bottom:30px; _padding-bottom:18px;
margin: 0 auto;}
Code:
.menu ul li a, .menu ul li a:visited {
display:block;
text-decoration:none;
color:blue;
width:104px;
height:20px;
color:blue; text-align:center;
border:1px solid gray;
border-width:2px 2px 2px 2px;
background:transparent; color: white;
padding-left:0px;
line-height:20px;}
Hope this helps!
__________________
Steve Mills BizDev Account Manager Image Specialist & Pro Concierge http://www.downriverphotography.com |
|
|
|
||
|
#29
|
||
|
Steve@MVPMoments
|
Quote:
|
|
|
|
||
|
#30
|
||
|
SmugMug Pro Concierge
|
Quote:
__________________
Steve Mills BizDev Account Manager Image Specialist & Pro Concierge http://www.downriverphotography.com |
|
|
|
||
|
#31
|
||
|
Steve@MVPMoments
|
Quote:
|
|
|
|
||
|
#32
|
|
|
Big grins
|
away from my homepage
SO I'm getting things started with my nav buttons on my homepage. But when I go to a gallery or such, the buttons are not mine anymore... they are the original code I copied. DO I have to write this for every page? How do I do this? I know pretty much nothing about code.
|
|
|
|
|
#33
|
||
|
Big grins
|
Nevermind
Quote:
|
|
|
|
||
|
#34
|
||
|
Big grins
|
navbar position
i am excited that i am actually making this work. but, i don't understand
why the navbar is positioned where it is. can you take a look??? i would lilke for it to be below my header thanks http://soar.smugmug.com Quote:
|
|
|
|
||
|
#35
|
||
|
Big grins
|
everything is messed up!!!
i just took out the header for now, so i could work on the navbar.
thought everything was going fine. then went to check it out on other computers and it is all messed up. i really do not know how to fix the css. please, i need BIG help http://soar.smugmug.com Quote:
|
|
|
|
||
|
#36
|
|
|
Big grins
|
navbar problems
thought everything was working fine, but when i checked on another
computer, there are BIG problems with the layout. i don't know how to fix the css. Please help http://soar.smugmug.com |
|
|
|
|
#37
|
||
|
Big grins
|
navbar
i have discovered that the navbar works great in netscape and firefox, but
crashes the rest of the home page in other browsers. can i fix this. i will probably need alot of help! thanks http://soar.smugmug.com Quote:
|
|
|
|
||
|
#38
|
||
|
I � Unicode
|
Quote:
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
||
|
#39
|
||
|
I � Unicode
|
Quote:
EDIT: Okay sort of. Read more.
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ Last edited by Mike Lane; Oct-20-2006 at 03:22 PM. |
|
|
|
||
|
#40
|
||
|
Big grins
|
Quote:
I'm having the same problem as Suz. It displays fine in Mozzilla or firefox or Safari, but I can't get it to display right on IE which is what most people will probably be using. I started to rebuild one section last night but it didn't get me anywhere, if fact I may have made it worse! |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|