在开一贴,高手来帮忙看下这个效果怎么实现的。 上一贴地址现在找到了一个演示地址上面的演示地址有三种播放效果,随便选择一个点进去都有那个单击文字教程视频跳转的效果,然后拖动视频,教程也跟着跳转~请问下这种效果是怎么实现的。谢谢了~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ASP.NET 的 AJAX与Silverlight 联合决战,也许能找到解决问题的启发 这个不知道,不过他肯定不是Silverlight做的 用Silverlight可以实现那样的效果 不是太懂,不过据了解是用Silverlight可以实现 Silverlight怎么实现个法呢~高手叙述下了~` Silverlight 干这个 你是不是大才小用了!JUQERY 就能搞!加JAVASCRIPT用SM AJAX 真是无知 !音乐歌词 天天看 都不知道怎么实现的哦 晕! <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的 自己查看源文件 一个关于RadiobuttonList的问题 请教一个XPath语法的问题 DataList控件按指定日期显示的问题? asp和aspx可以在同一个网站下吗?(不建虚拟目录的前提下) DefaultValue不起作用!是什么原因呢? 关于表之间DataList的数据绑定问题,解了N天,也不行,特请高手一看!! asp.net中iframe传参为乱码? 发布IIS Excel导出失败 怎样无闪烁显示? 求一个技术项目价格定位 往header里动态添加style 请教诸位高手几个泛型的小问题
<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的 自己查看源文件