DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    2

    run 2 scripts from html

    G'day All,
    Forgive my ignorance please.

    I have a page with a menu script in the head tag and a reference to an external script (banner.js see attached).

    I need to run 2 routines 1 from each script from the body tag.

    <BODY class="header" bgcolor="#FFFFFF" onLoad="displayBanners()" onLoad="preloadImages();">

    of coarse the above does not work.

    Could some kind soul tell me how I may work around this?

    Perhaps I can call one from the other?

    tia
    build

  2. #2
    Join Date
    Sep 2004
    Posts
    150
    Unfortunately I think the description of this forum is misleading:

    Too new to Java to even post in the New to Java forum? Not sure if your question is Java or JavaScript related? Or perhaps it's an HTML problem you're having? Then this is the forum for you!.

    Most of the people here are java application programmers. I'm sure some would know the answer, but they may not see this.

    I'd recommend http://www.htmlforums.com/ for Javascript questions if you don't get a quick response. It just seems to happen alot.

  3. #3
    Join Date
    Dec 2004
    Posts
    2
    Thank You Phil.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links