Re: OT: I am having some difficulties with Tooltip... [message #181807 is a reply to message #181805] |
Tue, 04 June 2013 05:35 |
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...
|
|
|