Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS jQuery
hi friends it is urgent pls help me while page loding horizantal sub menu will hide so pls help me how to active the sub menu while page is loding
Posted 1-Jan-13 18:24pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is not clear in your question why the menu is hide....
 
if this is for apply css property then maybe it can be work
try this
 
$(document).ready(function() {
   //set css for your control
   document.getElementById('#mydiv').css('display', 'block');
 });
 
Or you can put your script in jquery load event
http://api.jquery.com/load-event/[^]
  Permalink  
Comments
vasanthavijay at 2-Jan-13 4:07am
   
while page loading sub menu will not in active state so i want to show main menu and sub menu always...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 480
1 mhegazy94 460
2 Kornfeld Eliyahu Peter 315
3 Ravi Bhavnani 240
4 Shemeemsha RA 185
0 Sergey Alexandrovich Kryukov 6,890
1 OriginalGriff 6,761
2 CPallini 5,350
3 George Jonsson 3,609
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100