Can you explain better?
Is it possible that you can show the code that you are currently using?
I tried using a MasterPage approach to see if that would solve the problem and that's where I'm at now.
The sections are expanded.So what does this has to do with the menu?
Is the whole page something like a menu?Sessions are menus?
Of course you should provide all the markup page code + jscript or we are wasting our time and yours.
I get nothing without CSS file but it seems that the sections are hidden or display=none as you specify them.Are you using a master page?I think that is where the problem lies.
Anyhow that seems a lot of work.Have you tried doing something with Jquery?
Last edited by sapator; Feb 15th, 2012 at 08:18 PM.
That flash you saw is the problem. That flash of content should not show when the site loads. When the site initially loads, it displays an image of me. Then, when you click a menu link, it will display a collapsible frame. That's how it is suppose to work.
Edit:I don' see a flash but my internet line is faster than 200 lines of yours :P
Last edited by sapator; Feb 15th, 2012 at 08:55 PM.
Aha.Now i get it.I had to use iexplorer that is the slowest piece of trash in the universe.
Ye well you are creating the controls on the page and then you are hiding them.So yes there is a problem here.How about trying using <body onprerender> instead of onload.Not sure but have a go
The reason to use a Master Page or not shouldn't be driven by whether a page is taking a long time to load or not. If it is taking a long time to load, then you need to find out where the bottle neck it.
You can do this in a number of ways, both on the client and the server, to see what is taking a long time. I would suggest you look at YSlow on the client, and enabling Trace on the server.