PDA

View Full Version : Dynamic Menu not working with safari


collegefootballsim.com
04-29-2010, 07:41 PM
Hello,

I'm stuck again with this dynamic menu in vwd2008, this time with safari. It does not show the menu. I have added this code


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
'Safari Hack
If Request.UserAgent.IndexOf("AppleWebKit") > 0 Then
Request.Browser.Adapters.Clear()

End If

End Sub


to my masterpage. However, it doesn't work when the page loads the first time, but if you hit reload then the dynamic menu displays.

The website is www.prsportsperformance.com if you want to see what i mean