What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » [REQ] GoogleFight plugin

Pages: (2): « First « 1 [ 2 ] Last »
[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
Profile E-Mail PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: [REQ] GoogleFight plugin
And there we go:
http://www.msgweb.nl/en/MSN_Projects/MEWS/Details/?parser=26
12-13-2005 08:58 PM
Profile E-Mail PM Find Quote Report
linx05
Senior Member
****

Avatar
Charlie!!!

Posts: 973
Reputation: 25
38 / Other / Flag
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 :S). All the others work fine.

This post was edited on 12-14-2005 at 02:56 AM by linx05.
For news on anything Tremors, visit Tremors News
End Darko
My blog about my film


Scripts I want to get made:
Taskbar icon to change when contact is typing
12-14-2005 02:29 AM
Profile PM Web Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
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
Profile E-Mail PM Find Quote Report
Tobiaz
Full Member
***

Avatar

Posts: 103
Reputation: 5
67 / Male / –
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
Profile E-Mail PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [REQ] GoogleFight plugin
Nice idea (Y)
I want it ;)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
12-14-2005 12:42 PM
Profile E-Mail PM Web Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: [REQ] GoogleFight plugin
That's weird, at my computer it all works properly:S

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
Profile E-Mail PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
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
Profile E-Mail PM Web Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: [REQ] GoogleFight plugin
Too bad, that's exactly what I see...

Anybody who sees the problem??:S
12-14-2005 06:07 PM
Profile E-Mail PM Find Quote Report
linx05
Senior Member
****

Avatar
Charlie!!!

Posts: 973
Reputation: 25
38 / Other / Flag
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>
For news on anything Tremors, visit Tremors News
End Darko
My blog about my film


Scripts I want to get made:
Taskbar icon to change when contact is typing
12-15-2005 08:32 AM
Profile PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On