I actually just copied the javascript to blank .txt file and renamed it: addsearchengine.js and uploaded it to a new directory called search_script. First you have to edit the javascript to point to your directory where the .src and .png file are. DON'T change the "+name+"."+ext,name,cat); part, or it won't work. Then in the headinclude file, I added a link to the .js file (just look at the first link to a javascript file and copy that format) Now the javascript will be on each page and if you need to edit it, you just edit the .js file instead of having to edit the headinclude template. It's also advisable to avoid editing the headinclude template as much as possible if you think you will ever use vbSEO.
|