Moviebox / Flower

digitalcaroline's Avatar

digitalcaroline

04 Sep, 2010 08:28 PM

Hi

I've got the Moviebox working.. but in an idea world I want my wordpress site to open with the overlay and then the visitor to have to shut it / close it before going through to the main site. Is there any easy way to do this?

Thanks

Caroline

  1. 1 Posted by digitalcaroline on 04 Sep, 2010 10:26 PM

    digitalcaroline's Avatar

    I should add.. the main problem is to create a landing page for a wp site it usually circumvents templates etc. so right now this is the only place on my site where the tag to do this is not working.. and this is the only place I wanna do it. I'm certain there's a way to do it, but I'm not quite there with my skills just yet. Any advice? FYI nearly all the music sites I've had built for me in the past wanted this functionality to push no. of plays on vimeo / youtube etc. was a key part of the label's strategy. thanks! x

  2. Support Staff 2 Posted by Jesse von Doom on 06 Sep, 2010 04:12 PM

    Jesse von Doom's Avatar

    Hi,

    For a landing page I'd generally recommend using a true embed on a unique splashpage rather than an overlay. It's a little cleaner and offers your user more of an obvious play/skip ability. There's a really good how-to about 3/4 down this page:

    http://www.webdesignerwall.com/tutorials/wordpress-theme-hacks/
    (Look for "Custom Frontpage")

    But if you're sure you want to use an overlay it's doable with JavaScript. You'll need to modify the flower_init.js to listen for Flower's boot event, then the simplest way to go is to initiate a click event on a link. So first add the link to your page, give it an ID like "myOverlayLink" and then try this as your init script:

    /*    
    CASH Music Flower bootstrap script
    more information/downloads available at: http://cashmusic.org/tools/
    */
    var flowerUID;
    window.addEvent('domready', function(){
        flowerUID = new FlowerCore();
        flowerUID.bootstrap();
        flowerUID.addEvent('bootComplete', function() {
            document.id('myOverlayLink').fireEvent('click');
        });
    });
    

    That's just quick semi-code, not tested. But it should get you most of the way down the road. Let me know if you have any luck/need any more help.

    Good luck,
    Jesse

  3. Jesse von Doom closed this discussion on 06 Sep, 2010 04:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac