Adding info to the body tag on one unique page with Master Pages

Discussion in 'ASP.NET / ASP.NET Core' started by annbransom, May 25, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have a site I am building using a master page. On the default page, there is an image map for which I have to preload 4 images. I added that onLoad event to the body tag in the master page and it works fine. My problem is that I am getting an error message down on the status bar, on every other page, because they are expecting the preloaded images and they are not there. The pages work fine, but obviously I don't want "Error Occured" showing up on every page.

    Is there a way to add content to the body tag on just one page, and not to the master page?

    Help!
     
  2. Instead of on the master page's body onLoad event, do the javascriptimage loadingon the default content page.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page