You need to Register for free and Login to post a message in the forum.

Forum

Subject: #HouseMenuNavCurrentItem - still not working
Prev Next
You are not authorized to post a reply.

Author Messages
whatthecrap
Nuke Newbie
Nuke Newbie
Posts:4

23 Aug 2007 12:13 AM  
hey all, the CurrentItemid is not working for my HouseMenu. i have researched prior to this post and nothing i have tried has worked for me. i am all out of ideas so if anyone has a thought as to what i need to do, please let me know. here is the code for my menu: #HouseMenuNav { width: 100%; font-size: 12px; text-align: center; height: 50px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #FFFFFF; } #HouseMenuNav ul { padding: 0; margin: 0; padding-top: 12px; list-style: none; float: left; border: 0; background-color: transparent; } #HouseMenuNav li { list-style: none; float: left; width: 108px; height: 50px; background-image: url(navOFF.gif); background-repeat: no-repeat; background-color: transparent; } #HouseMenuNav li a:link, #HouseMenuNav li a:visited { display: block; width: 108px; height: 50px; color: #005581; text-decoration: none; padding: 15px 0 0 0; background-color: transparent; } #HouseMenuNav li a:hover { width: 108px; height: 50px; background-image: url(navON.gif); background-repeat: no-repeat; background-color: transparent; color: #FFFFFF; } #HouseMenuNavCurrentItem { width: 108px; height: 50px; background-image: url(navON.gif); background-repeat: no-repeat; background-color: transparent; cursor: default; }
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3351

23 Aug 2007 4:16 PM  
Hello,

I find it hard to go through code without seeing a live example to edit, so here is some code that I used which comes from the 3rd menu in this tutorial:
How to create Horizontal CSS menus in DotNetNuke using the HouseMenu

You have to be really careful with the currentitem element as I found that other elements specified before in the HouseMenuNav class can easily override the colors specified for the currentitem. - You may find it easier to experiment with the web developers toolbar and strip out elements at a time.

Troubleshooting DotNetNuke Skins

The code below should help you solve your problem though.


(This is just for the main menu, not the sub menu)
/* Horizontal Menu */
#HouseMenuNav
{
    /*menu wrapper div */
    margin-left: 50px;
    font: bold 100% Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
}

#HouseMenuNav ul
{
    padding: 0;
    margin: 0;
    list-style: none;
    float: left;
}
#HouseMenuNav ul
{  
    border: 0;
    background-image: url(buttons/button_sm.gif);
    background-repeat: repeat-x;
    background-color: #95353D;
}

#HouseMenuNav li
{
    list-style: none;
    float: left;
}
#HouseMenuNav li a:link, #HouseMenuNav li a:visited
{
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 4px 1em;
    border-right: 1px solid #711515;
}

#HouseMenuNav li a:hover
{
    background-image: url(buttons/button_hover_sm.gif);
    background-repeat: repeat-x;
    background-color: #711515;
    color: #FFF;
}

#HouseMenuNavCurrentLink
{
    background-image: url(buttons/button_selected_sm.gif);
    background-repeat: repeat-x;
    background-color: #ED9F9F;
    cursor: default;
}

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
whatthecrap
Nuke Newbie
Nuke Newbie
Posts:4

24 Aug 2007 2:57 PM  
thanks for the response. i will keep trying to work the issue. if you want to see what's happening, the url is: www.oliminc.com
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


25 Aug 2007 12:45 PM  
Besides that, you've got a very nice looking site.

I'm wondering how much of this you did yourself?

Joe Craig
DNN Creative Support
Subscribe to the website
whatthecrap
Nuke Newbie
Nuke Newbie
Posts:4

29 Aug 2007 10:18 AM  
i just created everything in photoshop and flash. thanks for the compliment! still trying to nail it down so it displays properly in all browsers. should be up by the end of the week.
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > #HouseMenuNavCurrentItem - still not working



ActiveForums 3.7

Latest Forum Posts

Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
DotNetNuke Modules
RSS Feeds