This is our menu (to the right). This our problem, when we load a page (to the left). This menu index temporarily shows for a second or two, when we load a page. Sometimes it won't flash this screen other times it will. Any tips? Below is some of the source
code. Any help would be appreciated. Thanks
Here is our source code behind our menu (I excluded the other panels and labels - this only shows the Home panel and label)
It may be the speed that when you are loading the page. At the time the javascript files are not loaded, the page will remain its initial state, and when javascript files are all loaded, the controls get work, and you can see the final presentation.
Sometimes, browser may cache the javascript files, so they are not loaded from server again. They are just local versions. At this time, the page will work as normal.
Interesting, kind of thought about that, because our pages load slowly, and we don't cache any of the scripts. There are some things Google PageSpeed suggested we do, I'm going to try some of those suggestions first to speed up our site; thanks.
By the way, I haven't tried that Jquery block, yet.
asnjduarte
Member
2 Points
10 Posts
AJAX Dropdown menu
May 06, 2012 06:37 AM|LINK
We are using Visual Studio ASP.Net C#.
This is our menu (to the right). This our problem, when we load a page (to the left). This menu index temporarily shows for a second or two, when we load a page. Sometimes it won't flash this screen other times it will. Any tips? Below is some of the source code. Any help would be appreciated. Thanks
Here is our source code behind our menu (I excluded the other panels and labels - this only shows the Home panel and label)
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: AJAX Dropdown menu
May 07, 2012 03:27 AM|LINK
You can look into JQuery UI Blocker here:
http://malsup.com/jquery/block/#demos
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
asnjduarte
Member
2 Points
10 Posts
Re: AJAX Dropdown menu
May 07, 2012 06:49 AM|LINK
Thanks, for the reply. I will most likely test it out May 8th.
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: AJAX Dropdown menu
May 09, 2012 04:02 AM|LINK
Hello
It may be the speed that when you are loading the page. At the time the javascript files are not loaded, the page will remain its initial state, and when javascript files are all loaded, the controls get work, and you can see the final presentation.
Sometimes, browser may cache the javascript files, so they are not loaded from server again. They are just local versions. At this time, the page will work as normal.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
asnjduarte
Member
2 Points
10 Posts
Re: AJAX Dropdown menu
May 10, 2012 07:25 AM|LINK
Interesting, kind of thought about that, because our pages load slowly, and we don't cache any of the scripts. There are some things Google PageSpeed suggested we do, I'm going to try some of those suggestions first to speed up our site; thanks.
By the way, I haven't tried that Jquery block, yet.