473,624 Members | 2,281 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 1232
In article <6b************ **************@ posting.google. com>,
st*********@dig italhosts.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
7577
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.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text.... text....
21
1798
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 the page. Is there any way to do this?
2
2891
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 the profile (LockProfile function gives me an application error. Help me please.
20
1387
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 the scripts run in a total of 170 milliseconds. However, when I load the page I can see the original form of the document (original text) and I can observe the text change. So is there a way to block the browser from displaying the document until...
2
18129
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 "Memphis", it'll do a search (and display) all the items after the user types "M", then another search (of "Me") when the user types "e", another search of "Mem" after "M", and so on. The problem is that there's so much data in the table that...
2
1235
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 asking how to do it from Visual Basic .NET not from VBA. It is easy to do it in Excel but I want to do it from my VB.NET application. Thanks in advance, Tomek
12
2405
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 <div id="divResText1_id" style=" font-family: Arial,sans-serif; text-align: center; font-size: 14px;"> The search returned </div> <div id="divResTextCnt_id" style=" font-size: 20px; font-weight:bold;">
3
2576
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. .. http://www.geocities.com/jweinberg1975/dropdown_on_text00.html .. In order to see the behavior you should "mouseover" the white-on-black text segment that says "omnis dolor repellend" .. the thing is that I don't want for the whole space in the paragraph to be empty. I just need for the little menu to...
2
1582
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 backgrond color of the button's owner, making it glow, destroying the apperance that it is disabled. Is this just a quirk, or by design? (I recognize changing the owner's background color is uncommon, and in almost all cases should be avoided.)
3
1231
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. which gives a odd apperance. i want to restrict the no.of items visible to 10 at a single instance. plz tell me the solution.
0
8629
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8341
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8488
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7170
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4183
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2611
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 we have to send another system

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.