登录 | 注册 | FAQ
Anonymous

"Checkout" Onclick code displayed in preview

+ 发表回复

2 篇帖子 分页: 1 / 1


"Checkout" Onclick code displayed in preview

Theory-Y » 周三 12月 23, 2015 11:40 pm

I'm using ONCLICK code in my home page so that Google Analytics can count the clicks that occur on the two links on my home page. But for some reason a piece of the code is being displayed in preview mode. It displays the CHECKOUT code as clickable text in preview. I don't want that. I already have the URL on the home page which works just fine. How can I stop the displaying of this code. I've attached a screen shot of the bad preview page along with the overall code. Thanks in advance!!! Below is the ONCLICK and CHECKOUT code.


<div id="frag_26" __AddCode="here" style="position:absolute;left:1210px;top:694px;width:52px;height:44px;/*Add Style*/">
<!--Body-->
<a href="http://www.bestpracticesteam.com"onclick="trackOutboundLink('http://www.bestpracticesteam.com'); return false;">Check out bestpracticesteam.com</a>
<br>
<a href="https://www.youtube.com/watch?v=u2DPPcP9wL8&feature=youtu.be" onclick="trackOutboundLink('https://www.youtube.com/watch?v=u2DPPcP9wL8&feature=youtu.be'); return false;">Check out youtube.com/watch?v=u2DPPcP9wL8&feature=youtube</a>

附件

  1. Onclick Code Fragment.jpg (74.46 KiB) 被下载 893 次

  2. Text Display.jpg (54.7 KiB) 被下载 935 次

头像

Theory-Y

  • 帖子: 1
  • 注册: 周三 12月 23, 2015 11:29 pm

Re: "Checkout" Onclick code displayed in preview

nanoverso » 周四 12月 24, 2015 7:36 pm

What development tool are you using? Have you checked in different browsers to see if it's okay?
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.


+ 发表回复

分页: 1 / 1