上一贴地址现在找到了一个演示地址上面的演示地址有三种播放效果,随便选择一个点进去都有那个单击文字教程视频跳转的效果,然后拖动视频,教程也跟着跳转~请问下这种效果是怎么实现的。谢谢了~

解决方案 »

  1.   

    ASP.NET 的 AJAX与Silverlight 联合决战,也许能找到解决问题的启发
      

  2.   

    这个不知道,不过他肯定不是Silverlight做的
      

  3.   

    用Silverlight可以实现那样的效果
      

  4.   

    不是太懂,不过据了解是用Silverlight可以实现
      

  5.   

    Silverlight怎么实现个法呢~高手叙述下了~`
      

  6.   

    Silverlight 干这个 你是不是大才小用了!JUQERY 就能搞!加JAVASCRIPT用SM AJAX  真是无知 !音乐歌词 天天看 都不知道怎么实现的哦 晕!
      

  7.   

    <td width="142" height="15" id="ForSlider" background="../../../../../images1/mk_sliderbg.gif" style="position: relative; left: 0px;" onmousedown="mouseDown()">
    <div id="Slider" style="position: relative; width: 14px; overflow: hidden; top: 3px; cursor: pointer; left: 68px;">
    <img width="14" height="9" alt="移动滑块控制课程进度" src="../../../../../images1/m_slider.gif" complete="complete"/>function StartMouse()
    {
    //alert(document.MediaPlayer.currentMedia.Duration||(!isNaN(document.MediaPlayer.currentMedia.Duration)));
    if(document.MediaPlayer.currentMedia.Duration||(!isNaN(document.MediaPlayer.currentMedia.Duration))){
    window.document.onmousemove = mouseMove;
    window.document.ondragstart = mouseEnd;
    window.document.onmouseup = mouseUp;
    /*window.document.onmousedown = mouseDown;*/
    }else{
    //  GetObj('myScreen').innerHTML='<img width=320 height=264 src=images/gw_bn_278.jpg alt="ʹIEۿƵ">';
    }
    }

    function mouseDown(){
    if(document.MediaPlayer.currentMedia.Duration||(!isNaN(document.MediaPlayer.currentMedia.Duration))){
    window.document.onmousemove = mouseMove;
    window.document.ondragstart = mouseEnd;
    window.document.onmouseup = mouseUp;
    /*window.document.onmousedown = mouseDown;*/
    }
    try{
    if(document.MediaPlayer.currentMedia.Duration>0){
    sFlag = true;
    if(window.event.srcElement.id!='ForSlider') GetObj('Slider').style.left = GetObj('Slider').offsetLeft;
    else GetObj('Slider').style.left = (window.event.x-7);
    }
    }
    catch(e) 
    {}
    }function mouseMove(){
    try{
    if(document.MediaPlayer.currentMedia.Duration>0){
    if(sFlag) document.getElementById('Slider').style.left = window.event.clientX - document.getElementById('ForSlider').offsetLeft - 7; //window.event.x-9;
    if (parseInt(document.getElementById('Slider').style.left) > 128) document.getElementById('Slider').style.left=128;
    if (parseInt(document.getElementById('Slider').style.left) < 0) document.getElementById('Slider').style.left=0;
    }
    }
    catch(e) 
    {}
    }function mouseUp()
    {
    if(document.MediaPlayer.currentMedia.Duration>0){
    if (sFlag){
    var duration = document.MediaPlayer.currentMedia.Duration;
    document.MediaPlayer.controls.CurrentPosition=duration * (parseInt(document.getElementById('Slider').style.left)/128);
    }
    sFlag = false;
    }
    }function mouseEnd()
    {
    if(document.MediaPlayer.currentMedia.Duration>0){
    window.event.returnValue = false;
    }
    }

    }都是js的  自己查看源文件