noesac Posted August 12, 2010 Share Posted August 12, 2010 I'm trying to install a tooltip on the product-list.tpl status availability (e.g. "Available", "Out of stock"). So when someone hovers over "Out of stock" for example, it might show "Restock in 2-4 weeks". I'm using this script: http://flowplayer.org/tools/demos/tooltip/index.htmlI have inserted onmouseover="$("[title]").tooltip();" into the following line in product-list.tpl: {if $product.quantity > 0}{l s='Available'}{elseif $product.allow_oosp}{l s='Pre-order'}{else}{l s='Out of stock'}{/if} And then install this code at the top of the same product-list.php page: And then the CSS updates. This doesn't seem to be working for me, can anyone see what I'm doing wrong? Link to comment Share on other sites More sharing options...
phrasespot Posted August 14, 2010 Share Posted August 14, 2010 I have inserted onmouseover="$("[title]").tooltip();" into the following line in product-list.tpl: {if $product.quantity > 0}{l s='Available'}{elseif $product.allow_oosp}{l s='Pre-order'}{else}{l s='Out of stock'}{/if} Paste the complete anchor tag here with the modifications you made please Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now