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

[REQ] GoogleFight plugin
Author: Message:
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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQ] GoogleFight plugin - by laurenz on 12-02-2005 at 03:38 PM
RE: [REQ] GoogleFight plugin - by linx05 on 12-02-2005 at 03:50 PM
RE: [REQ] GoogleFight plugin - by laurenz on 12-07-2005 at 04:04 PM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-10-2005 at 11:21 AM
RE: [REQ] GoogleFight plugin - by zach on 12-11-2005 at 12:13 PM
RE: [REQ] GoogleFight plugin - by Tobiaz on 12-11-2005 at 04:33 PM
RE: [REQ] GoogleFight plugin - by zach on 12-11-2005 at 11:25 PM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-12-2005 at 08:55 AM
RE: [REQ] GoogleFight plugin - by linx05 on 12-12-2005 at 09:03 AM
RE: [REQ] GoogleFight plugin - by Tobiaz on 12-12-2005 at 11:13 AM
RE: [REQ] GoogleFight plugin - by laurenz on 12-12-2005 at 06:34 PM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-13-2005 at 08:58 PM
RE: [REQ] GoogleFight plugin - by linx05 on 12-14-2005 at 02:29 AM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-14-2005 at 10:18 AM
RE: [REQ] GoogleFight plugin - by Tobiaz on 12-14-2005 at 12:41 PM
RE: [REQ] GoogleFight plugin - by John Anderton on 12-14-2005 at 12:42 PM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-14-2005 at 03:14 PM
RE: [REQ] GoogleFight plugin - by Veggie on 12-14-2005 at 05:56 PM
RE: [REQ] GoogleFight plugin - by J-Thread on 12-14-2005 at 06:07 PM
RE: [REQ] GoogleFight plugin - by linx05 on 12-15-2005 at 08:32 AM


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