[REQ] GoogleFight plugin |
Author: |
Message: |
laurenz
Junior Member
Posts: 23
Joined: Sep 2005
|
O.P. RE: [REQ] GoogleFight plugin
maybe you are able to post the winner?
so it show the result, and then on the final line it says:
winner: Googlefightresult with 150.000
|
|
12-12-2005 06:34 PM |
|
|
J-Thread
Full Member
Posts: 467 Reputation: 8
– / / –
Joined: Jul 2004
|
RE: [REQ] GoogleFight plugin
|
|
12-13-2005 08:58 PM |
|
|
linx05
Senior Member
Charlie!!!
Posts: 973 Reputation: 25
38 / /
Joined: Feb 2003
Status: Away
|
RE: [REQ] GoogleFight plugin
I am getting two errors.
'89', <scr> not recognised!
'Internet Services', XML document must have a top level element.
I've got the latest version of MEWS (doesn't have a version number ). All the others work fine.
This post was edited on 12-14-2005 at 02:56 AM by linx05.
|
|
12-14-2005 02:29 AM |
|
|
J-Thread
Full Member
Posts: 467 Reputation: 8
– / / –
Joined: Jul 2004
|
RE: [REQ] GoogleFight plugin
Strange... It does work perfect on my computer...
I've also got the latest version of MEWS. Anyone else who's having those errors?
|
|
12-14-2005 10:18 AM |
|
|
Tobiaz
Full Member
Posts: 103 Reputation: 5
67 / / –
Joined: Aug 2005
Status: Away
|
RE: [REQ] GoogleFight plugin
quote: Originally posted by J-Thread
Anyone else who's having those errors?
I've got another error: Oject missing: 'xml. getElementsByTagName (...)'
I've got the lates MEWS version too...
Greeeeeez Tobiaz
|
|
12-14-2005 12:41 PM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: [REQ] GoogleFight plugin
Nice idea
I want it
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
12-14-2005 12:42 PM |
|
|
J-Thread
Full Member
Posts: 467 Reputation: 8
– / / –
Joined: Jul 2004
|
RE: [REQ] GoogleFight plugin
That's weird, at my computer it all works properly
Can any of you who has got problems please post (or PM me) the html code of the following page:
http://googlefight.com/query.php?lang=en_GB&word1=word1&word2=word2
Maybe that depends on where you live or something.... I can't imagine what else could make the difference, because the same input with the same code should give the same output...
|
|
12-14-2005 03:14 PM |
|
|
Veggie
Full Member
Posts: 415 Reputation: 21
37 / /
Joined: Sep 2004
|
RE: [REQ] GoogleFight plugin
code: <html>
<head>
<title>Results</title>
<link rel="stylesheet" type="text/css" href="resultats.css" />
<style>
body {
overflow : hidden;
}
.lien {
position : absolute;
visibility : hidden;
display : none;
right : -1px;
top : -1px;
height : 27px;
width : 150px;
text-align:center;
overflow : hidden;
}
a {
display : block;
padding : 6px;
text-decoration : none;
background-image : url(images/fond_a.gif);
background-repeat : no-repeat;
color : black;
}
a:hover {
background-image : url(images/fond_a_over.gif);
}
</style>
</head>
<body scroll="no">
<div id="waiter">
<OBJECT width=359
height=178
classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0">
<param name=movie value="images/003.swf">
<param name=quality value=high>
<EMBED src="images/003.swf"
width=359
height=178
quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash">
</EMBED>
</OBJECT>
</div>
<script language="javascript" type="text/javascript">
function hide_loader() {
progress();
document.getElementById("waiter").style.display = "none";
}
function progress() {
if(result1) {
if(!result1 || !result2) return false
if(i <= result1) histo1.style.height = i+"px";
if(i <= result2) histo2.style.height = i+"px";
i++;
if(i<=100) setTimeout("progress()", 2);
else {
a = document.getElementsByTagName("SPAN")
for(j=0; j<a.length; j++) {
a[j].style.display = "inline";
}
histo1.style.padding="3px";
histo2.style.padding="3px";
if(parseInt(histo1.style.height) < 22) histo1.style.height = "22px";
if(parseInt(histo2.style.height) < 22) histo2.style.height = "22px";
if(winner) winner.style.color = "#82D7E3";
}
}
}
setTimeout('hide_loader()', 5000);
</script><div class='lien'>
<a href="http://www.googlefight.com/v3/?word1=word1&word2=word2" target="_top">Direct fight</a>
</div>
<table cellspacing="0">
<caption>
Results on Google :
</caption>
<tr>
<td valign="bottom" id="result1" class="resultat">
<b>word1</b>
<div id="histo1" class="histo">
<span>273,000 results</span>
</div>
</td>
<td valign="bottom" id="result2" class="resultat">
<b>word2</b><br />
<div id="histo2" class="histo">
<span>261,000 results</span>
</div>
</td>
</tr>
</table>
<script language="javascript" type="text/javascript">
var result1 = '77';
var result2 = '73';
var histo1 = document.getElementById('histo1');
var histo2 = document.getElementById('histo2');
var winner = 'result1';
if(winner!="") var winner = document.getElementById(winner);
var i = 0;
</script>
</body>
</html>
This post was edited on 12-14-2005 at 05:56 PM by Veggie.
|
|
12-14-2005 05:56 PM |
|
|
J-Thread
Full Member
Posts: 467 Reputation: 8
– / / –
Joined: Jul 2004
|
RE: [REQ] GoogleFight plugin
Too bad, that's exactly what I see...
Anybody who sees the problem??
|
|
12-14-2005 06:07 PM |
|
|
linx05
Senior Member
Charlie!!!
Posts: 973 Reputation: 25
38 / /
Joined: Feb 2003
Status: Away
|
RE: [REQ] GoogleFight plugin
code: <html>
<head>
<title>Results</title>
<link rel="stylesheet" type="text/css" href="resultats.css" />
<style>
body {
overflow : hidden;
}
.lien {
position : absolute;
visibility : hidden;
display : none;
right : -1px;
top : -1px;
height : 27px;
width : 150px;
text-align:center;
overflow : hidden;
}
a {
display : block;
padding : 6px;
text-decoration : none;
background-image : url(images/fond_a.gif);
background-repeat : no-repeat;
color : black;
}
a:hover {
background-image : url(images/fond_a_over.gif);
}
</style>
</head>
<body scroll="no">
<div id="waiter">
<OBJECT width=359
height=178
classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0">
<param name=movie value="images/003.swf">
<param name=quality value=high>
<EMBED src="images/003.swf"
width=359
height=178
quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash">
</EMBED>
</OBJECT>
</div>
<script language="javascript" type="text/javascript">
function hide_loader() {
progress();
document.getElementById("waiter").style.display = "none";
}
function progress() {
if(result1) {
if(!result1 || !result2) return false
if(i <= result1) histo1.style.height = i+"px";
if(i <= result2) histo2.style.height = i+"px";
i++;
if(i<=100) setTimeout("progress()", 2);
else {
a = document.getElementsByTagName("SPAN")
for(j=0; j<a.length; j++) {
a[j].style.display = "inline";
}
histo1.style.padding="3px";
histo2.style.padding="3px";
if(parseInt(histo1.style.height) < 22) histo1.style.height = "22px";
if(parseInt(histo2.style.height) < 22) histo2.style.height = "22px";
if(winner) winner.style.color = "#82D7E3";
}
}
}
setTimeout('hide_loader()', 5000);
</script><div class='lien'>
<a href="http://www.googlefight.com/v3/?word1=word1&word2=word2" target="_top">Direct fight</a>
</div>
<table cellspacing="0">
<caption>
Results on Google :
</caption>
<tr>
<td valign="bottom" id="result1" class="resultat">
<b>word1</b>
<div id="histo1" class="histo">
<span>272,000 results</span>
</div>
</td>
<td valign="bottom" id="result2" class="resultat">
<b>word2</b><br />
<div id="histo2" class="histo">
<span>259,000 results</span>
</div>
</td>
</tr>
</table>
<script language="javascript" type="text/javascript">
var result1 = '77';
var result2 = '73';
var histo1 = document.getElementById('histo1');
var histo2 = document.getElementById('histo2');
var winner = 'result1';
if(winner!="") var winner = document.getElementById(winner);
var i = 0;
</script>
</body>
</html>
|
|
12-15-2005 08:32 AM |
|
|
Pages: (2):
« First
«
1
[ 2 ]
Last »
|
|