-
Javascript issues with 2 MooTools-based Apps
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?
Last edited by tehhippy; 02-19-2009 at 04:04 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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks