Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/09/2005, 08:52
Avatar de crazyandmaniac
crazyandmaniac
 
Fecha de Ingreso: mayo-2005
Mensajes: 99
Antigüedad: 19 años, 7 meses
Puntos: 0
pos ya man, pero sigue sin salirme, si lo pruebas veras que me pone undefined en donde va el banner, y ademas no se mueve :(
Código PHP:
<SCRIPT language=javascript>
if (
navigator.appVersion.indexOf("Win")>=&& parseFloat(navigator.appVersion.substr(navigator.appVersion.indexOf("MSIE ")+5))>=5)
{
            var 
adMousedOver_0 0;
            var 
move_pixel_0 5;
            var 
move_interval_0 10;
            var 
expanded_height_0 560;
            var 
roll_down_0;
            var 
roll_up_0;
            var 
clipped_0 60;
            var 
oImg_0;
            var 
altText;
            var 
clickThrough;
            var 
imgPath;

            
altText "TEXTO ALTERNATIVO------------------->";
            
clickThrough "http://www.INTERALIA.NET";
            
imgPath "http://www.metal-extreme.com/images/bands/cradle.jpg";
            
//imgPath = "space.gif";
            
function adDoDrop_0(obj){
                        
adtechhideElement_0();
                        
oImg_0 obj;
                        if(
roll_up_0!=null){window.clearInterval(roll_up_0);}
                        
roll_down_0 window.setInterval("adRollDown_0()"move_interval_0);
            }
            function 
adRollDown_0(){
                        
clipped_0 += move_pixel_0;
                        if(
clipped_0 expanded_height_0){
                                    
oImg_0.style.clip='rect(auto, auto, ' clipped_0 ', auto)';
                        }else{
                                    
oImg_0.style.clip='rect(auto)';
                                    
window.clearInterval(roll_down_0);
                                    
clipped_0 expanded_height_0;
                        }
            }
            function 
adUnDoDrop_0(obj) {
                        
adtechshowElement_0();
                        
oImg_0 obj;
                        if(
roll_down_0!=null){window.clearInterval(roll_down_0);}
                        
roll_up_0 window.setInterval("adRollUp_0()"move_interval_0);
            }
             function 
adRollUp_0(){
                        if (
clipped_0 move_pixel_0){
                                    
clipped_0 -= move_pixel_0;
                        }
                        if(
clipped_0 60){
                                    
oImg_0.style.clip='rect(auto, auto, ' clipped_0 ', auto)';
                        }else{
                                    
oImg_0.style.clip='rect(auto, auto, 60, auto)';
                                    
window.clearInterval(roll_up_0);
                                    
clipped_0 60;
                        }
            }
   
document.write('<div id="1" style="position:absolute; height:60; width:464;"><table border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="position:absolute; clip:rect(auto, auto, 60, auto);z-index:200;" onmouseover="adDoDrop_0(this);" onmouseout="adUnDoDrop_0(this);"><tr><td><a target="_blank" href="' clickThrough '">');

   
//<--//object
    
document.write('<div id="2" style="position: absolute; height:100%; width:100%;"');
   
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
   
document.write("id='flashhome' width='597' height='215' align='' title='has flash'>");
   
document.write("<param name='movie' value='banner.swf'><param name='play' value='true'>");
   
document.write("<param name='loop' value='false'><param name='quality' value='high'>");
   
document.write("<param name='menu' value='true'><param name='bgcolor' value='#333333'>");
   
document.write("<embed src='banner.swf' play='true' loop='false' quality='high' menu='true' bgcolor='#333333'");
   
document.write(" swLiveConnect='false' width='597' height='215' name='flashhome' align=''");
   
document.write(" type='application/x-shockwave-flash'>");
   
document.write("</embed></object>");
   
//document.write( '<img border="0" width="468" src="' + imgPath + '" alt="' + altText+'height="1" width="1">');
   //object-->
   
document.write('<onmouseover="document.cktrackingimg_0.src=\'http://\'" /></a></td></tr></table></div>');



   }else{
document.write('<a target="_blank" href="' clickThrough '"><img border="0" src="' imgPath '" width="468" height="60" alt="' altText '"></a>');
}
document.close();
function 
adtechhideElement_0() {
for (
0document.getElementsByTagName("SELECT").lengthi++){obj document.getElementsByTagName("SELECT")[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "hidden";}
for (
0document.all.tags('OBJECT').lengthi++){obj document.all.tags('OBJECT')[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "hidden";}
for (
0document.all.tags('APPLET').lengthi++){obj document.all.tags('APPLET')[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "hidden";}
}
function 
adtechshowElement_0() {
for (
0document.getElementsByTagName("SELECT").lengthi++){obj document.getElementsByTagName("SELECT")[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "";}
for (
0document.all.tags('OBJECT').lengthi++){obj document.all.tags('OBJECT')[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "";}
for (
0document.all.tags('APPLET').lengthi++){obj document.all.tags('APPLET')[i]; if (! obj || ! obj.offsetParent) continue; obj.style.visibility "";}
}
</SCRIPT> 
__________________


------------------------------------------
:pensando:
[email protected]

------------------------------------------