javascript - jQuery tooltips on a dynamically generated page -
him i'm trying add jquery tooltip dynamically generated list, text want display tooltip on in table, css tooltip doesn't work:
i tried add jquery tooltip page, works on local test page, think problem has uniqur ids, , i'm not sure how implement bind function explained there:
"to bind of targets corresponding content, takes 1 line:
$(".tooltip-target").ezpz_tooltip(); calling ezpz_tooltip()
on class bind hover event each element, , because of naming convention know content display."
can me understand have make work on dynamic page?
the page euroworker's checkout product page. (you'll have add items basket, click home button on left of bnav bar , click little white button "kjøp" orange button "handlevogn".)
thanks.
i believe can call jquery(".tooltip-target").ezpz_tooltip();
every time add new item (assuming have tooltip-target
class), i'm not sure right.
another way achieve want using plugin livequery. plugin you'll need like:
jquery(".tooltip-target").livequery(function(){ j(this).ezpz_tooltip(); })
Comments
Post a Comment