Why is this javascript not working in Chrome and Safari?

The line: document.images. Src = imgimgNumber isn't working. It should be document.

GetElementById('images'). Src = imgimgNumber Same with the line document.images. Src = imgthis.Id It should be: document.

GetElementById('images'). Src = imgthis.Id Once those were fixed, the slideshow worked for me in a local copy.

The line: document.images. Src = imgimgNumber; isn't working. It should be document.

GetElementById('images'). Src = imgimgNumber; Same with the line document.images. Src = imgthis.Id; It should be: document.

GetElementById('images'). Src = imgthis.Id; Once those were fixed, the slideshow worked for me in a local copy.

Thanks heaps for all the feedback, you guys rock! G_thom your answer was particularily concise and to the point; exactly what a beginner like myself needed. Now I should look up what 'minified' and 'error console' actually are/do.

– Samuel Martin Aug 10 at 2:19 No problem - glad it could help! – g_thom Aug 10 at 2:42 maybe I should have written 'chrome, safari and IE' in my question... just realized it doesn't work in IE8. – Samuel Martin Aug 10 at 5:42.

I am getting with no source. Try to alert alert(document.images. Src); == undefined.

Try document. GetElementById("images"). Src instead.

Var NumberOfImages = 9 var img = new Array(NumberOfImages) img0 = "Susielookbook-561. Jpg" img1 = "Luxe Deluxe W11 (9). Jpg" img2 = "Luxe Deluxe W11 (10).

Jpg" img3 = "Luxe Deluxe W11 (13). Jpg" img4 = "Luxe Deluxe W11 (19). Jpg" img5 = "Susielookbook-259.

Jpg" img6 = "Susielookbook-293. Jpg" img7 = "Susielookbook-431. Jpg" img8 = "Susielookbook-613.

Jpg" var imgNumber = 0; function setupImages(){ document.images. Src = imgimgNumber; for(var x=0; x CreateElement('img'); thumb. SetAttribute('src', 't_'+imgx); thumb.

Id = x; thumb. Onclick = function(){ document.images. Src = imgthis.

Id; imgNumber = this.Id; alert(document.images. Src); // AppendChild(thumb); } } function NextImage() { imgNumber++; if (imgNumber == NumberOfImages){ imgNumber = 0; } document.images. Src = imgimgNumber; } function PreviousImage() { imgNumber--; if (imgNumber.

Thank you very much for the answer, oliholz! I'm afraid I have a lot of work to do in js because I wasn't able to implement your solution. I couldn't find the line alert(document.images.

Src); in my code, so I put in your new line where you indicated... but to no avail. I'll keep at it! – Samuel Martin Aug 10 at 2:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions