Page 1 of 1

need help with basic -- tooltip --

Posted: Tue Jul 17, 2007 1:34 am
by giliat
pickle | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


the basic window tooltip in html look like this

[syntax="html"]<A HREF="www.somesite.com" TITLE="tooltip text">somesite</A>
i need to put the TITLE inside my echo that look like that

Code: Select all

echo "<a href=\"location_page.php?location=",$location,"&location_code="'$code,"\" onClick=\"return popitup(this.href);return false;\" >",$filed'"</a>";

where can i put the TITLE="tooltip text" ????


thanks
gil




pickle | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Tue Jul 17, 2007 1:51 am
by John Cartwright
Anywhere inside the <a> element. Make sure you escape the double quotes, however.