Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (Harold, ineffable, Island Piper, 1 invisible), 19 Guests and 30 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 09/21/08
Posts: 2
Top Posters (30 Days)
Rick 110
Gizmo 100
Thelockman 57
driv 50
AllenAyres 40
Morgan 39
blaaskaak 30
ntdoc 28
flyboy105 28
ScriptKeeper 27
Latest Photos
XTERRA K9 Challenge
DEG Metro Stars: Jamie Storr
My new girlfriend
testing photo upload in ie7
Fall foilage in New England
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: 7689
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: 11816
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: 4122
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: 11816
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
The Spin Master
Recent Topics
Make this topic a global announcement
by Morgan
Today at 01:35 PM
Duplicanting moderators
by ehm1
Today at 11:25 AM
Utimate Lunker
by Ultimatelunker
Today at 09:17 AM
Subject line and Watched topics in Quick Reply form?
by medencev
Today at 06:35 AM
Moderators can't read despite the moderators settings are ok
by Morgan
Today at 03:14 AM
Forum Stats
4094 Members
33 Forums
30219 Topics
153009 Posts

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