home | benetleong.com
Google
 
Web benetleong.com
Home > Add World Cup 2006 results to your website



Add World Cup 2006 results to your website

Posted on Saturday 17 June 2006

Hi guys, here’s a script that I put together (as in cut-and-paste) that will display the latest FIFA World Cup 2006 results as well as other information such as matches and also standings as a floating bar on your website.

For demo: You’re viewing it now! ;) (it’s the annoying window on the bottom left hand corner).

Directions: (updated!)

  1. Download this text file and copy and paste the code to the <HEAD> section of your page.
  2. Add the code in this text file to the <BODY> section of your page.
  3. Add this link to show the results anywhere on your site (after users click on the close).

    <a href="" onClick="openbar(); return false">Show results</a>

Note: The More » link won’t really work (unless you plan to view it in the tiny little iFrame. ;) This script should work on most major browsers.

Well, that’s all to it. Just a few credits:
1. Floating TopBar script from Dynamic Drive made it possible to load the script on this site.

2. Google World Cup Module provides the information in the pop-up box. Click here to learn how to add Google World Cup results to your Google personalised homepage.

UPDATE: There was some issues with the encoding previously that causes the script not to work properly if you copied and paste it from the textarea. Thus, now I’ve attached them into text documents that’ll retain the encoding and should now work. I’ve tested this script on a Bloggers.com site and it does works. For a demo, point your browser to: http://benet-test.blogspot.com

Sorry for any inconvenience caused. ;)

Cheers~!


1 Comment for 'Add World Cup 2006 results to your website'

  1.  
    June 17, 2006 | 11:18 pm
     

    If you want to post this up on your blog system or any site which doesn’t seem to allow you to change your HEAD section (for whatever reasons), you might be able to add it by combining Section 1 and 2 (remember to keep to the order of Section 1 first then Section 2) into your BODY section.

    I just tested this on a very simple HTML document and it seems to work… so, hopefully it’ll work for you as well…

    Cheers~!

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI