
08-27-03, 09:55 AM
|
|
Newbie Coder
|
|
Join Date: Aug 2003
Location: London, UK
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Running Onload
Can anyone tell me if there is any way of running two or more onload commands at the same time on a single page. And if there is can you show me or direct me in the right direction.

__________________
Be the best you can!
Hari
|

08-28-03, 12:12 PM
|
|
Coding Addict
|
|
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: Running Onload
Quote:
Originally posted by hari.kara
Can anyone tell me if there is any way of running two or more onload commands at the same time on a single page. And if there is can you show me or direct me in the right direction.
|
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
|

08-29-03, 10:54 AM
|
|
Newbie Coder
|
|
Join Date: Aug 2003
Location: London, UK
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Shane,
Im assuming if i keep adding the classes ie third, fourth, i can run a fair few onloads at the same time?
__________________
Be the best you can!
Hari
|

08-29-03, 11:06 AM
|
|
Coding Addict
|
|
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yup, that's correct.
I always did it that way because it's a lot easier to look at, unlike the inline version. (i.e onload="firstStep(); secondStep();")
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
|

08-29-03, 11:13 AM
|
|
Newbie Coder
|
|
Join Date: Aug 2003
Location: London, UK
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Is there a limit to how many.. or are the constraints just the loading time...
__________________
Be the best you can!
Hari
|

08-29-03, 12:16 PM
|
|
Coding Addict
|
|
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I don't think there are any limits. It will just affect your loading time.
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
|

08-29-03, 12:43 PM
|
|
Newbie Coder
|
|
Join Date: Aug 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

09-01-03, 04:34 AM
|
|
Newbie Coder
|
|
Join Date: Aug 2003
Location: London, UK
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks EtLux an d Shane.. Problem solved!
__________________
Be the best you can!
Hari
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|