[muglo] Seeking Javascript help

  • From: doug rogers <dougsamu@xxxxxxxxxx>
  • To: Online MUGLO <muglo@xxxxxxxxxxxxx>
  • Date: Sun, 10 Apr 2005 21:57:47 -0400

I am updating the cartoons page which sows a collection of work from  
The Londoner. The secret URL to the update page is

<http://home.golden.net/~samu/cartoonbook/cartoonsindex.html>

The javascript, which worked previously now does not respond. I have  
made changes only the variable MyPix NewArray to include the images  
names and updated the imagecount variable names

<SCRIPT LANGUAGE="JavaScript">
MyPix = new  
Array("elections.jpg","frontpage.jpg","Funhouse.jpg","garbageFlies.jpg", 
"generators.jpg","marcsmokes.jpg","Mosquito.jpg","potholes.jpg","badboys 
.jpg","practicaljokes.jpg","MartinNewDeal.jpg","LeakFashions.jpg","TVCom 
mercial.jpg","NewManager.jpg","Leno.jpg","walnutTree.jpg","bug&umbrella. 
jpg","RidoutScrunch.jpg","FlipBook2.jpg","CostOfAParty.jpg","DeerIntervi 
ews.jpg","TheWrecktory.jpg","100YearsAhead.jpg","HospitalCasino.jpg")

thisPic = 0
imgCt = MyPix.length - 1        
imagecount = MyPix.length       

function chgSlide(direction) {
                if (document.images) {
                thisPic = thisPic + direction
                        if (thisPic > imgCt) {
                        thisPic = 0
                        }
                        if (thisPic < 0) {
                                thisPic = imgCt
                        }
                        //alert (thisPic)
                        document.myPicture.src = MyPix[thisPic]
                }
        }               
function showPic(count) {
        thisPic=count   document.myPicture.src = MyPix[thisPic] }
</script>

Can anyone here give me a heads up on why this doesn't work anymore?

  There is a crack in everything. That's how the light gets in.
__________<http://home.golden.net/~samu>__________

_________________________________________________

For information concerning the MUGLO List just click on

           http://muglo.on.ca/Pages/joinus.html

Our Archives can be viewed at 

         //www.freelists.org/archives/muglo

Don't forget to periodically check our web site at:

                 http://muglo.on.ca/

Other related posts:

  • » [muglo] Seeking Javascript help