473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

AJAX + Rubberized Text (GMail Subject Like)

Hello,

I am developing a site in PHP, MySQL using AJAX Technology. There are
various dynamic datas being displayed in the page (from MySQL
database).

Functionality Desired:
1. Open browser window.
2. Make sure it's not maximized.
3. Let the text at one of the table cell be "Hello, How are you"
4. Decrease the width of the browser window slowly.
5. The text changed from

"Hello, How are you"
to
"Hello, How are y ..."
to
"Hello, How ..."

instead of the text moving behind the scroll.

Examples:
1. GMail
Login >> Inbox >> (Focus on Subject Column)

2. Windows Live Mail (Hotmail)
Login >> Inbox >> (Focus on Subject Column)
Please refer any article/tutorial/concept or code (if any) available.

Thanks and Regards.

Manish

Jun 23 '06 #1
4 1301
text-overflow: ellipsis

as in

<div style="border: medium none; position: absolute; left: 20px; top:
50px;
width: 100%; height: 20px; overflow: hidden; text-overflow:
ellipsis">
<nobr>Hello, how are you?</nobr>
</div>

Note that only IE (and maybe Safari) supports this functionality.

Manish wrote:
Hello,

I am developing a site in PHP, MySQL using AJAX Technology. There are
various dynamic datas being displayed in the page (from MySQL
database).

Functionality Desired:
1. Open browser window.
2. Make sure it's not maximized.
3. Let the text at one of the table cell be "Hello, How are you"
4. Decrease the width of the browser window slowly.
5. The text changed from

"Hello, How are you"
to
"Hello, How are y ..."
to
"Hello, How ..."

instead of the text moving behind the scroll.

Examples:
1. GMail
Login >> Inbox >> (Focus on Subject Column)

2. Windows Live Mail (Hotmail)
Login >> Inbox >> (Focus on Subject Column)
Please refer any article/tutorial/concept or code (if any) available.

Thanks and Regards.

Manish


Jun 23 '06 #2
On 23 Jun 2006 07:31:01 -0700 strawberry wrote:
text-overflow: ellipsis

Note that only IE (and maybe Safari) supports this functionality.


Which makes it a no-go for any serios kind of webpage. Stick to CSS
standards and don't make your site unuseable for the sake of some eyecandy
which gets dull after 3 times looking at it...

Best regards,
Jan Thomä
Jun 24 '06 #3
It's true that this is probably just eyecandy - but it won't make your
site unusable in other browsers. If you view gmail (who probably think
of themselves as 'serious') through Firefox, it works fine - you just
don't see the ellipsis.

Jan Thomä wrote:
On 23 Jun 2006 07:31:01 -0700 strawberry wrote:
text-overflow: ellipsis

Note that only IE (and maybe Safari) supports this functionality.


Which makes it a no-go for any serios kind of webpage. Stick to CSS
standards and don't make your site unuseable for the sake of some eyecandy
which gets dull after 3 times looking at it...

Best regards,
Jan Thomä


Jun 24 '06 #4
Hello All,

Thanks for the valuable views.

Regards.
Manish
strawberry wrote:
It's true that this is probably just eyecandy - but it won't make your
site unusable in other browsers. If you view gmail (who probably think
of themselves as 'serious') through Firefox, it works fine - you just
don't see the ellipsis.

Jan Thomä wrote:
On 23 Jun 2006 07:31:01 -0700 strawberry wrote:
text-overflow: ellipsis

Note that only IE (and maybe Safari) supports this functionality.


Which makes it a no-go for any serios kind of webpage. Stick to CSS
standards and don't make your site unuseable for the sake of some eyecandy
which gets dull after 3 times looking at it...

Best regards,
Jan Thomä


Jun 26 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
3
by: servandomontero | last post by:
I have a simple AJAX script that sends and retrieves a text file. The ajax function is called from index.html .... var obj = document.getElementById(objID); xmlHttp.open("GET", "testing.txt",...
6
by: HockeyFan | last post by:
I'd like to have an AJAX textbox that after the user fills in, will auto-fill another textbox on the page without having a postback occur. It doesn't have to do any filtering or any other thing...
7
by: SV | last post by:
I am using ASP.Net / VB.Net v 2005. I want to add text recognition to one of the text box of suburb in my form. What I want to do is when user type any character in that text box, one dynamic list...
11
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
9
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I downloaded the sample application that the Microsoft video ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6 emulator. After enabling the script error reporting...
4
by: Peter | last post by:
ASP.NET 2.0 I have an AutoCompleteExtender which works fine- I am using name, id pair in the WebService , but what I am trying to do is: once the user selects an item from the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.