User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Feb 2004
Posts: 54
Reputation: alihamilton is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
alihamilton alihamilton is offline Offline
Junior Poster in Training

Removing coding problems

  #1  
Sep 28th, 2004
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Removing coding problems

  #2  
Sep 29th, 2004
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;amp;java=0" alt="web counters" border="0"></a> </noscript>
<!-- End of StatCounter Code -->

Cheers
Reply With Quote  
Join Date: Feb 2004
Posts: 54
Reputation: alihamilton is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
alihamilton alihamilton is offline Offline
Junior Poster in Training

Re: Removing coding problems

  #3  
Sep 29th, 2004
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!!!
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Removing coding problems

  #4  
Sep 29th, 2004
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?
Reply With Quote  
Join Date: Feb 2004
Posts: 54
Reputation: alihamilton is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
alihamilton alihamilton is offline Offline
Junior Poster in Training

Re: Removing coding problems

  #5  
Sep 29th, 2004
No, but thank you so much for the advice...for some reason I could not open the file in Notepad but I did find the HTML source in Dreamweaver and thereby was able to remove the counter. I am so ignorant but it is good to learn something new!

Thanks again!
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Removing coding problems

  #6  
Sep 30th, 2004
Congratulations - I think that's called taking the initiative!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 1:51 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC