Hi,
I have a website with a different home-page from other pages:
in the home-page I have this: <body class="front">
and in the other pages I have: <body class="not-front">
In my DNN skin I have solved this issue with the javascript.
In the home-page (HOME.ascx) I have write this code:
document.body.onLoad = setClassStyleBody();
function setClassStyleBody() {
document.body.className = 'front';
}
and in the other pages (PAGES.ascx) I heve write:
document.body.onLoad = setClassStyleBody();
function setClassStyleBody() {
document.body.className = 'front';
}
This work well but I don't think that is the best way...
How can I load a body style for the home and an another body style for the other pages?
How can I solve this problem without using the javascript?
I hope there is an answer! :-)
Thank you!