As a javascript developer using onload often you will find that other script authors too love to use onload. 자바 스크립트 개발자로서 다른 스크립트를 사용하여 저자 onload 종종 너무 사랑을 알게됩니다 onload를 사용합니다. Unfortunately onload accepts a function name and your reassigning will prevent others from using onload. 불행히도 onload 수용하는 함수를 사용하여 다른 사람의 이름과 귀하의 재지정을 방지하기 onload합니다. Here is a script which allows you to use onload even when others have used it and without breaking their script. 여기에 onload를 사용하는 스크립트를 사용하면 다른 사람이 사용할 경우에도 그들의 스크립트를 파괴하지 않고하고있습니다.

The key idea is that you should be able to stack your function(s) above / below existing function call. 의 열쇠를 쌓아 아이디어가 나올 때까지 귀하의 기능을 할 수 있어야한다 (시내) 위 / 아래에 기존의 함수 호출합니다. Let’s look at the sample code below: 아래의 예제 코드를 살펴 봅시다 :

I think I have well commented the code to make the script self-explanatory, but feel to ask questions. 주석의 코드가 생길 것 같아요 위해 반드시 필요한 스크립트를 잘 자기 - 설명,하지만 기분이 질문을합니다. The code has been tested on Firefox, Internet Explorer and Opera. 이 코드는 테스트를 firefox, 인터넷 탐색기와 오페라합니다.