JavaScript Problem
|
Posted
#34280
(In Topic #7726)
|
|
|---|---|
|
Well-settled |
New JavaScript File ProblemI would like to add a javascript file to my template. The javascript comes with a CSS file, too. What the JavaScript does is that it changes how my global_div looks by CSS. I can't get it to work, I tried moddifing the JAVASCRIPT.tpl, HEADER.tpl, and GLOBAL.tpl. How do I do this?
HEllo
|
|
Posted
|
|
|
Community saint |
That should work.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Non-joined user |
*The good thing about all my issues and help is me 'digging' deeper in the ocPortal doc, it's quite useful. |
|
Posted
|
|
|
Community saint |
I simplified mine by adding the necessary JavaScript in this fashion: Code
<script type="text/javascript" src=" ... link to your js file ... "></script>
and I placed it just above the </head> tag . . .
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
1 guests and 0 members have just viewed this: None
Control functions:






