doesn't work unless yo use ID & Target.
cronin - February 5, 2007 - 19:28
| Project: | Hovertips and Clicktips |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hi,
I've tried all the ways you've said your module works, however I've only been able to get the Hover over meand I'll appear to work.
Is there any way you can make it so that you don't need to rely on ID's? What if I wanted to add this to lists generated through views? I would make my tpl file say
<?php
print $title;
?>
#1
Sorry, I didn't use the code bbcode so my examples were cut off. What I meant was that I was only able to get
<div id="this">Hover over me</div><div target="this">and i'll appear</div>to work. Is there any way you can make it work without ID's? Because I want to add it to a tpl file for my Views generated list which would look like this
<div id="this"><?php print $title ?></div><div target="this">text here</div>but that only works for the first link as you can't have the same ID on the page multiple times.
#2
Do you have an input filter enabled which is inserting <br> or other tags in your HTML? To check, view the node and use your browser's view source function. Mostly likely, the source reaching your browser is not the same as what you typed.
Another user suggested making an input filter specifically for hovertips, which is a good idea but I have had no time to work on it.
#3
http://drupal.org/node/114185