IE 9 Sidebar Issue


Author Message
Steven Webster

Posted: 6/1/2011
Quote message 

Running windows 3.0 RC2 against a DNN 5.5.2 and 5.6.2 system. It seems like the sidebar panes are not collapsing on IE9 browsers when no content it placed within them. Works fine on FF, Chrome and Safari
 
Craig

Posted: 6/17/2011
Quote message 

I have the same issue on IE7 but not on IE8...
 
Steven Webster

Posted: 6/20/2011
Quote message 

I'm seeing the same
 
TheRune

Posted: 6/21/2011
Quote message 

well I'm not sure if it will help, but here's the script which should collapse the sidebars - perhaps you can debug it? :)


Private Sub CollapseSidebar(ByVal ParamArray sidebars As String())
For Each sidebar As String In sidebars
Dim sb As Control = Me.FindControl(sidebar)
If Not IsNothing(sb) Then
If sb.Controls.Count = 0 And Not Me.Page.ClientScript.IsStartupScriptRegistered(sb.ID) Then
Me.Page.ClientScript.RegisterStartupScript(sb.GetType(), sb.ID, String.Format("jQuery(function() {{ artCollapseSidebar('.art-well I'm not sure if it will help, but here's the script which should collapse the sidebars - perhaps you can debug it? :) [code] Private Sub CollapseSidebar(ByVal ParamArray sidebars As String()) For Each sidebar As String In sidebars Dim sb As Control = Me.FindControl(sidebar) If Not IsNothing(sb) Then If sb.Controls.Count = 0 And Not Me.Page.ClientScript.IsStartupScriptRegistered(sb.ID) Then Me.Page.ClientScript.RegisterStartupScript(sb.GetType(), sb.ID, String.Format("jQuery(function() {{ artCollapseSidebar('.art-{0}') }});", sidebar), True) End If End If Next End Sub [/code]') }});", sidebar), True)
End If
End If
Next
End Sub

 
TheRune

Posted: 6/21/2011
Quote message 

Well that was annoying

let me try a link instead

http://rune.bigom.dk/kode.aspx

at least I can trust my own sites :)