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.

On Jun 18, 6:50 am, Th3GMan <[email protected]> wrote:
> How were you able to edit our simile-ajax-bundle.js file?
>
> The code has changed to what you say below, and I didn't make the
> change. This is extremely worrysome to say the least.
>
> Second, the popups still close and the link doesn't work in IE8. Not
> sure of IE7 or IE6.
>
> This is now the code that is there:
> SimileAjax.WindowManager.cancelPopups=function(){};
> var E=SimileAjax.WindowManager._layers.length-1;
> while(E>0&&SimileAjax.WindowManager._layers[E].ephemeral){var
> D=SimileAjax.WindowManager._layers[E];
> if(D.elmt!=null){var C=D.elmt;
> var B=SimileAjax.DOM.getPageCoordinates(C);
> if(F.x>=B.left&&F.x<(B.left+C.offsetWidth)&&F.y>=B.top&&F.y<(B.top
> +C.offsetHeight)){break;}}E--;
> }SimileAjax.WindowManager._popToLayer(E);
> };
>
> SimileAjax.WindowManager._onBodyMouseDown=function(B,A,C){if(!
> ("eventPhase" in A)||A.eventPhase==A.BUBBLING_PHASE)
> {SimileAjax.WindowManager.cancelPopups(A);
>
> }};
>
> I have no idea what code should be in the first line normally, as I
> don't have a backup of that file. I'll have to go download the .js
> file again so that I have it if I need to replace it.
>
> On Jun 17, 4:18 pm, Jonas Wagner <[email protected]> wrote:
>
>
>
> > Hello,
>
> > 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 tohttp://getfirebug.com/lite.html
> > 2) Follow the "Firebug Lite as bookmarklet" instructions
> > 3) Visit your sitehttp://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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to