Hi all,
Question is, Is it possible to make a tool tip based on the content saved in a .txt file? If yes, Can you please tell me how?
Regards,
Sameer.
Hi all,
Question is, Is it possible to make a tool tip based on the content saved in a .txt file? If yes, Can you please tell me how?
Regards,
Sameer.
You could try PHP - something like this:
<?php
// Write out ToolTip.txt file
if ($handle = opendir("path_to_dir_containing_file")) {
while (false !== ($file = readdir($handle))) {
if ($file == "ToolTip.txt") {
echo ("<h2>Tool Tip</h2><p class=\"tooltip\">");
$file_contents = file($file);
$array_items = sizeof($file_contents);
$x = 0;
while ($x < $array_items) {
echo ("".$file_contents[$x]."<br />");
$x++;
}
echo ("</p>");
}
}
closedir($handle);
}
?>
i use this one its really cool its jquery.
its called jtip
ops but u save the tip as a htm file.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.