I have designed the quick launch for a SharePoint 2010 site in master page, Now for some pages I do not want the quick launch to show up, (Or better say some SharePoint groups).
So I added a web part with the following code to hide the Quick launch for that pages,
<style>
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
</style>
Now the problem is , if the page loads too slow the master page will show the quick Launch, till the web part executes, and the users can see or even click the links in the quick launch, that they are not supposed to see..
How can I get rid of this problem?