Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
8 registered (carolinasoutdoor, David Dreezer, DougMM, Mark S, Ruben Rocha, Sirdude, 2 invisible), 22 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/04/09
Posts: 1
Top Posters (30 Days)
Ruben Rocha 96
Rick 85
Mark S 74
Gizmo 50
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 26
AllenAyres 26
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#212105 - 05/14/08 01:13 AM Onload 7.2 - 7.3
Pappy Farland Offline
journeyman
*****

Registered: 01/01/04
Posts: 70
If I have anything in the Onload field of includes (such as "Loading..." I get an error message in the status bar that there is a expected ";" code 0.

As far as I can tell the onload field is only used to display something in the status bar and when it is not populated then the error does not appear.

This Error is appearing in the Internet Explorer Status bar (IE 7)

Thanks

Top
#212106 - 05/14/08 01:14 AM Re: Onload 7.2 - 7.3 [Re: Pappy Farland]
Pappy Farland Offline
journeyman
*****

Registered: 01/01/04
Posts: 70
just to be more clear this is populated on the General menu item via the control panel Html includes

Top
#212181 - 05/14/08 07:42 AM Re: Onload 7.2 - 7.3 [Re: Pappy Farland]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
The onload field is used for javascript. It can be used to trigger a javascript function, or something of that nature. It's not used for just general text.

99% of the time you'll never use this field, unless you have a specific javascript function that needs to be triggered when the page is loaded.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#212275 - 05/15/08 02:03 AM Re: Onload 7.2 - 7.3 [Re: Rick]
Pappy Farland Offline
journeyman
*****

Registered: 01/01/04
Posts: 70
I was just pointing out that if the field on the general page - html tab - onload is populated it will produce a status bar error in internet explorer.

Top
#212280 - 05/15/08 02:15 AM Re: Onload 7.2 - 7.3 [Re: Pappy Farland]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Well, are you calling valid javascript in the on load? If you don't, it will throw an error notifying you that nothing valid can be loaded from what you have presant...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#212281 - 05/15/08 02:17 AM Re: Onload 7.2 - 7.3 [Re: Gizmo]
Ian Moderator Offline

***

Registered: 06/05/06
Posts: 4176
Loc: Essex, UK
Might be easier if you post what you have entered in that box smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top
#212288 - 05/15/08 04:27 AM Re: Onload 7.2 - 7.3 [Re: Ian]
Pappy Farland Offline
journeyman
*****

Registered: 01/01/04
Posts: 70
the words "Loading..."

Apparently that is not what was supposed to be there lol ok I think I get it now.

Top
#212298 - 05/15/08 05:55 AM Re: Onload 7.2 - 7.3 [Re: Pappy Farland]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Loading isn't a valid js onload command... something like loading() would be, assuming you had a javascript that would load with that command...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top


Shout Box

Today's Birthdays
theregit
Recent Topics
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Forum Stats
4298 Members
33 Forums
30692 Topics
156037 Posts

Max Online: 978 @ 06/24/07 08:19 PM