Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Covering up a counter

Status
Not open for further replies.

Looman

Technical User
Feb 26, 2007
11
My site veloomedia.com uses a host provided counter on the home page. I select it from a list of available designs and it spits back the code which I then embed into my page.
I want to be able to keep track of the number of visitors with this but want to cover it up now.
Is there a way in Golive for me to keep the counter but cover it up with a white "blanket" of some sort?

Thanks!
 
Post the code they gave you and a link to your page in here. The possible scenarious are endless. I can't possibly help without seeing the code.
 
Your counter appears between these obvious comments in your HTML...

Code:
<!--- XSPP/doteasy.com Hit Counter script starts.  Please do not modify --->
...
<!--- XSPP/doteasy.com Hit Counter script ends. See [URL unfurl="true"]www.doteasy.com[/URL] for info. --->

Place this before the script:
Code:
<div class="hidden">

Place this after the script:
Code:
</div>

And then place this in the HEAD of your page:
Code:
<style type="text/css" media="screen"><!--
.hidden { visibility: hidden; }
--></style>

When you want to reveal the counter to yourself, simply comment out the style in the HEAD. Then restore it to hide the counter again.

Ideally, you should be using a site report or log available from your web host. Counters (even those hidden for only the web designer to view) are silly.
 
Here is the code directly from my host. Thanks for the help!

<!--- XSPP/doteasy.com Hit Counter script starts. Please do not modify --->
<script language="JavaScript"><!--
document.write('<script language="JavaScript" src=" + Math.random() + ',2"><\/script>');
//--></script>
<div id="S079E2A6177F_div" name="S079E2A6177F_div"><a href=" id="S079E2A6177F_a" name="S079E2A6177F_a" ><img src=" id="S079E2A6177F_img" name="S079E2A6177F_img" border="0" alt="doteasy.com - free web hosting. Free hosting with no banners."></a></div>
<noscript><div style="font-family:arial,helvetica;font-size=10px;">please enable browser's Javascript to use the Hit Counter tool.<br>Powered by <a href=" id="S079E2A6177F_a" name="S079E2A6177F_a" ><img src=" id="S079E2A6177F_img" name="S079E2A6177F_img" border="0" alt="doteasy.com - free web hosting. Free hosting with no banners."></a></div></noscript>
<!--- XSPP/doteasy.com Hit Counter script ends. See for info. --->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top