Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I create the HTML when mousing over?
15th September, 15:33
Post: #1
How do I create the HTML when mousing over?
I want to create a qtip when mousing over text on my page. How do I do that? Currently I have an example where all the html is formatted up front but I want to create it dynamically. Thanks!
Find all posts by this user
Quote this message in a reply
16th September, 13:30
Post: #2
RE: How do I create the HTML when mousing over?
JS Code
// Replace .selector with a selector that matches the elements you want to apply qTip to on your page
$('.selector').each(function(){
  var content = 'blah';
 
  $(this.qtip({
      content: content
   });
});

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
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)