Welcome Guest Search | Active Topics | Sign In | Register

Browser compatibility issues Options
scott
Posted: Thursday, June 7, 2007 1:01:07 PM
Rank: Newbie
Groups: Member

Joined: 6/7/2007
Posts: 4
Using Firefox 2.0.0.4, the eo.webmenu control displays in a vertical align,ment instead of horizontally. Works nicely in IE 7.

In your "10 Reasons to choose us", you advertise that "Wide cross-browser support. EO.Web Controls support IE 5.0+, Netscape 6.2+, Mozilla 1.2+, Firefox 1.0+, Opera 7.2+ and Safari 1.2+; "

Please advise.
Thanks.
eo_support
Posted: Thursday, June 7, 2007 1:05:16 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
You mean you created a menu that would appear as a vertical menu in FireFox but a horizontal menu in IE? Please post your menu definition and we would be glad to find out what's wrong.
scott
Posted: Thursday, June 7, 2007 1:26:04 PM
Rank: Newbie
Groups: Member

Joined: 6/7/2007
Posts: 4
This is an ASP.NET 2.0 app written in VS05.
I believe this is what you're asking for:

Private Sub BuildMenu(ByVal col As EO.Web.MenuItemCollection, ByVal mnu As webapp.MenuItem)
Dim oItems As System.Collections.Generic.List(Of webapp.MenuItem)
Dim oMnu As New MenuManager
Static oStyleMgr As New StyleManager
If mnu Is Nothing Then
oItems = oMnu.GetMenuItems(0)
Else
oItems = mnu.Items
End If

If oItems.Count > 0 Then
For Each mi As webapp.MenuItem In oItems
Dim sUrl As String = mi.NavigateTo
Dim o As New EO.Web.MenuItem()
o.NavigateUrl = sUrl
o.Text.Html = mi.Text
If mi.Level = 0 Then
o.NormalStyle.CssClass = String.Format("{0}_normal", mi.StyleCode)
o.HoverStyle.CssClass = String.Format("{0}_hover", mi.StyleCode)
o.SelectedStyle.CssClass = String.Format("{0}_selected", mi.StyleCode)
o.Width = 100
'build leftNav
If mi.SectionID = CurrentSection.ID Then
o.Selected = True
End If

Else
o.NormalStyle.CssClass = String.Format("{0}_drop_normal", mi.StyleCode)
o.HoverStyle.CssClass = String.Format("{0}_drop_hover", mi.StyleCode)
o.SelectedStyle.CssClass = String.Format("{0}_drop_selected", mi.StyleCode)
End If
col.Add(o)

Next
End If

End Sub
scott
Posted: Thursday, June 7, 2007 1:26:47 PM
Rank: Newbie
Groups: Member

Joined: 6/7/2007
Posts: 4
PS.
Disregard the Left nav stuff.
eo_support
Posted: Thursday, June 7, 2007 1:37:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
That part only creates menu item and it looks fine to me. That only thing that I can not tell is the CssClass that you are using.

Try to temprorarily replace BuildMenu with some code that hardcodes a few menu items and do not use
your MenuManager and StyleManager. A lot of times even if everything is taken care of in our menu to generates correct DHTMLs based on the type of the browsers, different browsers can still interpret CSS class you provided very differently.

Let us know if that is the case.
scott
Posted: Thursday, June 7, 2007 1:55:33 PM
Rank: Newbie
Groups: Member

Joined: 6/7/2007
Posts: 4
You were dead on target. There was a minor css tweak necessary. I greatly appreciate your quick and accurate deduction.

You've made me happy and I am going to look at EO for more tools in the future.
eo_support
Posted: Thursday, June 7, 2007 2:00:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Our pleasure. Please feel free to let us know if there is anything else.
fxmaker
Posted: Monday, June 11, 2007 2:38:54 PM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 15
Scott, you will find EO's support to be fantastic. I've received replies from them late at night, on weekends, and on holidays.

(unsolicited comments)


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.