A realy nooby problem (Java Script to change the image)

javascript , change image , gallery Nicosia, Cyprus
  • 12 years ago
    Hello there guys. This is my first post here and unfortunately I have to ask for help. My problem is really stupid I gess but I just get into Java Script I'm trying to do this test to work but I cant manage it... Its 2 classical buttons that have to change the image with functions. I upload it here: [url]http://www.testjscript.bravehost.com/[/url] but because you may not be able to find my code from the advertises I also write it: [CODE]
    [/CODE] My images: [B]phot1.jpg[/B] [IMG]http://i42.tinypic.com/2vuy4o7.jpg[/IMG] [B]phot2.jpg[/B] [IMG]http://i43.tinypic.com/29lmwrs.jpg[/IMG] Thanks in advance for any help given! :D
  • 12 years ago
  • 12 years ago
    Hi, the tag you are using for the image is incorrect, it should be img. Try that and see if you get better results. Regards Si

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There's no test like production” - Anon