|
|
Thread Tools | Display Modes |
|
#161
|
||
|
Big grins
|
Quote:
Thanks, the changes you gave me got it at least working, though my "current" button seems to be getting cut off a bit. I probably just need to play with my CSS for it as bit. |
|
|
|
||
|
#162
|
||
|
Big grins
|
Quote:
|
|
|
|
||
|
#163
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#164
|
||
|
Big grins
|
Quote:
I'm just hacking my way along though :( The image you mention is the same as the mouseover one and that one works fine. |
|
|
|
||
|
#165
|
||
|
Scripting dude-volunteer
|
Quote:
Just so you know, the two ".menu2 .navCurrentPage a:hover" CSS rules are doing nothing. Remove them and nothing changes. So, I don't think you want the highlight rules to work the same way as those. I figured out how the rules work. Change your navbar CSS to this: Code:
/*Credits: CSSpplay */
/*URL: http://www.cssplay.co.uk/menus/pro_two */
.menu2 {padding:0 0 0 32px; margin:0; list-style:none; height:35px; background:#fff url(http://www.landscapesandcityscapes.com/photos/801074246_Wf4ae-X3.gif); position:relative; border:1px solid #000; border-width:0 1px; border-bottom:1px solid #444; !important;}
.menu2 li {float:left; !important;}
.menu2 li a {display:block; float:left; height:35px; line-height:35px; color:#aaa; text-decoration:none; font-size:11px; font-family:arial, verdana, sans-serif; font-weight:bold; text-align:center; padding:0 0 0 8px; cursor:pointer;}
.menu2 li a b {float:left; display:block; padding:0 16px 0 8px;}
.menu2 a.navCurrentPage b {color:#fff; background:url(http://www.landscapesandcityscapes.com/photos/801074251_vDnqa-X3.gif) no-repeat top right !important;}
.menu2 a.navCurrentPage {color:#fff; background:url(http://www.landscapesandcityscapes.com/photos/801074251_vDnqa-X3.gif) no-repeat top left !important;}
.menu2 li a:hover {color:#fff; background:#000 url(http://www.landscapesandcityscapes.com/photos/801074253_Vafxf-X3.gif);}
.menu2 li a:hover b {background:url(http://www.landscapesandcityscapes.com/photos/801074253_Vafxf-X3.gif) no-repeat right top;}
FYI, none of your !important statements were working so I removed the ones that were not needed and fixed the two that were. You should look up on Google how !important works in CSS. It goes before the ; at the end of a particular rule, not after it.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#166
|
||
|
Big grins
|
Quote:
|
|
|
|
||
|
#167
|
|
|
Big grins
|
Yellow line not working
Hi,
I have copied the both of the scripts and all i want is the yellow line on the top and bottom of the words like yours. Nothing seems to show up and was wondering if you could have a look and help if you can. Many thank Assaf My website is www.arbiser.com |
|
|
|
|
#168
|
||
|
Scripting dude-volunteer
|
Quote:
Code:
/* highlight individual menu items when their page is current */
#customNav .navCurrentPage {background: none; border-bottom: 1px solid #CCCC00; border-top: 1px solid #CCCC00;}
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#169
|
|
|
Big grins
|
thanks, That is great. It works well except on weddings and celebrations and the pro bono page.
Any other suggestions would be great. Thanks Assaf www.arbiser.com |
|
|
|
|
#170
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#171
|
|
|
Big grins
|
All done. Thank you for all your help
|
|
|
|
|
#172
|
|
|
Beyond a Grin...Smiling
|
Firefox working great / IE 8 appears buggy
John,
This is a great idea. I like what you've done here. My code works perfectly in Firefox and a little slow in IE. If you use IE, click on Home, Galleries or Search and move the mouse away quickly, the bars don't show. When you move the mouse back, it lights the bars. I've tried moving the code around but same results. Again, Firefox works all the time. Any thoughts? http://www.brucefratto.com/mapGallery Thanks for sharing your code. Bruce |
|
|
|
|
#173
|
||
|
Scripting dude-volunteer
|
Quote:
Remove the comma at the end of this line: Code:
flashRequiredHTML: "Please install <b>Adobe Flash</b> so you can see my slideshow. Click on the Guest Book Menu, then on the Adobe hotlink in the Notes section.",
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#174
|
||
|
Beyond a Grin...Smiling
|
Quote:
Thanks for looking. |
|
|
|
||
|
#175
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#176
|
|
|
Beginner grinner
|
Can't make the double yellow line work....
I've beat my head against the wall for 2 days trying to make my navbar button show the current page. The code I currently "thought" I had used was for the double yellow line. I can't get it to work so I'm giving in and asking for help. Thanks for any suggestion!
|
|
|
|
|
#177
|
||
|
Scripting dude-volunteer
|
Quote:
/* highlight individual menu items when their page is current */ #customNav .navCurrentPage {background: none; border-bottom: 1px solid #CCCC00; border-top: 1px solid #CCCC00;}
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#178
|
|
|
Beginner grinner
|
Thank you!!! What a difference a small difference can make. I really appreciate the help.
|
|
|
|
|
#179
|
||
|
Big grins
|
I installed the code i believe the correct way. It seems to work with the home page, portfolio, Galleries pages (the photographer page is still under construction) but as soon as you go into a gallery or category it highlights "contact." I am not sure what I am doing wrong or how to fix it....
Quote:
__________________
www.blzrdphoto.com |
|
|
|
||
|
#180
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|