in reply to How to simulate?

So I thought I could provide a link to a JavaScript function that would move through the years recurively as follows.

That is not a link

But it generates the first year and stops.

That is what happens when you instruct the browser to visit a different webpage

Replies are listed 'Best First'.
Re^2: How to simulate?
by isi (Initiate) on Apr 19, 2011 at 18:46 UTC

    Sorry. The Perl link is below.

    <A class='zzz tn' title='Simulate' HREF='javascript:simulate(\"$thestr +\")' ONMOUSEOVER=\"window.status='Click For A Color Map Simulation';r +eturn true\" ONMOUSEOUT=\"window.status=' ';return true\"><img SRC='. +./images/ball1.gif' style='image-orientation: 90deg;' width=7 height= +7></A>
    I hear what your saying. Do you have any suggestions? I already have links for each year on the page. I'm sort of experimenting with this simulation idea.

      I hear what your saying. Do you have any suggestions? I already have links for each year on the page. I'm sort of experimenting with this simulation idea.

      Suggestions other than don't instruct the browser to leave the current page?

      • Learn about the DOM
      Fundamentally is is a javascript/DOM/AJAX question, using javascript to get data from the webserver (AJAX), and manipulating the current DOM to display this data

      http://w3schools.com/ is a good starting point if you want to learn about these things, or try something like stackoverflow for q'n'a