This is what I have so far but can't seem to get the tooltip to fire... Here's the code...
You can tell what's its looking for.. it reads the title from $n_title which it's doing just not displaying the tooltip...
Suggestions?
TIA!
<div id="scrollBox">
<div id="demotip"> </div>
<center>
<?php
$lines = file('modules/mod_norven/edit/files.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach($lines as $n_line)
{
list($n_id, $n_vid, $n_pic, $n_title) = explode('-', $n_line);
print '<p><a class=info href="'.$n_url.'/'.$n_path.'/'.$n_vid.'" rel="lightbox[flash 740 460]" ><div class="infobox"><div id="box"><div id="demo"><img src="'.$n_url.'/modules/mod_norven/images/vidimg/'. $n_pic .'" alt="no picture" height="60" width="100" title="'. $n_title .'" /></a></div></div></div></p><br />';
}
?>
</div>
<script>
$(document).ready(function() {
$("#demo img[title]").tooltip('#demotip');
});
</script>
You can tell what's its looking for.. it reads the title from $n_title which it's doing just not displaying the tooltip...
Suggestions?
TIA!
