![]() |
|
Quote:
Thanks, Mat |
the plugin wont work globally.. anyone had success ?
|
Cool find, Nutz. :)
There is no need to use hooks for this, it's more like a template mod. Open google.js and add this line at the end of the file: window.onload = init_google; Then open your headinclude template and add this line: <script type="text/javascript" src="clientscript/google.js"></script> I never liked to use body onload= atributes... ;) Now, the onload function should load your code only after the hole page is fully loaded... and some of us find this bad. If you want to complicate your life, you could simply create a script that will make sure it loads the javascript code, before the page is loaded. For example: Code:
function init_google() |
All times are GMT. The time now is 06:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|