[PHP] mouse over problem on php

2004-04-24 Thread gowthaman ramasamy
hi list ,
In the web page, i display different bars (actually tables with single
column, with cellpadding=1 and color=xxx) based on the information
parsed from MySQL database. I, now want to display more information by
mouse over when ever user moves the cursor over the bar(actually single
cell table).
I use a hreff=xx.xx.com title=$display ./a. and  have two
problems in this ...
1) i need to have some txt/figure to be linked. But i dont want to keep
any thing in the table (single cell). Can i display some text when mouse
is moved over table(cell).

2)even if i hyperlink  the text with title attribute... only the text
before the first space (the very first word) is displayed. Not the
entire sentence.

Many thanks in advance ..
gowtham
-- 
Ra. Gowthaman,
Graduate Student,
Bioinformatics Lab,
Malaria Research Group,
ICGEB , New Delhi.
INDIA

Phone: 91-9811261804
   91-11-26173184; 91-11-26189360 #extn 314

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mouse over problem on php

2004-04-24 Thread Andy B
try javascript

- Original Message - 
From: gowthaman ramasamy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 24, 2004 8:11 AM
Subject: [PHP] mouse over problem on php


 hi list ,
 In the web page, i display different bars (actually tables with single
 column, with cellpadding=1 and color=xxx) based on the information
 parsed from MySQL database. I, now want to display more information by
 mouse over when ever user moves the cursor over the bar(actually single
 cell table).
 I use a hreff=xx.xx.com title=$display ./a. and  have two
 problems in this ...
 1) i need to have some txt/figure to be linked. But i dont want to keep
 any thing in the table (single cell). Can i display some text when mouse
 is moved over table(cell).
 
 2)even if i hyperlink  the text with title attribute... only the text
 before the first space (the very first word) is displayed. Not the
 entire sentence.
 
 Many thanks in advance ..
 gowtham
 -- 
 Ra. Gowthaman,
 Graduate Student,
 Bioinformatics Lab,
 Malaria Research Group,
 ICGEB , New Delhi.
 INDIA
 
 Phone: 91-9811261804
91-11-26173184; 91-11-26189360 #extn 314
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mouse over problem on php

2004-04-24 Thread John W. Holmes
gowthaman ramasamy wrote:
hi list ,
Hi. This has nothing to do with PHP.

In the web page, i display different bars (actually tables with single
column, with cellpadding=1 and color=xxx) based on the information
parsed from MySQL database. I, now want to display more information by
mouse over when ever user moves the cursor over the bar(actually single
cell table).
I use a hreff=xx.xx.com title=$display ./a. and  have two
problems in this ...
1) i need to have some txt/figure to be linked. But i dont want to keep
any thing in the table (single cell). Can i display some text when mouse
is moved over table(cell).
If you want hyperlinks and other features in the mouse over area, then 
you'll need to make it a layer that's hidden or not based upon where the 
mouse is. You're talking DHTML/JavaScript here, not PHP.

2)even if i hyperlink  the text with title attribute... only the text
before the first space (the very first word) is displayed. Not the
entire sentence.
Put double quotes around your attributes. title=$display. Again, not a 
PHP issue.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] mouse over problem on php.. sorry Ignore this

2004-04-24 Thread gowthaman ramasamy
I am very sorry for that.  I am very sorry i bugged  you all. anyway
thanks for the hints ...

thanks a lot
 
-- 
Ra. Gowthaman,
Graduate Student,
Bioinformatics Lab,
Malaria Research Group,
ICGEB , New Delhi.
INDIA

Phone: 91-9811261804
   91-11-26173184; 91-11-26189360 #extn 314

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mouse over problem on php

2004-04-24 Thread Jordi Canals
gowthaman ramasamy wrote:
hi list ,
[snip]

I use a hreff=xx.xx.com title=$display ./a. and  have two
[snip]

Try enclosing $display betwen  like:

echo 'a href=xx.xx.com title='. $display ' ... /a';

Regards ...

I do not agree about it's a Javascript issue, the title attribute is an 
standard HTML one. The error possibly was in the PHP code not passing 
the string in the correct form.

Regards,
Jordi.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] mouse over problem on php

2004-04-24 Thread -{ Rene Brehmer }-
According to historical records, on 24 Apr 2004 17:41:14 +0530 gowthaman
ramasamy wrote about [PHP] mouse over problem on php:

{snip}
2)even if i hyperlink  the text with title attribute... only the text
before the first space (the very first word) is displayed. Not the
entire sentence.

Using proper HTML will solve this ... just use the  around the attributes
like you're supposed to. 

a href=link title=titlelinktext/a

or

td title=titlecell-contents/td

the TITLE attribute will work with any block or inline tag... IF you use
proper HTML to do it


Rene

-- 
Rene Brehmer
aka Metalbunny

~ If you don't like what I have to say ... don't read it ~

http://metalbunny.net/
References, tools, and other useful stuff...
Check out the new Metalbunny forums at http://forums.metalbunny.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php