test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • wlada Friend
    #156039

    Hi All,

    I have a issue and don’t know hot to resolve it. Hope can someone help me.

    I need that someone click on one item in menu all template color change.
    Example: When someone select item 2 in menu all website change Droit teplate colot to Green.
    Or item 3 droid template color should be red.

    Can someone help me, i am front end developer and i know a little programing stuff.

    Thanks in advance

    Vladimir Bujanovic
    http://www.vladimirbujanovic.com

    gray Friend
    #361614

    On your home page JS is use to change menu and headers color.
    To set background in JS with mootools

    $('myDiv').setStyle('background-color', '#ff3');

    jQuery could be used aslo – $(‘div.body’).css(‘background-color’: ‘#0000ff’)

    wlada Friend
    #361796

    Ok, that is one of the solution, but I would love to change css on menu item click.
    Problem in that solutions is if i want to have different font color, header-bg, footer, …. i must to write lines for every property. Second problem is post back loading page. When page refresh i get gray color. Maybe I can check witch item has class Active and than change css property or change some class with .addClass method.
    But i think it will be best to load different css when user click on menu item.

    Something similar when you selecting color in user panel module. Module in top right position by default.

    How change template color working on this template??

    Thanks in advance

    Vladimir Bujanovic
    http://www.vladimirbujanovic.com

    gray Friend
    #361813

    Maybe this tips would be useful for you. It’s for another template, but it proposes a solution in any case.

    wlada Friend
    #361842

    Hey, thanks. Think that this will be useful.
    I will tray with this, and post feedback here.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  wlada 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum