How can i add onLoad javascript portion to the body tag?
How can i add onLoad javascript portion to the body tag?
Collapse
X
-
I believe you just add it to the header template. This is what I did in vB2 and I don't think it's changed for vB3.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
-
-
Originally posted by Scott MacVicarsteve it has changed since we now use the onload event for the wysiwyg editor and for post scrolling.
you can change the appropriate body tags and change from
<body onload="$onload">
to
<body onload="your_function();$onload">Comment
-
Mike, which template to edit would depend on which page-type you wanted to modify (at least to a certain extent). All you have to do is search for the "$onload" var and see where it's used.Comment
Related Topics
Collapse
-
by binhcnDear All,
I want to add keywords for SEO in VBB5 but I don't know how to do it. Please help me
Thanks & Best Regards,-
Channel: Support Issues & Questions
-
Comment