preCharge Certified Payments
 

Go Back   Chargeback Forum > eCommerce Development > Search Engines

Notices

Search Engines Google, Yahoo, MSN, Directories and more. Talk about it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 03-14-2007   #1 (permalink)
xiaochu
Member
 
Join Date: Mar 2007
Posts: 67
Rep Power: 2 xiaochu is on a distinguished road
Default Google Images

My programer placed this bit of script on a number of pages and now the images on those pages are no longer indexed by google- although the pages themselves are- Any ideas as to why- I thought it might be obvious for somebody with more programming background. Thanks

<script language="JavaScript" type="text/JavaScript">
<!--
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
xiaochu is offline   Reply With Quote
Old 03-17-2007   #2 (permalink)
reachkannan2003
Member
 
Join Date: Mar 2007
Posts: 75
Rep Power: 0 reachkannan2003 is an unknown quantity at this point
Default

the google image display is displaying as many as many no of images in the page..the page preview and the size of picture load all are said to be perfect
reachkannan2003 is offline   Reply With Quote
Old 04-18-2007   #3 (permalink)
ltjman22
Senior Member
 
Join Date: Apr 2007
Posts: 406
Rep Power: 0 ltjman22 is an unknown quantity at this point
Default

Nice little script you have there, I have not tried it. However I am a little confused on what it actually does for your site and google images, care to clarify a little bit?
__________________

Myfishsite Fishing Forums!
ltjman22 is offline   Reply With Quote
Old 04-18-2007   #4 (permalink)
steel_angel
Senior Member
 
Join Date: Apr 2007
Posts: 116
Rep Power: 0 steel_angel is an unknown quantity at this point
Default

I need to know more as to what it does.. I'm not going to post it on my site until I am clear on it,.
steel_angel is offline   Reply With Quote
Old 05-14-2007   #5 (permalink)
joshua_t
Member
 
Join Date: Mar 2007
Posts: 88
Rep Power: 2 joshua_t is on a distinguished road
Default

Hi,
The google is providing a number of images.I am having a little bit of doubt in the script which you have to clear.
__________________
Home Contents Insurance

Last edited by joshua_t; 06-27-2007 at 05:10 AM.
joshua_t is offline   Reply With Quote
Reply

Bookmarks



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

 
Problem with chargebacks? Call +1 (212) 751-6213 and ask to speak to a chargeback specialist.

Join us on LinkedIn


News, Updates, Alerts & More:

Subscribe in a reader
 
 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52