Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (DougMM, Gizmo, Mitch P.), 20 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 10/21/07
Posts: 29
Top Posters (30 Days)
Ruben Rocha 180
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 7898
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 Online   sleepy

***

Registered: 06/04/06
Posts: 12007
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: 4160
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 Online   sleepy

***

Registered: 06/04/06
Posts: 12007
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
No Birthdays
Recent Topics
PayPal batch file for ID'ing expired and failed payment subscriptions?
by Mitch P.
27 minutes 57 seconds ago
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Yesterday at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Yesterday at 12:28 PM
Forum Stats
4261 Members
33 Forums
30533 Topics
154964 Posts

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