我的JS脚本导航栏无法在Safari中的aspx自定义导航栏上呈现,但它在IE和Firefox中运行良好。在Safari / Opera中单击栏时,栏不会扩展。从aspx页面生成的HTML将在所有浏览器中正常运行,但我在Safari / Opera中丢失了我的webresources(图片)。麻烦的是,我需要在所有浏览器上使用它,而不是从头开始创建一个新的导航栏,我想看看我是否可以调整并修复这个。
我正在使用Infragistics UltraWebListBar。
有什么想法吗?
Default.aspx的
<%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_odbo9ghv" %>
<%@ Register Assembly="Infragistics2.WebUI.UltraWebListbar.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.WebUI.UltraWebListbar" TagPrefix="iglbar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>NavBar</title>
<link type="text/css" rel="Stylesheet" href="/_layouts/NavBar/ig_common/20071CLR20/Styles/Office2007Blue/ig_WebTree.css" />
<link href="/_layouts/NavBar/ig_common/20071CLR20/Styles/Office2007Blue/ig_WebListBar.css " rel="Stylesheet"
type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<iglbar:UltraWebListbar ID="lstNavBar" runat="server" BorderWidth="" BarWidth="100%" CssClass="igwlbExplorerBarMainBlue2k7" ImageDirectory="/_layouts/CGBNavBar/ig_common/20071CLR20/Styles/Office2007Blue/WebListBar/" GroupSpacing="0px" ViewType="ExplorerBar" HeaderClickAction="ExpandOnClick" Width="100%">
<DefaultItemHoverStyle CssClass="igwlbItemSelectedBlue2k7" Cursor="Default">
</DefaultItemHoverStyle>
<DefaultItemSelectedStyle CssClass="igwlbItemSelectedBlue2k7" Cursor="Default">
</DefaultItemSelectedStyle>
<DefaultItemStyle CssClass="igwlbItemNormalBlue2k7" Cursor="Hand">
</DefaultItemStyle>
<DefaultGroupStyle CssClass="igwlbGroupExplorerBarNormalBlue2k7" Height="100%" Cursor="Hand">
</DefaultGroupStyle>
<DefaultGroupHeaderAppearance>
<CollapsedAppearance ExpansionIndicatorImage="downarrows_white.gif">
<Images>
<ExpansionIndicatorImage Url="downarrows_white.gif" />
</Images>
<Style CssClass="igwlbExplorerBarHeaderCollapsedBlue2k7"></Style>
</CollapsedAppearance>
<HoverAppearance>
<Style CssClass="igwlbExplorerBarHeaderHoverBlue2k7"></Style>
</HoverAppearance>
<ExpandedAppearance ExpansionIndicatorImage="uparrows_white.gif">
<Images>
<ExpansionIndicatorImage Url="uparrows_white.gif" />
</Images>
<Style CssClass="igwlbExplorerBarHeaderExpandedBlue2k7"></Style>
</ExpandedAppearance>
</DefaultGroupHeaderAppearance>
</iglbar:UltraWebListbar>
</div>
</form>
答案 0 :(得分:2)
查看他们支持的环境页面:Link to Infragistics supported environments page并且看到Safari中仅支持Ultra控件中不使用Ajax的WebSchedule,Opera未列出,但情况相同。