dwt表达式中的脚本源更改URL ..帮助 [英] script source in dwt expression changing URL.. help
问题描述
好的,所以我在一个动态的网页模板中试图在javescript代码中添加图片源,当我将更新推送到页面时,表达式网页会改变网址..
Okay so I am in a dynamic web template trying to add a picture source within a javescript code and expression web alters the url when I push the update out to the pages..
网址应该开始//验证但是它会更改为/../../../../../verify 这会破坏链接并使其成为我的安全图标赢得的' t出现。
The url should start //verify but it gets changed to /../../../../../verify This breaks the link and makes it so that my security icon won't show up.
完整的代码行应如下所示:
The full line of code should look like this:
< script type =" text / javascript"语言= QUOT; JavaScript的" SRC =" // verify.authorize.net/anetseal/seal.js" >< / script>
<script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script>
但我得到了这个:
< script type =" text / javascript"语言= QUOT; JavaScript的" SRC =" /../../../../../ verify.authorize.net/anetseal/seal.js" >< / script>
<script type="text/javascript" language="javascript" src="/../../../../../verify.authorize.net/anetseal/seal.js" ></script>
谢谢,
Thanks,
推荐答案
更改"//"正确形式的完整网址。 它是"http://"或"https://" (可能是后期的authorize.net,但你需要找出来。)
Change "//" to the correct form of a full URL. It's either "http://" or "https://" (might be the later for authorize.net, but you'll need to find out.)
这篇关于dwt表达式中的脚本源更改URL ..帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!