Results 1 to 2 of 2

Thread: Any link menu

  1. #1
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any link menu

    Hi all,

    I use anylink menu for my website. It's great.
    But when I use it with flash object, I have problem: The anylink menu is allways behind the flash object.

    Here is my scenario:

    <a href="#" onclick="PlayVideo(Video1.wmv)" >Video1</a>
    <a href="#" onclick="PlayVideo(Video2.wmv)" >Video2</a>

    PlayVideo1 javascript function
    function PlayVideo1(url){
    document.getElementById("VideoContent").innerHTML='<object id="mVideo" name="mVideo" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" height="312" standby="Loading Microsoft Windows Media Player components..." width="346" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"><param name="URL" value="'+url+'"><param name="volume" value="50">
    <param name="wmode" value="transparent">
    <embed id="mEVideo" wmode="transparent" name="mEVideo" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" src="'+url+'" width="346px" height="312px"></embed></object>';
    }

    The problem is the anylink menu is allway behind the video flash.
    How can I fix this?

    Thanks alot for support.
    QuyenPN

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    This has been answered many times in various forms. Please do a search.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •