Announcement

Collapse
No announcement yet.

Help fixing java error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help fixing java error

    Hi,
    On my forums I am using some java code for some rollovers and such. Everything is fine and dandy, but after you post you get a java error because on the page where it confirms you have posted and is taking you back to the thread, it doesnt have the components that the java script works with because the header is not displayed. The onload command in the body is what is causing it.

    You can see at my forums

    http://forums.c-pr0mpt.com

    How do I make it so it doesnt error on these pages? I have no idea how to do this.

    Thanks for any help.
    c-prompt
    Senior Member
    Last edited by c-prompt; Sat 11 Aug '01, 7:43pm.

  • #2
    In your body tag remove the onload event.

    Then in the header template above the body tag put:
    Code:
    <script language="javascript" type="text/javascript">
    onload=functionname();
    </script>
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Thanks very much!!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X