elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Únete al Grupo Steam elhacker.NET


  Mostrar Mensajes
Páginas: [1]
1  Programación / PHP / java script con php en: 5 Octubre 2010, 07:18 am
mi problema es el siguiente no si esta es la sección por mi problema, aver les explico tengo el codigo que esta abajo que x ai lo busque pero cuando le pongo una url a la noticia en scroll horizontal de noticias no me sale el enlace...creo q el script lo bloquea...aver vean al codigo...

Código:
<style type="text/css">
#noticia1, #noticia2, #noticia3
{
position:absolute;
    width:575px;
    height:210px;

    }
#noticia1
{
opacity: 1;
-moz-opacity: 1;
-khtml-opacity: 1000;
filter: alpha(opacity=100);}
#noticia2, #noticia3
{
opacity: 0;
-moz-opacity: 0;
-khtml-opacity: 0;
filter: alpha(opacity=0);    
    }
#noticia1
{
   ;
    }
#noticia2
{
   ;
    }
#noticia3
{
    ;
    }
</style>
<script type="text/javascript">
function opacity(id, opacStart, opacEnd, millisec) {
    //velocidad de cada frame
    var speed = Math.round(millisec / 100);
    var timer = 0;
    //determinamos la dirección del fundido, si star y end son iguales no hace nada
    if(opacStart > opacEnd) {
        for(i = opacStart; i >= opacEnd; i--) {
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    } else if(opacStart < opacEnd) {
        for(i = opacStart; i <= opacEnd; i++)
            {
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    }
}
//modificamos la opacidad según los distintos navegadores
function changeOpac(opacity, id) {
    var object = document.getElementById(id).style;
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
}
//cambiamos en un fadein/fadeout dos div
function intercambiar(muestra, oculta)
{
    opacity(muestra,0,100,4000);
    opacity(oculta,100,0,4000);
}
//Establacemos los tiempos de ejecución de las alternancias    
function alternar()
{
    setTimeout("intercambiar('noticia2','noticia1')",8000);
    setTimeout("intercambiar('noticia3','noticia2')",16000);
    setTimeout("intercambiar('noticia1','noticia3')",24000);
}
</script>
</head>
<body>
<script type="text/javascript">
//hacemos la primera alternancia
alternar();
//y repetimos cada x segundos, según el número de div's y segundos que se tarde
setInterval("alternar()",24000);
</script>







          
    <table width="585" border="0" cellspacing="0" cellpadding="7">
        <tr>
          <td height="15" bgcolor="#4499EC"><span class="Estilo2"><strong>&nbsp;&nbsp;NOTICIAS</strong></span></td>
        </tr>
        <tr>
          <td valign="top">



  
<div id="noticia1">


<?

include("config.php") ;

$resp1 = mysql_query("SELECT idnoticia,foto,titulo,LEFT(descripcion,500) AS d1 from  noticias order by idnoticia desc limit 1") ;

$datos1 = mysql_fetch_array($resp1) ;

?>


<table width="570" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td colspan="2"><div align="center"><b><? echo $datos1[titulo] ?></b></div></td>
  </tr>
  <tr>
    <td width="145" valign="top"><div align="left"><img src="images_noticias/<? echo $datos1[foto] ?>" width='250' height='200' border='0'></div></td>
    <td width="313" valign="top"><div align="justify"><? echo $datos1[d1] ?>...

<br><br>
<a href=hola.htm><? echo $datos1[titulo] ?></a>
</div></td>
  </tr>
</table>


</div>


<div id="noticia2">


<?

include("config.php") ;

$resp2 = mysql_query("SELECT idnoticia-1 as id1 from  noticias order by idnoticia desc limit 1") ;

$datos2 = mysql_fetch_array($resp2) ;

?>

<?

include("config.php") ;

$resp1 = mysql_query("SELECT foto,titulo,LEFT(descripcion,500) AS d1 from noticias where idnoticia='$datos2[id1]' order by idnoticia desc limit 1") ;

$datos1 = mysql_fetch_array($resp1) ;

?>


<table width="570" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td colspan="2"><div align="center"><b><? echo $datos1[titulo] ?></b></div></td>
  </tr>
  <tr>
    <td width="145" valign="top"><div align="left"><img src="images_noticias/<? echo $datos1[foto] ?>" width='250' height='200' border='0'></div></td>
    <td width="313" valign="top"><div align="justify"><? echo $datos1[d1] ?>...</div></td>
  </tr>
</table>


</div>


<div id="noticia3">



<?

include("config.php") ;

$resp3 = mysql_query("SELECT idnoticia-2 as id1 from  noticias order by idnoticia desc limit 1") ;

$datos3 = mysql_fetch_array($resp3) ;

?>

<?

include("config.php") ;

$resp5 = mysql_query("SELECT foto,titulo,LEFT(descripcion,500) AS d1 from  noticias where idnoticia='$datos3[id1]' order by idnoticia desc limit 1") ;

$datos5 = mysql_fetch_array($resp5) ;

?>

<table width="570" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td colspan="2"><div align="center"><b><? echo $datos5[titulo] ?></b></div></td>
  </tr>
  <tr>
    <td width="145" valign="top"><div align="left"><img src="images_noticias/<? echo $datos5[foto] ?>" width='250' height='200' border='0'></div></td>
    <td width="313" valign="top"><div align="justify"><? echo $datos5[d1] ?>...</div></td>
  </tr>
</table>


</div>


<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br>


    
            </td>
        </tr>
      </table>
          
2  Programación / Desarrollo Web / Como crear Bloques para php nuke 7.8 en: 8 Octubre 2005, 01:23 am
Hola saben estoy buscando alquien quien me ayude a como crear bloques para mi nuke y y saben o quiero crear un bloque con cualquiera de estos codigossss ayudenme...

Codigo:
Código:
<html>
<head>
<title>Content</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-7255078641627109";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="";
google_color_border = ["336699","000000","B4D0DC","A8DDA0"];
google_color_bg = ["FFFFFF","F0F0F0","ECF8FF","EBFFED"];
google_color_link = ["0000FF","0000FF","0000CC","0000CC"];
google_color_url = "008000";
google_color_text = ["000000","000000","6F6F6F","6F6F6F"];
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</body>
</html>

O este codigo :
Código:
<html>
<head>
<title>Content</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-7255078641627109";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = ["336699","000000","B4D0DC","A8DDA0"];
google_color_bg = ["FFFFFF","F0F0F0","ECF8FF","EBFFED"];
google_color_link = ["0000FF","0000FF","0000CC","0000CC"];
google_color_url = "008000";
google_color_text = ["000000","000000","6F6F6F","6F6F6F"];
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</body>
</html>

Por favor ayudenme plezzz
3  Media / Diseño Gráfico / Manual del Macromedia Flash Mx en: 25 Febrero 2005, 08:59 am
 :)hola webmasters me pueden ayudar a conseguir un manual de ese programas Macromedia Flash Mx por fis me seria de gran ayuda ...bye ;) ::)
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines