Javascript Tard
- Started
- Last post
- 5 Responses
- 071183
I'm a newbie at Javascript, so I took a script at http://javascript.internet.com/m…
and did a small bit of customization.
What I am trying to do right now is when the user presses one image buttons, I want the script to change two different images (the main img and a img with text) instead of just one.
To accomplish this, I simply copied the whole function script at the top, and made variable changes. I added the style in the Body.
Unfortunately, what's now happening with my script is that it is changing the second picture when I press each button, but it is not changing the first.
What am I doing wrong?
- ********0
tard isn't so nice, grow up
- 0711830
Anyways, turns out all I needed to do was add the function following the semi-color. Very newbish indeed.
- ********0
you win bro
- 187LockDown0
Good thing you helped yerself out, Becuz peeps round heeyah, don't like helpin owt ova bruvvaz.
- 0711830
That's not true.
I've posted numerous threads, and have always gotten an educated answer. Sometimes it takes a little time, but I'm always satisfied by the responces.
The only difference this time, was that my query was a little lengthy and hard to explain.