473,500 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Delaying text apperance

I wish to be able to display a series of PHP generated messages one
after the other with a 2 second delay between them all. I figured
javascript would be the best way to achieve this. The number of PHP
messages is unkown until the page is generated. Does anyone have a
solution for this.

Yours

Damien
Jul 23 '05 #1
1 1220
In article <6b**************************@posting.google.com >,
st*********@digitalhosts.co.uk enlightened us with...
I wish to be able to display a series of PHP generated messages one
after the other with a 2 second delay between them all. I figured
javascript would be the best way to achieve this. The number of PHP
messages is unkown until the page is generated. Does anyone have a
solution for this.


PHP runs on the server.
Javascript runs on the client.

Have PHP generate the javascript and write its messages to a javascript
array, kind of like
http://www.devpapers.com/article/174

And then the javascript can use the javascript array and show the messages
with setTimeout.

HTH

--
--
~kaeli~
Profanity: the single language in which all programmers are
expert.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

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

Similar topics

2
7557
by: Macsicarr | last post by:
Hi All Wonder if you could help me. I have created a CMS system that allows the user to enter text and pic 'tags' for their own About us page, eg text.... text.... text.... text.......
21
1777
by: Agoston Bejo | last post by:
Hi, I would like to achieve the equivalent of META REFRESH but without the HTML meta refresh and without JavaScript. In other words, on server side I would like to wait some seconds, then redirect...
2
2882
by: Marcin | last post by:
hello, Anyone has an idea how can I delay the preview from my camera about 4 minutes? I want to delay capturing stream and then show it on screen. I used Stream Buffer Engine but I can't lock...
20
1367
by: pembeci | last post by:
I am using JavaScript to modify some text parts of a loaded document. The functions are loaded from a file at the header and run by: <body onLoad="..."> According to the the Venkman profile...
2
18057
by: VMI | last post by:
I'm trying to some dynamic searching to my windows Form so I added code in my TextBox.TextChanged so that, after every text change, a search is done to a datatable. So if I want to type the string...
2
1226
by: Tomek | last post by:
Hi, Please help me with this. I'm exporting data to excel file and I want to customize its apperance (i.e. bold columns name, auto size colums width, freeze some columns). Is it possible? I'm...
12
2387
by: one man army | last post by:
New to this, good programmer, picking up some js I wanted to set a line of text as text BOLD more text BOLD text BOLD I can set the text in javascript in a single <div>, but I tried this ...
3
2552
by: jweinberg1975 | last post by:
I would like for users to be able to select from a small number of options that come from a little drop down menu which then closes. .....
2
1576
by: Zytan | last post by:
If you have a disabled button in a form (or tabpage) whose background color is customized, the text on the disabled button will not be gray. In fact, it becomes a *brighter* version of the...
3
1217
by: sarellaravi | last post by:
hi to everyone, just help me out to do this. On my page i have a dropdownlist control,which contain 80 items. when i select the dropdownlist.i am able to veiw 35 items of the list at single look....
0
7136
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,...
0
7232
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...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
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,...
1
4923
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...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
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...

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.