PDA

View Full Version : Loading dynamic content to Tooltip script



vaicaleu
09-13-2011, 07:01 PM
Hello masters.
I am new here and need help

I looking for and read this: http://www.dynamicdrive.com/dynamicindex5/stickytooltip.htm

My target: Use this for my wordpress blog.

Default, wordpress homepage use the_content(); and displays full content of each article if you do not use <!--more--> tag or the_excerpt();

I want to show the list of articles' title only but once mouseover on the title it will loading the content of full content such as http://www.dynamicdrive.com/dynamicindex5/stickytooltip.htm

In wordpress THEME/index.php this code use to load content:

<div class="art-PostContent">
<?php the_content(); ?>
</div>

I use:

<div id="mystickytooltip" class="stickytooltip">
<div style="padding:5px">
<div id="sticky1" class="atip" style="width:200px">
<div class="art-PostContent">
<?php the_content(); ?>
</div>
</div>
</div>
</div>

Result: Fail

Please help me this.