Portal Home > Knowledgebase > Articles Database > need to implement code in javascript
need to implement code in javascript
Posted by 3-rx, 12-06-2007, 08:02 AM |
Hello
i have static huge site and need to implement/put in some code
as i have overlib.js in head, i decide to integrate this code in that js script ?
code which i must include is
Need advice how can i include this code?
i try to delete
|
Posted by 3-rx, 12-06-2007, 12:12 PM |
thanks, but looks like u don't read carefully my previous post -> "huge static site"
this mean, that to include this code, i must manually download-> change all files-> upload.
in other way i can inlude that code in , w/o any changes.
|
Posted by Steve_Arm, 12-06-2007, 12:17 PM |
You didn't write it clearly, that you want to include it on all pages.
I would write a script that - at least - finds the end head tag and replace s it with the code plus the tag.
Or better yet to keep it more clean create an external js for it and add with the same method above a
|