Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9755
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | OT: I am having some difficulties with Tooltip... |
| Date | Tue, 04 Jun 2013 06:57:35 +0200 |
| Lines | 30 |
| Message-ID | <b15ae0FqhkuU1@mid.individual.net> (permalink) |
| References | <b5db2f85-b699-4f77-a432-2cf0ecb57228@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net SBiAkcniunv05Gc/0g/2Cg24/+FTklczTu3pe65djgEc4PwSmo |
| Cancel-Lock | sha1:KmTOSKYmLd6R5YRNlMpMLQwZRUI= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 |
| In-Reply-To | <b5db2f85-b699-4f77-a432-2cf0ecb57228@googlegroups.com> |
| Xref | csiph.com comp.lang.php:9755 |
Show key headers only | View raw
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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I am having some difficulties with Tooltip... khando Umpo <khandoumpo@gmail.com> - 2013-06-03 21:14 -0700
Re: I am having some difficulties with Tooltip... Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-04 00:50 -0400
Re: I am having some difficulties with Tooltip... khando Umpo <khandoumpo@gmail.com> - 2013-06-03 21:58 -0700
Re: I am having some difficulties with Tooltip... Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-04 01:42 -0400
Re: I am having some difficulties with Tooltip... khando Umpo <khandoumpo@gmail.com> - 2013-06-03 23:05 -0700
Re: I am having some difficulties with Tooltip... Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-06-04 11:01 +0000
OT: I am having some difficulties with Tooltip... "J.O. Aho" <user@example.net> - 2013-06-04 06:57 +0200
Re: OT: I am having some difficulties with Tooltip... khando Umpo <khandoumpo@gmail.com> - 2013-06-03 22:35 -0700
Re: OT: I am having some difficulties with Tooltip... Markus Grob <snoopy@ilnet.ch> - 2013-06-04 11:34 +0200
Re: OT: I am having some difficulties with Tooltip... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-04 17:50 +0200
Re: I am having some difficulties with Tooltip... Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-04 15:46 +0000
csiph-web