FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » I am having some difficulties with Tooltip...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: OT: I am having some difficulties with Tooltip... [message #181807 is a reply to message #181805] Tue, 04 June 2013 05:35 Go to previous messageGo to previous message
khando Umpo is currently offline  khando Umpo
Messages: 4
Registered: June 2013
Karma:
Junior Member
On Tuesday, June 4, 2013 10:27:35 AM UTC+5:30, J.O. Aho wrote:
> On 04/06/13 06:14, khando Umpo wrote:
>
>> I want a tooltip to be displayed when I move the mouse over edit/delete links. tooltip is worming fine with the delete option , but is not working for the edit link. below is a part of my code which is running partially....please help in php
>
>>
>
>> <td align="center"><?php echo "<a class='tooltip' href=\"edituser.php?uid=".$row['uid']."\";> Edit<span>Edit user info</span></a>/ <a class='tooltip' href=\"deluser.php?uid=".$row['uid']."\">Delete<span>Delete This User</span></a>"?></td>
>
>
>
> This is really not PHP related, but about your formation of html and
>
> css. One thing you can do is to use the same kind of quotations, I know
>
> some close sourced browsers which has issues if you keep on mixing
>
> single and double quotes. Also it could help to have a title for the item.
>
>
>
> A PHP tips:
>
>
>
> To make things more readable you can use
>
>
>
>
>
>
>
> <a class="tooltip" href="edituser.php?uid=<?php echo $row['uid']; ?>">
>
>
>
>
>
> or if you need to type a lot:
>
>
>
> echo <<< EOF
>
> <a class="tooltip" href="edituser.php?uid={$row['uid']}";>
>
> EOF;
>
>
>
> and as you see it's more readable than what you have done.
>
>
>
> --
>
>
>
> //Aho

Thanx a lot Aho...i wish if i cud send you a screen shot of my page...i did the way you have explained above, but its not working either...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDO Unit Tests
Next Topic: problem encrypting data (AES_ENCRYPT/AES_DECRYPT)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 11:13:35 GMT 2024

Total time taken to generate the page: 0.04232 seconds