1. Insert the following CSS into the page. Comment the current definition:
Code:
#loading{
margin:0px auto;
background: #ffffff;
font-family: tahoma;
font-size: 11px;
color: #456a96;
}
2. In your page change the following element 'display' property like the way I've done following:
Code:
<div id="loading"> <!-- Removed the 'display:none;' from here -->
Code:
<div id="content" style="display: none;"> <!-- changed 'inline' to 'none' here -->
3. Change the window's onload event handler to the following manner:
Code:
window.onload = function(){
if(document.getElementById('loading') && document.getElementById('content')){
document.getElementById('loading').style.display = 'none';
document.getElementById('content').style.display = 'block';
}
addListGroupOnDomReady(); //This calls the function available in the config.js
}
4. Add the following line
Code:
initListGroup('chainedmenu', document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel, document.listmenu0.fourthlevel, 'saveit');
As the last line in 'config.js''s 'addListGroupOnDomReady' function.
5. Save all the files and reloads the page.
Bookmarks