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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I hide my counter?

Status
Not open for further replies.

naiku

Technical User
Apr 25, 2002
346
US
Hey all

If I am using the following tag to generate hits on my counter, how do I hide that counter?

Code:
<SCRIPT Language=&quot;JavaScript&quot; SRC=&quot;cgi-bin/counter/counter.pl?tag=javascript&quot;></SCRIPT>

Do I just need to add something to the tag? such as hide=&quot;yes&quot; or something similar to that? Thanks

Naiku
 
Then there probably isn't any way of hiding it if you don't know CGI. //Daniel
 
i presume the
<SCRIPT Language=&quot;JavaScript&quot; SRC=&quot;cgi-bin/counter/counter.pl?tag=javascript&quot;></SCRIPT>

is in the <body> (generate html) ?

try something like (might not work in crapy netscape)
<html><head>
<script language=&quot;javascript&quot; type=&quot;text/javascript&quot;>
<!--
function hidecounter(where) {
where.style.visibility = &quot;hidden&quot;;
}
function showcounter(where) {
where.style.visibility = &quot;visible&quot;;
}
//-->
</script>
</head><body>
<div onmouseover=&quot;hidecounter(this)&quot; onmouseout=&quot;showcounter(this)&quot; style=&quot;visibility: visible;&quot;>
<SCRIPT Language=&quot;JavaScript&quot; SRC=&quot;cgi-bin/counter/counter.pl?tag=javascript&quot;>
</SCRIPT></div>
</body></html>
---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Yeah the tag is in the body of the document, thanks for the information I will try it first thing in the morning and let you know the results

Thanks again

Naiku
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top