View Full Version : Resolved Javascript issues with 2 MooTools-based Apps

02-17-2009, 09:07 PM
I'm trying to use Mooflow and Multibox together on a page.

Both scripts work fine separate from each other, but when I set properly up an anchor tag inside of Mooflow, it opens the link in a new window rather than in the Multibox. Any help would be greatly appreciated.

There is a test link at the top - that's outside of the Mooflow - which works fine. The identical code on the first image in the Mooflow, opens in a new window instead of using the Multibox.

Any ideas?

02-18-2009, 08:22 PM
Got it. Stupid issue. initMultibox finds all anchor tags with the class 'mb' on page load. Because the links within the Mooflow are being generated dynamically, it didn't pick them up. I added the initMultibox function to the generation of the anchor icon in the Mooflow and it works fine.