Skip to main content

JS Style Switcher for BG Images 77 Responses

Last post: 2 years, 3 months ago | Thread started: Feb 3, 10, 8:42 p.m.

RespondNew TopicDisable Images

Out of context: Response #6 [Feb 3, 10, 8:42 p.m.]

  • noiseisthis

    flash:
    import flash.external.ExternalInterface...
    import flash.events.MouseEvent;

    trigger_mc.addEventListener(Mous... onTrigger);
    function onTrigger(event:MouseEvent):void {
    // the method that you want to call in javascript goes in the quotes
    ExternalInterface.call("trigger...
    }

    --------------------------------
    javascript:
    <script type="text/javascript">
    $(window).load(function(){
    $("#linky").mouseover(
    trigger();
    });
    });

    function trigger() {
    $('body').css("background-image... bg-pink.gif )");
    return false;
    }
    </script>

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel

Skip to main content