• Post Reply Bookmark Topic Watch Topic
  • New Topic

need some help here  RSS feed

 
Matt Alonso
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, here's the problem. Essentially I wrote some javascript to display 1 of 2 (we'll call them image a and b) images depending on which link is clicked. I have 4 different sets of these, but I also want to have 2 "main" buttons so that if you click one of them, for example, all of the image "a's" would come up. I am sure this is not to difficult problem, but I'm a little new to javascript. Thanx for the help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Matt,
Welcome to the Ranch!
You might find more pertinent help with Javascript in the HTML/Javascript forum.
As to your question, I wasn't completely sure what you are after. Could you elaborate? (Preferable in a new post in aforementioned forum).
bear
 
Carol Murphy
village idiot
Bartender
Posts: 1211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you might be confusing Java, which is a programming language, with Javascript, which is used in HTML documents to accomplish special little chores that make your page do cool things. They aren't the same thing, although the names are similar.
 
Marilyn de Queiroz
Sheriff
Posts: 9082
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML and Javascript forum
[ June 14, 2003: Message edited by: Marilyn de Queiroz ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!