Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp include file contents included, EXCEPT body onload event

Status
Not open for further replies.

kdelacruz

Technical User
Oct 7, 2002
25
ES
This does not seem to happen with Windows IE 6 or Netscape 7 or Opera 6.05 (it works fine with these), but when I tested it on a machine with Windows 2000 and IE 5.5 this problem occurs:
I have an asp page which contains an include file

<!-- #include file=&quot;include/head.inc&quot; -->

When I view the source of this asp page in the IE 5.5 browser, the contents of the include file are there, EXCEPT for the body onload event, for some bizarre reason. The body tag and its other properties (background, leftMargin, text) and end tag are included, but the piece &quot;onload=checkChoice()...&quot; is missing. There do not appear to be any carriage returns or other strange characters in the onload event.

Has anyone ever come across this before?
I don't have any other IE 5.5 computers to test on, so it could be that there's just something weird going on with that one computer. Or perhaps he's got some setting in IE that's stopping the body onload event from being included...

On that computer, Javascript is enabled, and the same script in the Body onload event is called from elsewhere (from the click event of a checkbox) and runs fine.

The page is at if you want to check it out.

Thank you!

--Kathy
 
It loads fine for me. WIN2KServer w/ IE 5.5

<BODY text=#000000 background=&quot;images/bg.gif&quot; leftMargin=5 topMargin=3 onload=checkChoice();MM_preloadImages('images/fingps_over.gif','images/fingpm_over.gif','images/finsma_over.gif','images/fingts_over.gif','images/about_over.jpg','images/download_over.jpg','images/careers_over.jpg','images/contact_over.jpg')> -- Just trying to help...
[wolf]<--- This is a wolf? We need a new icon.......
mikewolf@tst-us.com
 
Thanks for checking it out!
I feel better now -- hopefully it's just something weird going on with that one computer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top