Results 1 to 2 of 2

Thread: zimlet for todays calvin and hobbes help needed

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    20070411174055
    Posts
    45
    Rep Power
    10

    Default zimlet for todays calvin and hobbes help needed

    Hi,
    i like to build a zimlet that shows the todays calvin and hobbes.

    I got a php way to do it:
    PHP Code:
    $date = isset( $_REQUEST['date'] ) ? $_REQUEST['date'] : time();

    'Calvin & Hobbes':
        
    // The URL will be something like this:
        // http://images.ucomics.com/comics/ch/1993/ch931203.gif
        // change the year because Calvin & Hobbes is from the past
        
    $chyear date'Y'$date )-11;
        
    $shortchyear $chyear-1900;
        
    $url "http://images.ucomics.com/comics/ch/".$chyear.
               
    "/ch".$shortchyear.date'md'$date ).".gif"
    And i want it to appear on hovering or on a single page like mail, contacts and calendar.

    Can someone pls help me to code it?
    This would be really nice and i think it wouldnt take that long, for someone who knew how to do it.
    Regards
    C.

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    An easier way would be to put it in the Mini-Cal Check out the RSS-Liv Zimlet on how to access the mini-cal div. You can just set the image to the minical and then dismiss it after you've read it.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •