Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Generate Random Garfield Comics

  1. #1
    Posts Occur in Real Time edczxcvbnm's Avatar
    Join Date
    Aug 2000
    Location
    The World
    Posts
    7,920

    Default Generate Random Garfield Comics

    Just make a new text document and paste this code into it. Save it so that it is an HTML document. Open it up and you have your random comics.

    Attached are some of the example I have created using this generator.

    Code:
    <html>
    <head>
    <title>The Eagle_Fire Garfield Randomizer</title>
    <style type='text/css'>
    td {
     overflow: hidden;
     text-align: left;
     vertical-align: top;
     max-height: 200px;
     max-width: 180px;
     }
    img {
     positron: absolute;
     
     }
    </style>
    </head>
    <body>
    <table border=1><tr>
    <td width=200 height=180 id=td1> </td>
    <td width=200 height=180 id=td2> </td>
    <td width=200 height=180 id=td3> </td>
    </tr>
    <tr>
    <td><input type=checkbox id=ck1>Lock</td>
    <td><input type=checkbox id=ck2>Lock</td>
    <td><input type=checkbox id=ck3>Lock</td>
    </tr>
    </table>
    <script language="JavaScript1.2">
    function fmt(n) {
     n = Math.floor(n);
     if (n < 10) return "0" + n;
     return n;
     }
    function load() {
    var t = new Array("td1", "td2", "td3");
    var c = new Array("ck1", "ck2", "ck3");
    for (i = 0; i < t.length; i++) {
     if (document.getElementById(c[i]).checked) continue;
     year = 2001 + Math.random() * 4;
     month = Math.random() * 12 + 1;
     day = Math.random() * 30 + 1;
     panel = Math.random() * 3;
     if ((new Date(fmt(month) + "/" + fmt(day) + "/" + fmt(year))).getDay() == 0)
      day = (day + 1) % 31 + 1;
     if (month == 2 && day > 28) day = 28;
     imgurl = "http://images.ucomics.com/comics/ga/" 
      + fmt(year) + "/ga" + fmt(year % 100) + fmt(month) + fmt(day) + ".gif";
     tu = document.getElementById(t[i]);
     tu.background = imgurl;
     tu.style.background = "url(" + imgurl + ") " + -200 * Math.floor(panel) + "px 0px";
     }
    }
    load();
    </script>
    <br>
    <input type='button' value = "Go" onClick="load()">
    </body>
    </html>
    Attached Images Attached Images

  2. #2
    Huh? Flower?! What the hell?! Administrator Psychotic's Avatar
    Join Date
    Aug 2002
    Posts
    53,286
    Articles
    71

    Default

    These are my best three.

    I like the first one the best, because he's acting all wacky and trying to seem cool, and Garfield just shuts him down.
    Attached Images Attached Images

  3. #3
    Ten-Year Vet Recognized Member Kawaii Ryűkishi's Avatar
    Join Date
    Sep 2000
    Location
    Moonside
    Posts
    13,801
    Contributions
    • Former Cid's Knight
    • Former Administrator

    Default

    The best part is that these are invariably a million times more entertaining than anything Jim Davis and his staff of ghostwriters have ever composed.

  4. #4
    'Gabby Hayes' big Bart's Friend Milhouse's Avatar
    Join Date
    Jan 2006
    Location
    London
    Posts
    3,380

    Default

    lol these are quite funny, put some more up!
    ...Geddit?

  5. #5
    Recognized Member TheAbominatrix's Avatar
    Join Date
    May 2002
    Location
    Sacramento, California
    Posts
    6,838
    Contributions
    • Hosted Eyes on You

    Default

    "Garfield at Large", by Jim Davis. Now as you can see in this panel, Garfield doesn't care for Nermal. But like him or not, Nermal is here to stay! Or is he? Let's read on.

  6. #6
    dizzy up the girl Recognized Member Rye's Avatar
    Join Date
    Dec 2002
    Location
    a tiny boot
    Posts
    24,891
    Articles
    4
    Blog Entries
    3
    Contributions
    • Hosted Eyes on You
    • Former Cid's Knight

    Default

    Quote Originally Posted by Kawaii Ryűkishi
    The best part is that these are invariably a million times more entertaining than anything Jim Davis and his staff of ghostwriters have ever composed.
    Yes.


  7. #7
    Chocobocconcini Doomie's Avatar
    Join Date
    Jun 2004
    Location
    You. *wink*
    Posts
    754

    Default

    Those of you who don't like the Garfield comics are gay.

    EDIT: Much unlike Chuck Norris.

    EDIT2: Seriously, Garfield comics are awesome.

  8. #8
    Draw the Drapes Recognized Member rubah's Avatar
    Join Date
    Dec 2004
    Location
    Now Destiny is done.
    Posts
    30,655
    Blog Entries
    21
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    Quote Originally Posted by Kawaii Ryűkishi
    The best part is that these are invariably a million times more entertaining than anything Jim Davis and his staff of ghostwriters have ever composed.
    No, you're thinking of those garfield strips with garfield's dialog removed.

    I forget the word ascribed to them. Surrealist?

  9. #9
    Paganini is a bastard. Rengori's Avatar
    Join Date
    Jun 2005
    Location
    Under Avarice's bed (Los Angeles)
    Posts
    8,147

    Default

    Quote Originally Posted by Kawaii Ryűkishi
    The best part is that these are invariably a million times more entertaining than anything Jim Davis and his staff of ghostwriters have ever composed.
    Ouch, that was cruel Kishi. Unfortunately, you're absolutely right.
    JOY IS A BITCH, but she is so adorable!
    generated by sloganizer.net
    Kaycee says (12:06 AM):
    whos' obama?

  10. #10
    Some kind of Nature~ Fonzie's Avatar
    Join Date
    Jun 2005
    Posts
    6,079
    Contributions
    • Former Site Staff

    Default

    Dude my old teacher had a big bundle of these type of comics when i was in 5th grade. I've read them all.

  11. #11
    Posts Occur in Real Time edczxcvbnm's Avatar
    Join Date
    Aug 2000
    Location
    The World
    Posts
    7,920

    Default

    Quote Originally Posted by Port Regulator mobiletype
    lol these are quite funny, put some more up!
    Because you demanded it!
    Attached Images Attached Images

  12. #12
    oh, sweet nuthin' themagicroundabout's Avatar
    Join Date
    May 2005
    Location
    Whiskeyclone, Hotel City 1997
    Posts
    2,092

    Default

    They make no sense whatsoever. It's great.

  13. #13
    sly gypsy Recognized Member Levian's Avatar
    Join Date
    May 2002
    Location
    Donut Plains
    Posts
    14,210
    Articles
    1
    Blog Entries
    4
    Contributions
    • Former Cid's Knight
    • Hosted the Ciddies

    Default

    The last one of edczxcvbnm is pretty good. and psy's last one.


  14. #14
    Posts Occur in Real Time edczxcvbnm's Avatar
    Join Date
    Aug 2000
    Location
    The World
    Posts
    7,920

    Default

    You guys didn't even look at the new comics. YOU FAIL!

  15. #15
    sly gypsy Recognized Member Levian's Avatar
    Join Date
    May 2002
    Location
    Donut Plains
    Posts
    14,210
    Articles
    1
    Blog Entries
    4
    Contributions
    • Former Cid's Knight
    • Hosted the Ciddies

    Default

    I did, but the only one that was funny was the last one, like I mentioned.


Posting Permissions

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