PDA

View Full Version : A little White Dot !!


Scotto
Sep-11-2009, 05:55 AM
Just noticed that a little white block has appeared on all my pages

For the life of me I can't see where it is in the code and how to remove it.

Any help would be appreciated

http://scottsharman.smugmug.com

nickhaigh
Sep-11-2009, 06:04 AM
Just noticed that a little white block has appeared on all my pages

For the life of me I can't see where it is in the code and how to remove it.

Any help would be appreciated

http://scottsharman.smugmug.com

Didn't see a white dot but your text near the top of the screen
is a bit scrambled!!
http://www.imgplace.com/img151/8982/461l.th.jpg (http://www.imgplace.com/viewimg151/8982/461l.jpg)

RaymondPhotos
Sep-11-2009, 06:14 AM
I also have a little white dot on my pages. I recently added the updated stretchy slideshow code but this may not be related at all.

thaKing
Sep-11-2009, 06:32 AM
looks to me like you're using a stat counter....

Luke J. Photography
Sep-11-2009, 06:41 AM
Same thing for me! I hate it.

Scotto
Sep-11-2009, 06:43 AM
looks to me like you're using a stat counter....


Yeah I do but I have been using it way before this dot arrived. This problem has starting in the last few days/weeks.

thaKing
Sep-11-2009, 06:47 AM
well, regardless of when it started, that's the culprit...take a look at your source code...you'll see this:
******** type="text/javascript"
src="http://www.statcounter.com/counter/counter_xhtml.js (http://www.dgrin.com/view-source:http://www.statcounter.com/counter/counter_xhtml.js)"></********<noscript><div
class="statcounter"><a title="web statistics" class="statcounter"
href="http://www.statcounter.com/"><img class="statcounter"
src="http://c.statcounter.com/4104350/0/c4c65338/1/" alt="web statistics"
/></a></div></noscript>

see the img tag....

Scotto
Sep-11-2009, 06:49 AM
well, regardless of when it started, that's the culprit...take a look at your source code...you'll see this:
******** type="text/javascript"
src="http://www.statcounter.com/counter/counter_xhtml.js (http://www.dgrin.com/view-source:http://www.statcounter.com/counter/counter_xhtml.js)"></********<noscript><div
class="statcounter"><a title="web statistics" class="statcounter"
href="http://www.statcounter.com/"><img class="statcounter"
src="http://c.statcounter.com/4104350/0/c4c65338/1/" alt="web statistics"
/></a></div></noscript>

see the img tag....

Yeah, just noticed that myself.

I have re-entered the statcounter code and it appears to have fixed the problem

Thanks :thumb

thaKing
Sep-11-2009, 06:53 AM
glad it worked...i actually think i may have posted the wrong code above, but at least it got you looking in the right place... :ivar

Scotto
Sep-11-2009, 07:03 AM
On second thoughts....

IT'S BACK !!

It can't be the Statcounter code.. I have just removed the code and the little white box is still visible :scratch

thaKing
Sep-11-2009, 07:04 AM
told you it was the wrong code! ha! let me get it again, but it is stat counter...it's looking at wordpress stats, or something like that...lemme look again....

here's the code i see associated with it:

<!-- Start of StatCounter Code -->
******** type="text/javascript">
var sc_project=4104350;
var sc_invisible=1;
var sc_partition=49;
var sc_click_stat=1;
var sc_security="c4c65338";
</********

******** type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></********<noscript><div
class="statcounter"><a title="wordpress blog stats"
href="http://www.statcounter.com/wordpress.org/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/4104350/0/c4c65338/1/"
alt="wordpress blog stats" ></a></div></noscript>
<!-- End of StatCounter Code -->

Scotto
Sep-11-2009, 07:07 AM
Not convinced it is statcounter related.

Looking at the source of the other guys website who are suffering from the same problem, there is no mention of Statcounter

thaKing
Sep-11-2009, 07:08 AM
Not convinced it is statcounter related.

Looking at the source of the other guys website who are suffering from the same problem, there is no mention of Statcounter
i've only looked at yours...have you hovered over the little box? when i do it wants to take me to statcounter.com regarding wordpress (see my post above)....

thaKing
Sep-11-2009, 07:10 AM
the box for the other user is associated with the folllowing:

<iframe src="http://www.smugmug.com/include/js/cookiemonster.mg?returnTo=http://raymondphotos.com (http://www.dgrin.com/view-source:http://www.smugmug.com/include/js/cookiemonster.mg?returnTo=http://raymondphotos.com)" id="cookieMonsterIframe" height="1" width="1"></iframe>

jfriend
Sep-11-2009, 07:11 AM
Not convinced it is statcounter related.

Looking at the source of the other guys website who are suffering from the same problem, there is no mention of Statcounter It has nothing to do with StatCounter. It's something new Smugmug put in your page and I don't think it's supposed to be visible.

It's coming from this new code in this page:

YAHOO.util.Event.onDOMReady(function() {
var body= document.getElementsByTagName('body')[0];
var iframe = document.createElement('iframe');
iframe.id = 'cookieMonsterIframe';
iframe.src = 'http://www.smugmug.com/include/js/cookiemonster.mg?returnTo=http://www.lukejphotography.com';
iframe.width = "1";
iframe.height = "1";
YAHOO.util.Dom.setStyle('cookieMonsterIframe','position','absolute');
body.appendChild(iframe);
});

And, you can hide it with this CSS:

#cookieMonsterIframe {display:none;}

thaKing
Sep-11-2009, 07:13 AM
his (the OP) goes directly to statcounter if you click on it...the other user i see is associated with the iframe, as you suggested...

jfriend
Sep-11-2009, 07:17 AM
his (the OP) goes directly to statcounter if you click on it...the other user i see is associated with the iframe, as you suggested... Maybe there is a statcounter thing going on too, but this one is definitely from the iframe and will disappear with the suggested CSS:

http://content.screencast.com/users/jfriend/folders/Jing/media/e18579e0-80b5-478e-bf94-93e547167564/2009-09-11_0814.png

thaKing
Sep-11-2009, 07:21 AM
i see it now...i went to the link he provided (which was his homepage)...on the homepage it's not there...not until i get to the gallery you showed did i see the image...along the bottom is an exact image that is the stat counter i saw on ALL pages....looks just like the other....

jfriend
Sep-11-2009, 07:22 AM
Scott, I also noticed that you are missing a </div> in your custom header. When you add that, the little white dot moves to the end of your page instead of the middle of your page.

Scotto
Sep-11-2009, 07:29 AM
Thanks John, all sorted.

I couldn't find the missing </div> in my custom header though.

<div id="myHeader">
<div id="my_banner_container">
<div id="my_banner"></div>
<div id="my_banner2"></div>
</div>

<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">Galleries</a></li>
<li><a href="/music">Music</a></li>
<li><a href="/sports">Sports</a></li>
<li><a href="/places">Places</a></li>
<li><a href="/events">Events</a></li>
<li><a href="/portraits">Portraits</a></li>
<li><a href="/clients">Clients</a></li>
<li><a href="/find">Search</a></li>
<li><a href="/gallery/9105991_jkrtr">Messages</a></li>
<li><a href="/gallery/8220282_UzXCg">Contact Me</a></li>
</ul>
</div>

<!--REQUIRED FOR VANITY URL -->
******** type="text/javascript" language="javascript">
CheckRedirects();
</********

<!-- my search -->

<div id="my_search" class="box"><div class="boxTop"><div class="boxNote note nav"></div><h3 id="searchBoxTop" class="title notopmargin">Search Galleries</h3><div class="spacer"></div></div><div class="boxBottom">SMUGSEARCH</div>
</div>

<!-- end my search -->

jfriend
Sep-11-2009, 07:31 AM
Thanks John, all sorted.

I couldn't find the missing </div> in my custom header though.

<div id="myHeader">
<div id="my_banner_container">
<div id="my_banner"></div>
<div id="my_banner2"></div>
</div>

<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">Galleries</a></li>
<li><a href="/music">Music</a></li>
<li><a href="/sports">Sports</a></li>
<li><a href="/places">Places</a></li>
<li><a href="/events">Events</a></li>
<li><a href="/portraits">Portraits</a></li>
<li><a href="/clients">Clients</a></li>
<li><a href="/find">Search</a></li>
<li><a href="/gallery/9105991_jkrtr">Messages</a></li>
<li><a href="/gallery/8220282_UzXCg">Contact Me</a></li>
</ul>
</div>

<!--REQUIRED FOR VANITY URL -->
******** type="text/javascript" language="javascript">
CheckRedirects();
</********

<!-- my search -->

<div id="my_search" class="box"><div class="boxTop"><div class="boxNote note nav"></div><h3 id="searchBoxTop" class="title notopmargin">Search Galleries</h3><div class="spacer"></div></div><div class="boxBottom">SMUGSEARCH</div>
</div>

<!-- end my search -->

There's no </div> at the end of your custom header to close off the

<div id="myHeader">

Count up the matching <div> and </div> tags in your custom header and you'll find that you're missing one.

thaKing
Sep-11-2009, 07:32 AM
Thanks John, all sorted.

I couldn't find the missing </div> in my custom header though.

<div id="myHeader">
<div id="my_banner_container">
<div id="my_banner"></div>
<div id="my_banner2"></div>
</div>

<div id="navcontainer">
</div>


<div id="my_search" class="box"><div class="boxTop"><div class="boxNote note nav"></div><div class="spacer"></div></div><div class="boxBottom"></div>
</div>


i removed everything between the div tags above, leaving you with one open div tag....

Scotto
Sep-11-2009, 07:37 AM
Got it, see it.

I'll sort it out a little later when I get home

once again, thanks :thumb