Hello to all, I am an asp.net developer working on a small project. I want to have tooltip functionality in my gridview so i decided to use your QTip Tooltip Plugin.Gridview has a linkbutton so i thought of binding the QTIP Plugin to my LinkButton.. Here
is the Code its not a GirdView Code but a small Button which i am dynamically binding the Qtip Plugin by Javascript.
<asp:Button ID="Btn1" runat="server" Text="My Name is Rahul Jain" onmouseout="alert('Hallav');" onmouseover="javascript:Obj('#Btn1');" />
<asp:Label ID="LblName" runat="server" Text="I am Rahul Jain" onmouseout="alert('Hallav');" onmouseover="javascript:Obj('#LblName');"></asp:Label>
$(Para1).qtip({ content: 'Presets, presets and more presets. Let\'s spice it up a little with our own style!', style: { width: 200, padding: 5, background: '#A2D959', color: 'black', textAlign: 'center', border: { width: 7, radius: 5, color: '#A2D959' },
name: 'dark' // Inherit the rest of the attributes from the preset dark style } }); }
What happens when i hover or mouseover to my gridviewlinkbutton or my sample code button its hangs my IE 8.0 its works in all the browser but its hangs the browser in IE 8.0. Please Rely to my Post and tell me whether the problem with the plugin or my way
of doing.
the qtip() function isn't supposed to be called onmouseover. It's an initialization function that sets up the onmouseover event to show the tooltip. You're both initializing the functionality and then showing it once it's initialized, all on every mouseover.
That's why it's slow.
In this case, you might call something like $('#Btn1, #LblName').qtip({ your options here }); in $(document).ready() or whenever those elements are rendered if they aren't there on the initial page load.
Thanks for replying, actually posted the same question on there forum and they replied that its was a issue with the plugin they will be releasing the plugin ASAP
rickjackson
Participant
1362 Points
405 Posts
Jquery QTip Plugin Issue Hangs the Browser in IE 8.0.
Jan 19, 2010 12:35 PM|LINK
Hello to all, I am an asp.net developer working on a small project. I want to have tooltip functionality in my gridview so i decided to use your QTip Tooltip Plugin.Gridview has a linkbutton so i thought of binding the QTIP Plugin to my LinkButton.. Here is the Code its not a GirdView Code but a small Button which i am dynamically binding the Qtip Plugin by Javascript.
<asp:Button ID="Btn1" runat="server" Text="My Name is Rahul Jain" onmouseout="alert('Hallav');" onmouseover="javascript:Obj('#Btn1');" />
<asp:Label ID="LblName" runat="server" Text="I am Rahul Jain" onmouseout="alert('Hallav');" onmouseover="javascript:Obj('#LblName');"></asp:Label>
<script type="text/javascript" language="javascript">
function Obj(Para1)
{
$(Para1).qtip({ content: 'Presets, presets and more presets. Let\'s spice it up a little with our own style!', style: { width: 200, padding: 5, background: '#A2D959', color: 'black', textAlign: 'center', border: { width: 7, radius: 5, color: '#A2D959' }, name: 'dark' // Inherit the rest of the attributes from the preset dark style } }); }
What happens when i hover or mouseover to my gridviewlinkbutton or my sample code button its hangs my IE 8.0 its works in all the browser but its hangs the browser in IE 8.0. Please Rely to my Post and tell me whether the problem with the plugin or my way of doing.
I am Hosting my Project sample Source Code here is the link : http://www.mediafire.com/?ynd5ydn3ono
Please Reply ASAP Thanks
gt1329a
All-Star
15377 Points
2501 Posts
ASPInsiders
MVP
Re: Jquery QTip Plugin Issue Hangs the Browser in IE 8.0.
Jan 20, 2010 03:05 AM|LINK
the qtip() function isn't supposed to be called onmouseover. It's an initialization function that sets up the onmouseover event to show the tooltip. You're both initializing the functionality and then showing it once it's initialized, all on every mouseover. That's why it's slow.
In this case, you might call something like $('#Btn1, #LblName').qtip({ your options here }); in $(document).ready() or whenever those elements are rendered if they aren't there on the initial page load.
A guide to combining jQuery and ASP.NET: jQuery for the ASP.NET developer
rickjackson
Participant
1362 Points
405 Posts
Re: Jquery QTip Plugin Issue Hangs the Browser in IE 8.0.
Jan 20, 2010 06:45 PM|LINK
Thanks for replying, actually posted the same question on there forum and they replied that its was a issue with the plugin they will be releasing the plugin ASAP
http://craigsworks.com/projects/qtip_new/forum/post/3410/#p3410 ==> this is the link where i posted my question