473,548 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1312
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
3087
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 around here? If so, do you know if Ajax.NET can be used without prototype.js? -- "The most convoluted explanation that fits all of the made-up...
1
16484
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 - microlink pattern tutorial : A microlink is a link that opens up
3
1402
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", true); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
6
3996
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 like that. I'm fairly experienced with ASP.Net, but new to AJAX. Please help if you can. Thanx.
7
1953
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 appear under that text box having all suburb name start with that character. How do I achieve that? Any hints…… Any help will be appreciated. ...
11
3012
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 and IE8. There is no issue when the controls are allowed to complete loading. Can you please tell me the best practice that handles this? ...
7
6638
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 tabcontainer which has 1 panel already, however I want to try create the TabPanels dynamically. I followed the advice here: ...
9
3706
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 of the mobile IE, it pops up several JScript error and the ajax behavior is not funtional at all. Where can I look for any possible issue? Thanks.
4
11699
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 AutoCompleteExtender I want to automatically retreive data from the database and populate the fields on the screen. How do I trigger a server side event after the...
0
7512
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7438
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7951
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3475
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.