I have pieced together bits of code (am a newbie) to create a series of drop down lists that are used to navigate to sections of an interactive chart. It uses the onClick event to make a selection. I'm wondering if anyone has a idea about the best way to get this to function in Safari and Chrome (it works perfectly on Firefox and Opera).
I have included an example of the code for zooming by month, but I also have an option for zooming by fortnight, week and day. The code is found below.
I haven't actually run this code myself so it may not work exactly the way it is, but the logic is there.
I've been working on this option before trying the event delegation - only because its going to take me a while to learn what's going on in that option (yup, I'm really new at this..).
The only thing with the jQuery code is that when I select a month (as in the example) the chart goes blank. I've attached an example of how the chart should look and also how it looks after selecting a month using the jQuery code above. Would it be possible to provide a clue as to what may be going wrong?