using getelementbyid and onclick with an array. HELP!!

Discussion in 'JavaScript' started by insidi0us, Jun 17, 2008.

  1. #1
    ok... i do what i can to learn stuff on my own, through searches and occasionally reading a help file, and while i don't always retain what i learn, i usually accomplish what i want. i'm a full time (student) pilot and don't really have the time to keep searching for the answer to this... so hopefully someone can help me out.

    i have a function changing the text of 9 links. my original goal was to change the text and the URL in each link, which i was able to do, using .href and .innerHTML... but i need them to swap images in the same html page... so i tried to add a .onclick using the same array... but i'm not a programmer and i don't know what needs to be done.

    http://www.starrtrax.net/grrrrrr.html << an example page... the text scrolls up as you hit a scroll up button, but it doesnt change the onclick command... i'll post the code upon request but i figure you could just look at the source if you can help.

    i appreciate ANY input... like i said, this isn't really my expertise, but i can following along pretty well. if something can be simplified, i'm all for it. thanks :)
     
    insidi0us, Jun 17, 2008 IP
  2. insidi0us

    insidi0us Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ok i posted prematurely... i don't need you guys afterall. figured something out. thanks though! :)
     
    insidi0us, Jun 18, 2008 IP