Advertisement

07.28.2003 at 06:02PM PDT, ID: 20692964
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.2

Multiple OnLoad calls in one page

Asked by mancini in JavaScript

Tags: , ,

Hello

I have a situation where a page is being loaded in a template system, where the header is loaded, then the page content, then finally the footer.

In this particular case, the header includes a cascading menu, generated by Javascript and when I go through the source for this menu, there is some OnLoad calls :
for(a=1;a<menus;a++){dmenu("menu"+a)}
if(mac45)Oload=window.onLoad; else Oload=window.onload;
function mOL(){if(!ns61&&ns6||ns6hif){Minit()}MLoaded=1;if(Oload)Oload();MScan()}
if(!ns61&&ns6||ns6hif){window.onload=mOL;}else{Minit();window.onload=mOL;}

Now, as part of the page content, there is an OnLoad call in the body tag :
<BODY onLoad="run_my_function();">

In Netscape, Mozilla and Opera, the page loads correctly and the browser displayes the cascading menu correcty and also runs the function in the BODY tag, which pre-selects some select/drop-down boxes on the page.

In IE, it seems to only load the menu but will not run the onLoad command that is specified in the BODY tag.

The only difference between this page and other page is that this header has some OnLOAD commands in it and my theory is that this is causing the problem with IE.  After reading other threads about IE's onLoad support in other pages, could this be another bug in their onLoad support?

And more importantly, do you know of anyway around this or ways I can force IE to run the onLOAD in the body tag aswell?

I have tried moving my onLoad function in and out of the <head></head> component of the page and even a simple ALERT() will not run successfully.

Thank you very much for any tips or advice you can give me  :)Start Free Trial
[+][-]07.28.2003 at 06:12PM PDT, ID: 9024428

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2003 at 06:22PM PDT, ID: 9024450

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 02:14AM PDT, ID: 9026445

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 02:56AM PDT, ID: 9026633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 06:27AM PDT, ID: 9027795

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 07:24AM PDT, ID: 9028229

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 09:43AM PDT, ID: 9029367

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: onload, multiple, javascript
Sign Up Now!
Solution Provided By: iismatt
Participating Experts: 7
Solution Grade: A
 
 
[+][-]07.29.2003 at 07:14PM PDT, ID: 9033065

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 11:27PM PDT, ID: 9034053

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.29.2003 at 11:32PM PDT, ID: 9034074

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 12:00AM PDT, ID: 9034211

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 07:16AM PDT, ID: 9036548

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 09:13AM PDT, ID: 9037471

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 07:01PM PDT, ID: 9040904

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 07:08PM PDT, ID: 9040923

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2003 at 07:23PM PDT, ID: 9040968

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32