|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
How to achieve this effect! !
How to achieve this effect! ! I read other people's code to write, but too much trouble, I have no idea. I know a lot of experts here, we want to confuse her brother's case an answer! !
[url=http://]http://mjing.com/blog/default.asp?cateID=3 |
Do not experts can solve this problem, the experts do not say that these clouds 吗?? master bath? Is no one willing to help me this is definitely a beginner? |
You ask? Five pages to let others speculate? Who this Xiangongfu
What you refer to the results? |
I do not blame it clear that I say is that the effect of media player, click on the show broadcast spots can be closed again demonstrated results. . . . . . . .
Hope that the master can give answers. .
Like to express great thanks go up in smoke. |
[code]function MediaShow (strType, strID, strURL, intWidth, intHeight)
{
Var tmpstr
If (MediaTemp[strID]==undefined) MediaTemp[strID]=false; else MediaTemp[strID]=!MediaTemp[strID];
If (MediaTemp[strID]) (
If (document.all) (
Document.getElementById (strID). OuterHTML = ' "loop filled="f""' +strID+ ' "" </div>'
}
Else
{
Document.getElementById (strID). InnerHTML = ''
}
Document.images[strID+ "_img" ].src= "images/mm_snd.gif"
Document.getElementById (strID+ "_text"). InnerHTML= "Online Player"
}else{
Document.images[strID+ "_img" ].src= "images/mm_snd_stop.gif"
Document.getElementById (strID+ "_text"). InnerHTML= "closed online broadcasts"
Switch (strType) (
Case "swf" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow:hidden "" </div><object codebase= "http : //download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 "classid=" clsid : D27CDB6E-AE6D-11cf-96B8-444553540000 "width=" '+intWidth+' "height" '+intHeight+' "" <param name="_ftn1" "movie" value= " '+strURL+'" /><param name="_ftn1" "quality" value= "high" /><param name="_ftn1" "AllowScriptAccess" value= "never" /><embed defended " '+strURL+'" quality= "high" plugins page= "http : //www.macromedia.com/go/getflashplayer "type=" application/x-shockwave-flash "width=" '+intWidth+' "height" '+intHeight+' "/></object> ';
Break;
Case "wma" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow:hidden "" </div><object classid= "CLSID : 22d6f312-b0f6-11d0-94ab-0080c74c7e95 "filled="f"" MediaPlayer "width=" 450 "height" 70 "" <param name="_ftn1" "" howStatusBar "value=" -1 "and" <param name="_ftn1" "AutoStart" value= "False" and "<param name="_ftn1"" Filename "value=" '+strURL+' "" </object> ';
Break;
Case "wmv" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow:hidden "" </div><object classid= "clsid : 22D6F312-B0F6-11D0-94AB-0080C74C7E95 "codebase=" http : //activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02. 902 "type=" application/x-oleobject "standby=" Loading. . . "width=" '+intWidth+' "height" '+intHeight+' "" <param name="_ftn1" "FileName" VALUE= " '+strURL+'" /><param name="_ftn1" "ShowStatusBar" value= "-1" /><param name="_ftn1" "AutoStart" value= "true" /><embed type= "application/x-mp layer2 "pluginspage=" http : //www.microsoft.com/Windows/MediaPlayer/ "defended" '+strURL+' "autostart=" true "width=" '+intWidth+' "height" '+intHeight+' "/></object> ';
Break;
Case "rm" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow:hidden "" </div><object classid= "clsid : CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA "width=" '+intWidth+' "height" '+intHeight+' "" <param name="_ftn1" "SRC" value= " '+strURL+'" /><param name="_ftn1" "CONTROLS" VALUE= "ImageWindow" /><param name="_ftn1" "CONSOLE" value= "one" /><param name="_ftn1" "AUTOSTART" value= "true" /><embed defended " '+ strURL+ ' "nojava=" true "controls=" ImageWindow "console=" one "width="' +intWidth+ ' "height"' +intHeight+ ' "" </object>' +
' "Br/><object classid=" clsid : CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA "width=" '+intWidth+' "height" 32 "/><param name="_ftn1"" CONTROLS "value=" StatusBar "/><param name="_ftn1"" AUTOSTART "value=" true "/><param name="_ftn1"" CONSOLE "value=" one "/><embed defended" '+strURL+' "nojava=" true "controls=" StatusBar "consol e = "one" width= " '+intWidth+'" height "24" /></object> '+' "br /><object classid=" clsid : CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA "width=" '+intWidth+' "height" 32 "/><param name="_ftn1"" CONTROLS "value=" ControlPanel "/><param name="_ftn1"" AUTOSTART "value=" true "/><param name="_ftn1"" CONSOLE "value=" one "/><embed defended" '+strURL+' "nojava=" true "controls=" ControlPanel " console= "one" width= " '+intWidth+'" height "24" autostart= "true" loop= "false" /></object> ';
Break;
Case "Jamri" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow:hidden "" </div><object classid= "clsid : CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA "filled="f"" RAOCX "width=" 450 "height" 60 "" <param name="_ftn1" "_ExtentX" value= "6694" and "<param name="_ftn1"" _ExtentY "value=" 1588 "and" <param name="_ftn1" "AUTOSTART" value= "true" and "<param name="_ftn1"" SHUFFLE "value=" 0 "," <param name="_ftn1" "PREFETCH" value= "0", "<param name="_ftn1" "NOLABELS" value= "0", "<param name="_ftn1"" SRC "value=" '+strURL+' "" <param name="_ftn1" "CONTROLS" value= "StatusBar. ControlPanel "," <param name="_ftn1" "Loop" value= "0", "<param name="_ftn1"" NUMLOOP "value=" 0 "," <param name="_ftn1" "CENTER" value= "0", "<param name="_ftn1"" MAINTAINASPECT "value=" 0 "," <param name="_ftn1" "BACKGROUNDCOLOR" value= "#000000" "<embed defended" '+strURL+' "width=" 450 "autostart=" true "height" 60 "" </embed></object> ';
Break;
Case "qt" :
Tmpstr= ' "loop Historic Significance of the Transitional Budget" height:6px;overflow : hidden, "" </div><embed defended " '+strURL+'" autoplay= "true" loop= "false" controller= "true" playeveryframe= "false" cache= "false" scale= "TOFIT" bgcolor= "#000000" kioskmode= "false" targetcache= "false" pluginspage= "http : //www.apple.com/quicktime/ "everywhere ';
}
Document.getElementById (strID). InnerHTML = tmpstr;
}
Document.getElementById (strID+ "_href"). Blur ()
}[/code] |
Written by her brother upstairs too esoteric, as a novice I, or do not understand, there can be hope that we can achieve results pages can see that as a relatively clear. . . . . |
|