Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to get rid of ../../../ in 'src' attribute of <script> in DCT
rohitspathak123
Hi All ,
Using TS 6.1 on Win 2000 SP4.
I have got following branching strcture
Workarea
MyWA
config
javascript
perl
htdocs
templatedata
game
cricket
I want to include my javascript file present in config/javascript from DCT .
So coded something
<script language="javascript" location="template-type" src="../../config/javascript/common.js" />
So is there any way to get rid of ../../
I want something like this
<script language="javascript" location="template-type" src="config/javascript/common.js" />
Regards
Rohit Pathak
Find more posts tagged with
Comments
rohitspathak123
Apologizes .....some of the text got cut ....
Using TS 6.1 on Win 2000 SP4.I have got following branching strcture
Workarea/MyWA/config/javascript
Parrallel to config is my templadata folder
I want to include my javascript file present in config/javascript in DCT .
So coded something
<script language="javascript" location="template-type" src="../../../config/javascript/common.js" />
I want to get rid of ../../../
I want
<script language="javascript" location="template-type" src="config/javascript/common.js" />
How to achieve this ?
rohitspathak123
i think there is some problem with my system ....the full text message are not comming up ....leave this thread ......
apologizes
Rohit
jbonifaci
In the future, try previewing your posts before posting them...
~Jeff