From what I see on your page, it looks to me that the bubble is closed
before IE handles the click on the link. Maybe there is a problem with
the way Simile closes popups when the user clicks on the page?
Have a look at SimileAjax.WindowManager.cancelPopups in
<timeline>/src/ajax/api/scripts/window-manager.js
Maybe there's a problem when testing whether the click is inside an
element? What happens if you disable that function?
Hope this brings you a step closer to finding the error,
Jonas
> I gave that a go, but no luck.
So the bubble does not close, but the link still doesn't work? That's
indeed strange...
> Here is something interesting we discovered...if we move the timeline
> to the top of the page, the links work suddenly:
> http://www.twdb.state.tx.us/stimulus/cwsrf.htm
That's an interesting observation. It leads me to the thought that
scrolling could lead to the problem. Does it work if you put the
timeline not at the beginning of the page, but high enough so that no
scrolling is necessary to see it?
This would also be a hint that some javascript which calculates a
position is involved... this is quite a hard thing to do correctly, and
scrolling further complicates the fact.
Have a nice weekend,
Jonas
> The bubble does close, but the link doesn't work.
So I think we've narrowed down the problem now:
1. There is code which closes the bubble but shouldn't (because the
click is inside the bubble).
2. The code fails to compute the click position correctly because the
scroll offset is not taken into account.
I really think the bug is somewhere close to
SimileAjax.WindowManager.cancelPopups(). To confirm this, it would be
good if you could override that function (make it do nothing, so the
bubbles do not close) and check whether the link works.
For me, it's difficult to investigate further because I'm running IE
only emulated on my linux box and don't have access to javascript
debugging except firebug lite. Any other motivated IE-user out there?
Best,
Jonas
in principle, Javascript allows you to override any method of an object.
You just have to include the javascript code that does it *after* you
include the timeline code. The important thing here is that you don't
have to modify the timeline code; instead you can override it.
In your case, you might write the following:
SimileAjax.WindowManager.cancelPopups = function() {}
to disable closing popups. I've tested this on IE using firebug lite,
and it effectively makes the pdf link work. Here are some step-by-step
instructions:
1) go to http://getfirebug.com/lite.html
2) Follow the "Firebug Lite as bookmarklet" instructions
3) Visit your site http://www.twdb.state.tx.us/stimulus/cwsrf_new2.htm
4) Click on the Firebug lite bookmark. The firebug console should be
displayed.
5) Open the "console" tab in firebug, if it's not open yet
6) At the >> prompt, enter "SimileAjax.WindowManager.cancelPopups =
function() {}" (without the quotes) and press enter
7) You bubbles should now not close anymore
8) You should now be able to access your link.
Now this is just the first step of the solution, because I think bubbles
should close after all... but fixing that javascript code is beyond what
I'd like to do for IE users.
Does this work?
Jonas
> If you put <script>SimileAjax.WindowManager.cancelPopups = function()
> {};</script> as the last entry in the <head> tag that will essentially
> do the same thing that Jonas said to do with firebug lite.
Thanks, that's exactly what I meant ;)
>> How were you able to edit our simile-ajax-bundle.js file?
As I tried to point out, you don't edit any timeline file. Instead, you
add your changes in another file (or script tag, as above).
Best,
Jonas