|
ﻻنوس (دايو - شيفروليه) كانت و أصبحت |
|
أدوات الموضوع |
#11
|
|||
|
|||
رد: لانوس2008 كاملة مانوال 10000 كلم تعمل كام دلوقتي ؟
ptmnlo123per133ptmnlo123p er122
<script type="text/javascript"> /************************* ************************* ****** This Script will be included in all web pages to show an Icon on Mouse over, Clicking the Icon will show a Zoominto Viewer (a Flash made viewer) to Zoom the Image Content ************************* ************************* ******/ var tmppluginServername = "http://www.zoominto.com/software/ieplugin/"; var versionswf="1100"; var tmppluginSwfname=tmpplugi nServername + "imgviewerpremium" + versionswf + ".swf"; var protocol = "http://"; var isInternetExplorer = navigator.appName.indexOf ("Microsoft") != -1; plugin_run(); function BrowserZoomPlugin() { var ua, s, i; this.isIE = false; this.isNS = false; this.version = null; ua = navigator.userAgent; s = "MSIE"; if ((i = ua.indexOf(s)) >= 0) { this.isIE = true; this.version = parseFloat(ua.substr(i + s.length)); return; } s = "Netscape6/"; if ((i = ua.indexOf(s)) >= 0) { this.isNS = true; this.version = parseFloat(ua.substr(i + s.length)); return; } s = "Gecko"; if ((i = ua.indexOf(s)) >= 0) { this.isNS = true; this.version = 6.1; return; } } var browser = new BrowserZoomPlugin; var dragObj = new Object; dragObj.zIndex = 0; function zoominto_dragStart(event, id) { var el; var x, y; if (id) { dragObj.elNode = document.getElementById(i d); } else { if (browser.isIE) { dragObj.elNode = window.event.srcElement; } if (browser.isNS) { dragObj.elNode = event.target; } if (dragObj.elNode.nodeType == 3) { dragObj.elNode = dragObj.elNode.parentNode ; } } if (browser.isIE) { x = window.event.clientX + document.documentElement. scrollLeft + document.body.scrollLeft; y = window.event.clientY + document.documentElement. scrollTop + document.body.scrollTop; } if (browser.isNS) { x = event.clientX + window.scrollX; y = event.clientY + window.scrollY; } dragObj.cursorStartX = x; dragObj.cursorStartY = y; dragObj.elStartLeft = parseInt(dragObj.elNode.s tyle.left, 10); dragObj.elStartTop = parseInt(dragObj.elNode.s tyle.top, 10); if (isNaN(dragObj.elStartLef t)) { dragObj.elStartLeft = 0; } if (isNaN(dragObj.elStartTop )) { dragObj.elStartTop = 0; } dragObj.elNode.style.zInd ex = ++dragObj.zIndex; if (browser.isIE) { document.attachEvent("onm ousemove", zoominto_dragGo); document.attachEvent("onm ouseup", zoominto_dragStop); window.event.cancelBubble = true; window.event.returnValue = false; } if (browser.isNS) { document.addEventListener ("mousemove", zoominto_dragGo, true); document.addEventListener ("mouseup", zoominto_dragStop, true); event.preventDefault(); } } function zoominto_dragGo(event) { var x, y; if (browser.isIE) { x = window.event.clientX + document.documentElement. scrollLeft + document.body.scrollLeft; y = window.event.clientY + document.documentElement. scrollTop + document.body.scrollTop; } if (browser.isNS) { x = event.clientX + window.scrollX; y = event.clientY + window.scrollY; } dragObj.elNode.style.left = dragObj.elStartLeft + x - dragObj.cursorStartX + "px"; dragObj.elNode.style.top = dragObj.elStartTop + y - dragObj.cursorStartY + "px"; if (browser.isIE) { window.event.cancelBubble = true; window.event.returnValue = false; } if (browser.isNS) { event.preventDefault(); } } function zoominto_dragStop(event) { if (browser.isIE) { document.detachEvent("onm ousemove", zoominto_dragGo); document.detachEvent("onm ouseup", zoominto_dragStop); } if (browser.isNS) { document.removeEventListe ner("mousemove", zoominto_dragGo, true); document.removeEventListe ner("mouseup", zoominto_dragStop, true); } } function imgplayerprogress_DoFSCom mand(command, args) { var imgplayerprogressObj = isInternetExplorer ? document.all.imgplayerpro gress : document.imgplayerprogres s; } function zoominto_addElement(divId Name, htmlval) { try { var newdiv = document.createElement("d iv"); newdiv.setAttribute("id", divIdName); newdiv.setAttribute("titl e", ""); newdiv.style.position = "absolute"; newdiv.style.display = "none"; newdiv.innerHTML = htmlval; document.body.appendChild (newdiv);; } catch (e) { } } function zoominto_addmyelems(divId Name, htmlval) { try { var newdiv = document.createElement("d iv"); newdiv.setAttribute("id", divIdName); newdiv.innerHTML = htmlval; document.body.appendChild (newdiv);; } catch (e) { //_L(e); } } function zoominto_initializelement s() { zoominto_addElement("plug panel", " "); zoominto_addmyelems("plug incheck_0909", " "); } function zoominto_GetElementPostio n(theElement) { var selectedPosX = 0; var selectedPosY = 0; tmpw = theElement.width; tmph = theElement.height; while (theElement != null) { selectedPosX += theElement.offsetLeft; selectedPosY += theElement.offsetTop; theElement = theElement.offsetParent; } var tempelement = new Array(selectedPosX, selectedPosY, tmpw, tmph); return tempelement; } function plugin_showdeadcenterdiv( Xwidth, Yheight, divid) { var scrolledX, scrolledY; if (self.pageYOffset) { scrolledX = self.pageXOffset; scrolledY = self.pageYOffset; } else if (document.documentElement && document.documentElement. scrollTop) { scrolledX = document.documentElement. scrollLeft; scrolledY = document.documentElement. scrollTop; } else if (document.body) { scrolledX = document.body.scrollLeft; scrolledY = document.body.scrollTop; } var centerX, centerY; if (self.innerHeight) { centerX = self.innerWidth; centerY = self.innerHeight; } else if (document.documentElement && document.documentElement. clientHeight) { centerX = document.documentElement. clientWidth; centerY = document.documentElement. clientHeight; } else if (document.body) { centerX = document.body.clientWidth ; centerY = document.body.clientHeigh t; } var leftOffset = scrolledX + (centerX - Xwidth) / 2; var topOffset = scrolledY + (centerY - Yheight) / 2; var o = document.getElementById(d ivid); var r = o.style; r.position = "absolute"; r.top = topOffset + "px"; r.left = leftOffset + "px"; r.display = "block"; } function pluginalertShow(layerid) { document.getElementById(l ayerid).style.visibility = "visible"; document.getElementById(l ayerid).style.display = "block"; plugin_showdeadcenterdiv( 280, 115, layerid); document.getElementById(" plugin_btn_activate").foc us(); } function pluginalerthide(layerid) { document.getElementById(l ayerid).style.visibility = "hidden"; document.getElementById(l ayerid).style.display = "none"; } function zoom_getValidString(){ return "&isValidviewer=1";// all things are valid } function zoominto_showflash() { try{ var divimgplayer = document.getElementById(" div_plugin_img_player"); divimgplayer.style.displa y = "block"; divimgplayer.style.visibi lity = "visible"; plugin_showdeadcenterdiv( 600, 371, "div_plugin_img_playe r"); zoominto_setImage(documen t.getElementById("plugpan el").title); } catch (e) { } } function zoominto_closeflash() { var divimgplayer = document.getElementById(" div_plugin_img_player"); divimgplayer.style.displa y = "none"; divimgplayer.style.visibi lity = "hidden"; } function hidezoomicon(){ document.getElementById(" plugpanel").style.visibil ity = "hidden"; } function getMouseX( e ) { return e.pageX || ( e.clientX + ( document.documentElement. scrollLeft || document.body.scrollLeft ) ); } function getMouseY( e ) { return e.pageY || ( e.clientY + ( document.documentElement. scrollTop || document.body.scrollTop ) ); } function dhtmlLoadScript(url) { var e = document.createElement("s cript"); e.src = url; e.type="text/javascript"; // document.getElementByTagN ame("head")[0].appendChild(e); document.getElementById(" addiv").appendChild(e); } function getactualimgdimensions(im gsrc){ zoomintoheavyImage = new Image(); zoomintoheavyImage.src = imgsrc var tempelement = new Array(zoomintoheavyImage. width, zoomintoheavyImage.height ); return tempelement; } function plugin_run() { var image = document.getElementsByTag Name("img"); var totimgLength=image.length ; zoominto_initializelement s(); for (var i = 0; i < image.length; i++) { if (image[i].className.match("myplug_ img")){ image[i].onmouseout = function (evt) { document.getElementById(" plugpanel").style.visibil ity = "hidden"; } }// Zoom icon hidden zoomarrdim= getactualimgdimensions(im age[i].src); //arrdim[0] - width arrdim[1] - height if (!image[i].className.match("myplug_ img") && zoomarrdim[0] > 50 && zoomarrdim[1] > 60) { image[i].onmouseover = function () {imgvals = zoominto_GetElementPostio n(this); document.getElementById(" plugpanel").style.display = "block";document.getEleme ntById("plugpanel").style .visibility = "visible";document.getEle mentById("plugpanel").sty le.left = imgvals[0] + "px";document.getElementB yId("plugpanel").style.to p = imgvals[1] + "px";document.getElementB yId("plugpanel").title = this.src;}; image[i].onmouseout = function (evt) { imgvals = zoominto_GetElementPostio n(this); strx=imgvals[0]; stry=imgvals[1]; endx=imgvals[0] +imgvals[2] ; endy=imgvals[1] + imgvals[3]; tmpcurx=evt.pageX; tmpcury=evt.pageY; if(tmpcurx > strx && tmpcurx < endx && tmpcury > stry && tmpcury < endy ){ l=1 } else{ document.getElementById(" plugpanel").style.visibil ity = "hidden"; } }; }// End of Condition Image smaller if(zoomarrdim[0] == 1 && zoomarrdim[1] == 1){ // remove Image element image[i].style.display="none"; image[i].style.visibility="hidden "; } } } function zoominto_URLEncode(clearS tring) { var output = ""; var x = 0; clearString = clearString.toString(); var regex = /(^[a-zA-Z0-9_.]*)/; while (x < clearString.length) { var match = regex.exec(clearString.su bstr(x)); if (match != null && match.length > 1 && match[1] != "") { output += match[1]; x += match[1].length; } else { if (clearString[x] == " ") { output += "+"; } else { var charCode = clearString.charCodeAt(x) ; var hexVal = charCode.toString(16); output += "%" + (hexVal.length < 2 ? "0" : "") + hexVal.toUpperCase(); } x++; } } return output; } function Closeiepluginpanel() { closeflash(); } function zoominto_setImage(txturl) { zoominto_changeobject(txt url); } function logme(txtstr) { // try { //alert(txtstr); return ""; } function zoominto_changeobject(url ) { //Method to Display the Viewer for Image trkval = "?chkme=" + url + zoom_getValidString(); pagetitle = ""; urlstr = zoominto_URLEncode(docume nt.location); document.getElementById(" div_plugin_img_player").i nnerHTML = " <MAP NAME='zoomintomap187'> <area shape='rect' coords='0,0,108,24' href='http://www.zoominto.com' alt='Zoominto' target='_blank'/> </MAP> <table width='600' cellspacing='0' cellpadding='0' border='0' style='border: 1px solid #CCCCCC;border-bottom:none' > <tbody><tr> <td><table cellspacing='0' cellpadding='0' border='0'> <tbody><tr bgcolor='ECECEC'> <td background='" + tmppluginServername + "images/bluebacku.jpg' align='right'><table width='598' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td></td> <td height='24' ></td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table><!--comment--> <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0 ,0' id='imgplayerprogress' width='600' height='371' align='middle'> <embed src='" + tmppluginSwfname + "" + trkval + "' quality='high' bgcolor='#FFFFFF' width='600' height='371' swLiveConnect=true id='imgplayerprogress' name='imgplayerprogress' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object> <table width='600' style='border: 1px solid #CCCCCC;border-bottom:none'> <tbody><tr> <td bgcolor='#FFFFFF'> <table width='468' height='60' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td bgcolor='#ffffff'> <iframe width=\"468\" height=\"60\" frameborder=\"0\" scrolling=\"no\" vspace=\"0\" src=\"http://googleads.g.doubleclick.n et/pagead/ads?client=ca-pub-3393826534218057&output=h tml&h=60&slotname=1811126 426&w=468&lmt=1262504125& flash=10.0.32&url="+ document.location +"&correlator=12625041392 15&frm=0&ga_vid=399649227 .1262504140&ga_sid=126250 4140&ga_hid=1178717796&ga _fc=0&u_tz=330&u_his=1&u_ java=0&u_h=900&u_w=1600&u _ah=840&u_aw=1600&u_cd=32 &u_nplug=8&u_nmime=9&dff= Verdana&dfs=16&biw=1600&b ih=723&fu=0&ifi=1&dtd=759 &xpc=h2YXWEfMlk&p="+windo w.location.protocol+"//\" name=\"google_ads_frame\" marginwidth=\"0\" marginheight=\"0\" id=\"google_ads_frame1\" hspace=\"0\" allowtransparency=\"true\ "/></iframe></td> </tr> </tbody></table> </td> </tr> </tbody></table>\n"; } </script> |
|
|