Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can i display Button in qtip?
20th October, 05:42
Post: #1
Can i display Button in qtip?
Hi,
i have 1 aspx page,
if i hover on a tag,
can i display a button or any other control in Qtip?

Regards and Thanks
Bhavika
Find all posts by this user
Quote this message in a reply
13th November, 16:10
Post: #2
Can i display Button in qtip?
Yes. For the content property use the a jQuery object for your element:

Example:

<html>
<head>
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="jquery.qtip-1.0.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('#mybutton').qtip({
content: $('#mytooltip'),
show: 'mouseover',
hide: 'mouseout'
})
});
</script>
</head>
<body>
<span id="mybutton">Click Me</span>
<div id="mytooltip" style="display: none;">Hello World!</div>
</body>
</html>
Find all posts by this user
Quote this message in a reply
26th November, 09:10
Post: #3
RE: Can i display Button in qtip?
(13th November 16:10)jumpstart79 Wrote:  Yes. For the content property use the a jQuery object for your element:

Example:

<html>
<head>
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="jquery.qtip-1.0.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('#mybutton').qtip({
content: $('#mytooltip'),
show: 'mouseover',
hide: 'mouseout'
})
});
</script>
</head>
<body>
<span id="mybutton">Click Me</span>
<div id="mytooltip" style="display: none;">Hello World!</div>
</body>
</html>

-----------------------------------------------------------------------

Hello,

I agree with you.

This is right way to display button.

Thanks & Regards,
Clovis Dane

web design company | web design services
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)