Rank: Newbie Groups: Member
Joined: 7/22/2009 Posts: 3 Points: 9 Location: Garland, TX
|
Had a bit of trouble tracking this down, but finally narrowed it down to these 2 controls being on the same page: Menu and ToolTip.
Create a menu:
<code> <asp:Menu ID="menu1" runat="server" BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" StaticSubMenuIndent="10px"> <StaticSelectedStyle BackColor="#507CD1" /> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <DynamicHoverStyle BackColor="#284E98" ForeColor="White" /> <DynamicMenuStyle BackColor="#B5C7DE" /> <DynamicSelectedStyle BackColor="#507CD1" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <StaticHoverStyle BackColor="#284E98" ForeColor="White" /> <Items> <asp:MenuItem Text="Test1"><asp:MenuItem Text="Sub1"></asp:MenuItem></asp:MenuItem> <asp:MenuItem Text="Text2"></asp:MenuItem> </Items> </asp:Menu> </code>
Then create a tooltip:
<code> <aspnettooltip:tooltip ID="Tooltip1" runat="server"> <TargetContentTemplate> <img alt="" src="Images/box.gif" /> </TargetContentTemplate> <ToolTipContentTemplate> Test </ToolTipContentTemplate> </aspnettooltip:tooltip> </code>
When you run the page and move the mouse over the menu items, the menu item flashes between the styles tied to the Hover state and the non-hovered state. This seems to be only with IE7, it works fine in FireFox 3.5
|
Rank: Newbie Groups: Member
Joined: 7/22/2009 Posts: 3 Points: 9 Location: Garland, TX
|
Update:
I have IE v7.0.5730.13 and it flickers. I tried from another box, IE v6.0.3790.3959, it flickered as well. I tried from a third box, IE v8.0.6001.18783 it flickered here also.
Running from FF v3.5.1 does NOT flicker.
Now, if it were up to me, I'd force all 850 computers that we serve to upgrade to FF and ditch IE, but unfortunately that's not my call, so I have to get this working with IE.
Thanks :-)
|
Rank: Newbie Groups: Member
Joined: 7/22/2009 Posts: 3 Points: 9 Location: Garland, TX
|
A few more things I forgot to mention:
I'm using ASPNetToolTip.NET3.dll v1.9.1.0 and VS2008 v3.5 SP1.
|
Rank: Administration Groups: Administration
Joined: 7/26/2007 Posts: 676 Points: 1,728 Location: USA
|
I'm on the case - but it sounds tricky - and its for sure down to a browser bug rather than a code issue its self.... always nasty to work around. Have you tried modifying the Z-index of the tip? http://www.aspnetmedia.com
|