Using Javascript to change stylesheet - Problem with submenu level
Last Post 09/14/2010 5:44 PM by Joseph Craig. 1 Replies.
Author Messages
d4u
Nuke Newbie
Nuke Newbie
Posts:2


--
09/14/2010 1:55 PM
    Hi, I really need urgent help. I am using a javascript to allow the user to choose text/background colour, basically it changes stylesheets. Here is the code that I have used: http://www.dynamicdrive.com/dynamic...itcher.htm and here is my example: http://lrptintranet.com.dnnmax.com/ - you can see the colour image buttons top right under the main menu. The style sheet changer seems to work on the top menu level items but as soon as you choose a submenu the javascript doesn't seem to work. I don't know anything at all about javascript - can anyone offer any advice how I can get this working on the sub menu pages?
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    09/14/2010 5:44 PM
    If you don't know much about javascript, I'd recommend that you deal with that first.

    Second, the approach that you have looked at might not work with DotNetNuke.

    Third, you can find a Helper Skin Object here.  It might also offer the kind of functionality that you need.

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---