function Q4U_Player(mp3_files) { document.write("
"); document.write("<\/div>"); document.write(" "); document.write(" "); document.write(" "); document.write("
<\/td>"); document.write(" <\/tr>"); document.write("
"); document.write(" "); document.write(" "); document.write(" \"\"<\/a><\/td>"); document.write(" "); document.write(" "); document.write(" "); document.write(" <\/a><\/td>"); document.write(" "); document.write(" "); document.write("  <\/td>"); document.write(" <\/tr>"); document.write(" <\/table>"); } //--- Swap images for menu ------------------------------------------- //-------Usage -------- //
Gamal
// //--------------------- function changeStyle(div_id, img_ovr) { document.getElementById(div_id).style.backgroundImage = "url(" + img_ovr + ")"; } function changeStyleBack(div_id, img_org) { document.getElementById(div_id).style.backgroundImage = "url(" + img_org + ")"; } //--------------------------------------------------------------------------------------- //---- ------- Put This Div in any Place //-----
//--------------------- Play with width and height ---------------------- function PlayIt(what){ document.getElementById('music').innerHTML='' +'' +'' +'' +'' +'' +'<\/object>'; } //-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //--------------------- Play with zero width and zero height ---------------------- function PlayIt_zero(what) { document.getElementById('music').innerHTML = '' + '' + '' + '' + '' + '' + '<\/object>'; } //-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //--------------------- Play with width and height for IE only ---------------------- function play(media) { document.getElementById('mediaplayer').innerHTML = '' + '' } //----------------------------------- Image Border ---------------------------------- function Img_border_On(iid) { document.getElementById(iid).border = '2'; } function Img_border_Off(iiid) { document.getElementById(iiid).border = '0'; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i