Executing JS on squeezebox content load.

307 views
Skip to first unread message

DataShuttle

unread,
Apr 24, 2012, 11:59:00 AM4/24/12
to mootool...@googlegroups.com
Once the squeezebox content is loaded, execute some JS.  Anyone have a way to do this?

Arian Stolwijk

unread,
Apr 24, 2012, 2:47:40 PM4/24/12
to mootool...@googlegroups.com
You need to give more context than this.
What is sqeezebox, which version, which mootools version, some link, example code (jsfiddle.net).

Matthew Hazlett

unread,
Apr 24, 2012, 6:08:09 PM4/24/12
to mootool...@googlegroups.com
Think he means:
http://digitarald.de/project/squeezebox/

Written for Moo 1.2

Rolf Langenhuijzen

unread,
Apr 24, 2012, 6:41:13 PM4/24/12
to mootool...@googlegroups.com
http://digitarald.de/project/squeezebox/1-1/source/SqueezeBox.js?

You can list to the several events that are fired, like onOpen and onClose.
You know how to use these?

DataShuttle

unread,
Apr 25, 2012, 7:45:54 AM4/25/12
to mootool...@googlegroups.com
Sorry for the lack of context.

A squeezebox is a light box modal used by Moo 1.2+.  The content of which is dynamically loaded via a Moo request.

As it turns out, none of the events appear to fire after the content is loaded. I need to hide some of the loaded squeezebox elements based on a HTML select box setting, which also loads as content.

So, I need an event to trigger on this squeezebox content on load.

Rolf Langenhuijzen

unread,
Apr 25, 2012, 2:46:48 PM4/25/12
to mootool...@googlegroups.com
can you create a fiddle of it at jsfiddle.net?
Reply all
Reply to author
Forward
0 new messages