PDA

View Full Version : How can i avoid Website Analytic Code?



wdffrq
12 Sep 2009, 05:44 AM
please help me to solve this problem.

currently i am developing w3schools type website.

w3schools has ' Try it Yourself ' tab when visitors can edit code for tutorial.

http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_test

i wanna doing this type of function and i have already done but only a problem facing.

http://www.sumotuto.0fees.net/anchor_tag.php

Problem:
------------

An additional code Website Analytic Code always appears in my ' Try It Yourself ' textarea field.

how can i avoid this additional code?

Corrosive
13 Sep 2009, 03:32 AM
Try deleting it from your text area...


<textarea name="html_code" style="width: 728px; height: 160px; float: left; clear: both;">
<html>
<body>
<a href="http://www.google.com">Google Search Engine</a>
</body>
</noscript>
<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">

<!-- Website Analytics Code -->
<script type="text/javascript" language="javascript">
var websiteID=34522;
var refID="d4S3sT";
</script>
<script type="text/javascript" language="javascript" src="http://analytics.hosting24.com/do.php"></script>
<noscript>
<a href="http://www.hosting24.com/" target="_blank"><img src="http://analytics.hosting24.com/do.php?websiteID=34522&amp;refID=d4S3sT&amp;from=noscript" alt="web hosting" border="0"></a>
</noscript>
<!-- End of Website Analytics Code -->
</div></div>
</html> </textarea>

That might help!

Also you have a lot of instances of opening and closing 'body' and 'html' tags which should only really referenced once in a page.