•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,666 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,878 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2669 | Replies: 5
![]() |
•
•
Join Date: Feb 2004
Posts: 54
Reputation:
Rep Power: 5
Solved Threads: 0
I am sure there is a simple answer to this but I do not know it. I inserted the code for a stats counter. Was instructed to open the file on disk, view in browser and go to view, then source and insert the code appropriately. I did so and it works fine. However, even though it is an invisible counter, it still shows up temporarily when I open the page. I want to remove the code so I went back to the source, deleted the code and saved. However, it has not gone. How do I get rid of the counter please?
It is on my index page http://www.alisonfhamilton.com and is Stats Counter
It is on my index page http://www.alisonfhamilton.com and is Stats Counter
Do you have two counters there or is this part of the one you wish to remove? if so delete it,
<div id="Layer13" style="position:absolute; width:200px; height:37px; z-index:13; left: 134px; top: 579px"><!-- BEGIN WebSTAT Activation Code -->
<script type="text/javascript" language="JavaScript" src="http://hits.webstat.com/cgi-bin/wsv2.cgi?63052"></script>
<noscript> <a href="http://www.webstat.com"> <img src="http://hits.webstat.com/scripts/wsb.php?ac=63052" border="0" alt="Web Stats - Free Realtime Web Statistics Tracker & Counter"></a>
</noscript> <!-- END WebSTAT Activation Code --></div>
and
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=392987;
var sc_partition=1;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c2.statcounter.com/counter.php?sc_project=392987&amp;java=0" alt="web counters" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
Cheers
<div id="Layer13" style="position:absolute; width:200px; height:37px; z-index:13; left: 134px; top: 579px"><!-- BEGIN WebSTAT Activation Code -->
<script type="text/javascript" language="JavaScript" src="http://hits.webstat.com/cgi-bin/wsv2.cgi?63052"></script>
<noscript> <a href="http://www.webstat.com"> <img src="http://hits.webstat.com/scripts/wsb.php?ac=63052" border="0" alt="Web Stats - Free Realtime Web Statistics Tracker & Counter"></a>
</noscript> <!-- END WebSTAT Activation Code --></div>
and
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=392987;
var sc_partition=1;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c2.statcounter.com/counter.php?sc_project=392987&amp;java=0" alt="web counters" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
Cheers
•
•
Join Date: Feb 2004
Posts: 54
Reputation:
Rep Power: 5
Solved Threads: 0
It is the second one (StatCounter) I want to delete but how?? As I explained, I thought I knew how to by doing as I said I did in my post...went into source, deleted that code, saved and then it was still there when I reloaded. In Firefox, it will not even let me delete. In IE it does allow me to delete and save but reappears on reload. Ahhhh!!!
go to the file on your hard drive, right click on it, and see if you can open it with notepad. If not, go to notepad and navigate to the file. Either way, remove the extra code.
Does that help?
Does that help?
Congratulations - I think that's called taking the initiative!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Can't remove "about:blank" homepage. Please help. (Viruses, Spyware and other Nasties)
- System 32 Folder (Windows 9x / Me)
- The Return of about:blank (Viruses, Spyware and other Nasties)
- Question for ASP.NET/Mozilla Users...or anyone... (ASP.NET)
Other Threads in the HTML and CSS Forum
- Previous Thread: html table to .csv
- Next Thread: Compressing Large Files


Linear Mode