I'm not a programmer. Best I can do is grab a snippet of someone else's work, thank them and wrestle with it for my own nefarious purposes.
I found
a bit of code that rips the image from todays comic strip {Doonesbury, in this case} and shows it without everything else that appears on the page.
What I'd like to do is set up a comics page, residing on my computer, that shows strips only, one after the other, without dates or titles.
I tweaked the original code into this...
Code:
<script type="text/javascript">
var t=new Date();var y=t.getYear();var sy=y;if(y<1000){y+=1900;}sy%=100;if(sy<10){sy='0'+sy;}var m=t.getMonth()+1;if(m<10){m='0'+m;}var d=t.getDate();if(d<10){d='0'+d;};
location='http://images.ucomics.com/comics/db/'+y+'/db'+sy+m+d+'.gif'
location='http://images.ucomics.com/comics/crbc/2008/crbc'+y+sy+m+d+'.gif'
location='http://www.sheldoncomics.com/strips/sd'+sy+m+d+'.gif'
</script>
...but it shows only the last strip on the list. I presume each strip is overwriting the one before it but I don't know how to separate them to get them to follow one after the other. Any help would be much appreciated.