asworm Posted May 5, 2009 at 02:28 PM Report #261583 Posted May 5, 2009 at 02:28 PM boas malta é assim tenho um trabalhinho para fazer... tenho de fazer a adaptacao de um site que funciona com o IE e nao o consigo meter a funcionar no mozila... preciso de uma maozinha urgente o site é http://www.belanatur.com/portal/index.php?id=22193 na lado direito encontra-se uma scrollbar... e é ai que dá o problema... tentem arrastar... se for no IE nao ha problema mas com o FF ardeu... Malta preciso ajuda urgente 🙂 para quem quiser ver o codigo aqui no browser... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <style> .dragme{position : relative } </style> <title> Belanatur</title> <link rel="stylesheet" type="text/css" href="index.php_ficheiros/portal.css"> <script language="JavaScript" src="index.php_ficheiros/script.js"></script> <script language="JavaScript" src="index.php_ficheiros/calendar.js"></script> <script language="JavaScript">function unLoadMessage(){mess = 'Sair sem gravar ?';return mess;}</script> </head><body style="margin: 0pt; background-color: rgb(160, 160, 160);"><script type="text/javascript" src="index.php_ficheiros/swfobject.htm"></script> <script type="text/javascript"> // Get and set positions function getAbsLeft(o) { oLeft = o.offsetLeft while(o.offsetParent!=null) { oParent = o.offsetParent oLeft += oParent.offsetLeft o = oParent } return oLeft } //------------------------------------------------------------------ function getAbsTop(o) { oTop = o.offsetTop while(o.offsetParent!=null) { oParent = o.offsetParent oTop += oParent.offsetTop o = oParent } return oTop } //------------------------------------------------------------------ function setLeft(o,oLeft) { o.style.left = oLeft + "px" } //------------------------------------------------------------------ function setTop(o,oTop) { o.style.top = oTop + "px" } //------------------------------------------------------------------ function setPosition(o,oLeft,oTop) { setLeft(o,oLeft) setTop(o,oTop) } //------------------------------------------------------------------ // Slider's head mouse down handler function sldMouseDown(e) { // Get event object for IE if (!e) {e = window.event} doDrag=true o1=document.getElementById(curContentScroll.sldHead) o2=document.getElementById(curContentScroll.sldCont) // Get slider's head position sldLeft=o1.offsetLeft sldTop=o1.offsetTop // Get mouse cursor position relatively to the slider's head sldMouseTop=e.clientY-sldTop // Get slider's container boundaries minLeft=getAbsLeft(o2) maxLeft=o2.offsetWidth-o1.offsetWidth } //------------------------------------------------------------------ // Generic mouse up handler function sldMouseUp(e) { // Drag action stops doDrag=false } //------------------------------------------------------------------ // Generic mouse move handler function sldMouseMove(e) { // Get event object for IE if (!e) {e = window.event} // If drag action is on going... if (doDrag) { o=document.getElementById(curContentScroll.sldHead); div=document.getElementById(curContentScroll.name); // Get slider's head new position newPos = e.clientY-sldMouseTop minTop=curContentScroll.minTop; maxTop=curContentScroll.maxTop; // Check slider's container boundaries if(newPos<=minTop){newPos=minTop} if(newPos>=maxTop) {newPos=maxTop} // Set slider's head new position setPosition(o,sldLeft,newPos) // Get slider's value (0 to 100) curContentScroll.sldValue = Math.round(((newPos-minTop) * 100)/(maxTop-minTop)) padding=div.style.padding; toks=padding.split(" "); ptop=toks[0]; if(toks.length==2) pbot=ptop; else pbot=toks[2]; ptop=getNo(ptop); pbot=getNo(pbot); height=getNo(div.style.height); a = div.scrollHeight-(height+ptop+pbot); div.scrollTop=curContentScroll.sldValue*a/100; //div_content.scrollHeight*(newPos/(maxTop-minTop))-286; curContentScroll.currY=curContentScroll.sldValue*a/100; return false } } //------------------------------------------------------------------ function getNo(stringNo){ var parsedNo = ""; for(var n=0; n<stringNo.length; n++){ var i = stringNo.substring(n,n+1); if(i=="1"||i=="2"||i=="3"||i=="4"||i=="5"||i=="6"||i=="7"||i=="8"||i=="9"||i=="0") parsedNo += i; } return parseInt(parsedNo); } //------------------------------------------------------------------ var scrolls = []; var g = -1; function ScrollObj(div) { this.div = div; this.name = div.id; // metodos this.init = ScrollObjInit; this.setInc = ScrollObjSetInc; this.setSpeed = ScrollObjSetSpeed; this.stop = ScrollObjStop; this.start = ScrollObjStart; this.moveLeft = ScrollObjMoveLeft; this.moveRight = ScrollObjMoveRight; this.scrollLeft = ScrollObjScrollLeft; this.scrollRight = ScrollObjScrollRight; this.moveUp = ScrollObjMoveUp; this.moveDown = ScrollObjMoveDown; this.scrollUp = ScrollObjScrollUp; this.scrollDown = ScrollObjScrollDown; // register in global collections this.id = scrolls.length; scrolls[this.id] = this; this.currX = 0; this.currY = 0; this.inc = 10; this.speed = 1; this.div.scrollLeft=0; this.div.scrollTop=0; this.animate = false; this.done_init = false; } //------------------------------------------------------------------ function ScrollObjInit() { this.divWidth = this.div.offsetWidth; this.divHeight = this.div.offsetHeight; this.scrollWidth = this.div.scrollWidth; this.scrollHeight = this.div.scrollHeight; this.scrollXLimit = this.scrollWidth - this.divWidth; this.scrollYLimit = this.scrollHeight - this.divHeight; //alert('divWidth='+this.divWidth+', divHeight='+this.divHeight+', scrollWidth='+this.scrollWidth+', scrollHeight='+this.scrollHeight+', scrollYLimit='+this.scrollYLimit ); this.done_init = true; } //------------------------------------------------------------------ function ScrollObjSetSpeed(s) { this.speed = s; } //------------------------------------------------------------------ function ScrollObjSetInc(s) { this.inc = s; } //------------------------------------------------------------------ function ScrollObjStop() { this.animate = false; } //------------------------------------------------------------------ function ScrollObjStart() { this.animate = true; } //------------------------------------------------------------------ // horizontal function ScrollObjScrollLeft() { if(this.done_init == false) this.init(); this.start(); this.moveLeft(); } //------------------------------------------------------------------ function ScrollObjScrollRight() { if(this.done_init == false) this.init(); this.start(); this.moveRight(); } //------------------------------------------------------------------ function ScrollObjScrollUp() { if(this.done_init == false) this.init(); this.start(); this.moveUp(); } //------------------------------------------------------------------ function ScrollObjScrollDown() { if(this.done_init == false) this.init(); this.start(); this.moveDown(); } //------------------------------------------------------------------ function ScrollObjMoveLeft() { if(this.animate == true && this.currX < this.scrollXLimit ) { this.currX = this.currX + this.inc; if(this.currX > this.scrollXLimit)this.currX=this.scrollXLimit; this.div.scrollLeft = this.currX; obj = scrolls[this.id]; setTimeout("MoveObjLeft(obj)",this.speed); } else { this.animate = false; } } //------------------------------------------------------------------ function ScrollObjMoveRight() { if(this.animate == true && this.currX > 0) { this.currX = this.currX - this.inc; if(this.currX<0)this.currX=0; this.div.scrollLeft = this.currX; obj = scrolls[this.id]; setTimeout("MoveObjRight(obj)",this.speed); } else { this.animate = false; } } //------------------------------------------------------------------ //testar function ScrollObjMoveUp() { if(this.animate == true && this.currY < this.scrollYLimit ) { this.currY = this.currY + this.inc; if(this.currY > this.scrollYLimit) { this.currY=this.scrollYLimit; } this.div.scrollTop = this.currY; obj = scrolls[this.id]; setTimeout("MoveObjUp(obj)",this.speed); o=document.getElementById(this.sldHead); newPos=(this.maxTop-this.minTop)*(this.currY/this.scrollYLimit)+this.minTop; setPosition(o,this.sldLeft,newPos); } else { this.animate = false; } } //------------------------------------------------------------------ // testar function ScrollObjMoveDown() { if(this.animate == true && this.currY > 0) { this.currY = this.currY - this.inc; if(this.currY<0)this.currY=0; this.div.scrollTop = this.currY; obj = scrolls[this.id]; setTimeout("MoveObjDown(obj)",this.speed); o=document.getElementById(this.sldHead); newPos=(this.maxTop-this.minTop)*(this.currY/this.scrollYLimit)+this.minTop; setPosition(o,this.sldLeft,newPos); } else { this.animate = false; } } //------------------------------------------------------------------ // são para fazer o timeout voltam a chamar o métodp function MoveObjLeft(obj) { obj.moveLeft(); } //------------------------------------------------------------------ function MoveObjRight(obj) { obj.moveRight(); } //------------------------------------------------------------------ function MoveObjUp(obj) { obj.moveUp(); } //------------------------------------------------------------------ function MoveObjDown(obj) { obj.moveDown(); } // Set generic handlers document.onmousemove = sldMouseMove document.onmouseup= sldMouseUp var curContentScroll; var doDrag=false; var sldMouseTop=0; </script> <table style="background: white url(../pic/_fundo_expositores_49f6edc768331.jpg) no-repeat scroll center top; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 100%; height: 100%;" border="0" bordercolor="red" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top" align="center"><table style="width: 1150px;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="height: 22px;"> <br></td></tr><tr><td valign="top" align="center"><table style="opacity: 0.7; width: 865px;" bgcolor="black" border="0" bordercolor="blue" cellpadding="0" cellspacing="0"><tbody><tr><td><table border="0" bordercolor="red" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding: 0px 5px 0px 20px;" valign="top"><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php" style="font-size: 11px; color: white;">Home</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=1118" style="font-size: 11px; color: white;">Empresa</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=1297" style="font-size: 11px; color: white;">Produtos</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22193" style="font-size: 11px; color: white;">Expositores</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=8888" style="font-size: 11px; color: white;">Cuide de si</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=8889" style="font-size: 11px; color: white;">Área de clientes</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=8893" style="font-size: 11px; color: white;">Novidades</a></td></tr></tbody></table></td></tr><tr><td><table border="0" bordercolor="gold" cellpadding="1" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=1203" style="font-size: 11px; color: white;">Contactos</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="padding: 0px 5px 0px 0px;" valign="top"> <br><table border="0" bordercolor="lime" cellpadding="1" cellspacing="0"></table></td><td style="padding: 0px 5px 0px 0px; width: 200px;" valign="top"></td></tr></tbody></table></td><td style="padding: 0px 20px 0px 5px;" valign="top" align="right"><table style="width: 280px; height: 147px;" border="0" bordercolor="red" cellpadding="2" cellspacing="0"><tbody><tr><td style="color: white;" align="right"><a href="http://www.belanatur.com/portal/index.php?id=22193&lang=DF" style="text-transform: lowercase; font-size: 11px; color: white;">pt</a> | <a href="http://www.belanatur.com/portal/index.php?id=22193&lang=EN" style="text-transform: lowercase; font-size: 11px; color: white;">en</a> | <a href="http://www.belanatur.com/portal/index.php?id=22193&lang=FR" style="text-transform: lowercase; font-size: 11px; color: white;">fr</a> | <a href="http://www.belanatur.com/portal/index.php?id=22193&lang=ES" style="text-transform: lowercase; font-size: 11px; color: white;">es</a></td></tr><tr><td align="right"><a href="http://www.belanatur.com/portal/index.php?lang=DF"><img src="index.php_ficheiros/_logo_belanatur_49e5b0c47f04d.gif" border="0"></a></td></tr><tr><td valign="bottom" align="right"><table style="padding-top: 10px; padding-bottom: 10px;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><form name="searchForm" method="post" action="?id=1202"></form><tbody><tr><td style="color: white; padding-right: 2px;">Pesquisar</td><td><input style="border: 1px solid rgb(174, 173, 173); color: rgb(0, 103, 194); width: 165px;" value="" name="words" onclick="searchForm.words.value='';" type="text"></td><td style="padding-left: 2px;"><input src="index.php_ficheiros/_icon_seta_49e5b251ab1a3.gif" onclick="valid_search();" type="image"></td></tr><input name="action" value="search" type="hidden"></tbody></table> <script> function valid_search() { if(searchForm.words.value!='Pesquisar') { if(searchForm.words.value!='') { // searchForm.submit(); // return true; return false; } else { alert('Tem de colocar o texto a procurar!'); return false; } } else { alert('Tem de colocar o texto a procurar!'); return false; } } </script> </td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td valign="top" align="center"><table style="width: 865px;" border="0" bordercolor="blue" cellpadding="0" cellspacing="0"><tbody><tr><td><img src="index.php_ficheiros/ptr.gif" style="width: 470px; height: 11px;" border="0"></td></tr><tr><td><table border="0" bordercolor="blue" cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 22px;"><img src="index.php_ficheiros/ptr.gif" style="width: 22px;" border="0"></td><td style="background: white none repeat scroll 0% 0%; width: 100%; color: black; padding-left: 11px; padding-right: 11px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; opacity: 0.7; height: 24px;"><b>Expositores</b></td><td style="width: 22px;"><img src="index.php_ficheiros/ptr.gif" style="width: 22px;" border="0"></td></tr></tbody></table></td></tr><tr><td><img src="index.php_ficheiros/ptr.gif" style="width: 470px; height: 11px;" border="0"></td></tr><tr><td valign="top" align="center"><table style="width: 865px;" border="0" bordercolor="red" cellpadding="0" cellspacing="0"><tbody><tr><td style=""><img src="index.php_ficheiros/ptr.gif" width="22" border="0"></td><td valign="top"><table style="width: 864px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"><div id="div_content" style="border: 0px solid red; padding: 0px 0px 1px; overflow: hidden; width: 100%; height: 407px;" align="justify"><div id="holder1"><table style="width: 100%;" border="0" bordercolor="blue" cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22194" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-pe-alto-56ref_49f6ecccc2bd7.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22194" target="_parent" style="color: white;">Expositor de Pé Alto de 56 Referências</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22195" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-balcao-rotativo-2_49f6ef518680b.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22195" target="_parent" style="color: white;">Expositor de Balcão Rotativo de 24 Referências</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22196" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-acrilico-hipoaler_49f6ef127d4b8.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22196" target="_parent" style="color: white;">Expositor de Acrílico Risqué Hipoalergénico</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22197" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-de-balcao-rotativ_49f6fd3122510.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22197" target="_parent" style="color: white;">Expositor de Balcão Rotativo Risqué Hipoalergénico</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td></tr><tr> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> </tr><tr><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22198" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-linha-maos-e-unha_49f6ffc2b595d.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22198" target="_parent" style="color: white;">Expositor Linha Mãos e Unhas Maru</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22199" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-linha-hipoalergen_49f6ff8250251.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22199" target="_parent" style="color: white;">Expositor Linha Hipoalergénica Maru</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22200" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-bioshine_49f70157886ab.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22200" target="_parent" style="color: white;">Expositor BioShine</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td><td style="width: 11px;" valign="top" align="center"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%; height: 100%;" valign="top" align="center"><table style="height: 100%;" border="0" bordercolor="gold" cellpadding="0" cellspacing="0"><tbody><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 185px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td valign="top" align="center"><table id="myTable_22193" style="width: 185px; height: 100%;" border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td style="border: 0px solid red;" align="center" bgcolor="white" height="140"><a href="http://www.belanatur.com/portal/index.php?id=22201" target="_parent" style="color: white;"><img id="myPicture_22193" src="index.php_ficheiros/185_140__expositor-fructals_49f702490ed13.jpg" style="border: 1px solid lime;"></a></td></tr><tr><td style="padding-top: 11px; opacity: 0.7;" valign="top" bgcolor="black"><table border="0" bordercolor="lime" cellpadding="0" cellspacing="0"><tbody><tr><td><a href="http://www.belanatur.com/portal/index.php?id=22201" target="_parent" style="color: white;">Expositor Fructals</a></td></tr></tbody></table></td></tr></tbody></table></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr><tr><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="opacity: 0.7; width: 11px; height: 11px;" bgcolor="black"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td></tr></tbody></table></td></tr><tr> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> <td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td> </tr><tr><td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%;"> <br></td><td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%;"> <br></td><td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%;"> <br></td><td><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 25%;"> <br></td></tr></tbody></table></div></div></td></tr></tbody></table></td><td style="width: 11px; height: 11px;"><img src="index.php_ficheiros/ptr.gif" style="width: 11px; height: 11px;" border="0"></td><td style="width: 11px; height: 11px;" valign="top"><script type="text/javascript"> div=document.getElementById('div_content'); padding=div.style.padding; toks=padding.split(" "); ptop=toks[0]; if(toks.length==2) { pbot=ptop; } else { pbot=toks[2]; } ptop=getNo(ptop); pbot=getNo(pbot); height=getNo(div.style.height)+ptop+pbot+28; heighta=height-(15*2); </script><table id="myTable_Scroll_div_content" border="0" bordercolor="blue" cellpadding="0" cellspacing="0"><tbody><tr><td style="background: black none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; opacity: 0.7;" valign="top" align="center"><div id="sldContainer_div_content" style="border: 0px none ; width: 11px; z-index: 3; background-color: black; position: relative; height: 406px;"><div id="sldHead_div_content" style="border: 0px solid lime; vertical-align: middle; top: 0px; left: 0px; width: 11px; height: 90px; position: absolute; cursor: pointer;" onmousedown="curContentScroll=ContentScroll_div_content; sldMouseDown(event)"><img class="dragme" src="index.php_ficheiros/bt_middle.jpg" width="11" border="0"></div></div></td></tr></tbody></table><script type="text/javascript"> var ContentScroll_div_content = new ScrollObj(document.getElementById('div_content')); ContentScroll_div_content.sldValue=0; ContentScroll_div_content.sldLeft=0; ContentScroll_div_content.minTop=0; ContentScroll_div_content.maxTop = heighta-90; ContentScroll_div_content.sldCont='sldContainer_div_content'; ContentScroll_div_content.sldHead='sldHead_div_content'; ContentScroll_div_content.sldValue=0; ContentScroll_div_content.bt_up_on = new Image(); ContentScroll_div_content.bt_up_on.src = "images/bt_up_on.jpg"; ContentScroll_div_content.bt_up_off = new Image(); ContentScroll_div_content.bt_up_off.src = "images/bt_up.jpg"; ContentScroll_div_content.bt_down_on = new Image(); ContentScroll_div_content.bt_down_on.src = "images/bt_down_on.jpg"; ContentScroll_div_content.bt_down_off = new Image(); ContentScroll_div_content.bt_down_off.src = "images/bt_down.jpg"; ContentScroll_div_content.setSpeed(50); cont=document.getElementById('sldContainer_div_content'); cont.style.height=heighta+"px"; </script></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><script type="text/javascript"> div=document.getElementById('div_content'); holder=document.getElementById('holder1'); if(div && holder) { div_height = div.style.height; g = holder.scrollHeight; if (g<=parseInt(div_height)) { hd=document.getElementById('myTable_Scroll_div_content'); if(hd) hd.style.visibility='hidden'; } } </script> </body></html> Got it?
asworm Posted May 12, 2009 at 04:25 PM Author Report #263482 Posted May 12, 2009 at 04:25 PM obrigado a todos pelas respostas dadas... felizmente ja resolvi o caso... bastava em vés de meter a tag <img> trocar por <input type="image"> aqui fica para o caso de mais alguem precisar... cumps a todos Got it?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now