Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/01/2012, 18:47
PublicaLibre
 
Fecha de Ingreso: enero-2012
Mensajes: 15
Antigüedad: 12 años, 4 meses
Puntos: 0
Respuesta: Abrir una URL con el complemento Apprise

Lo resolví de esta forma:

Código Javascript:
Ver original
  1. <script type='text/javascript' src='javascripts/apprise-1.5.full.js'></script>
  2. <link rel="stylesheet" href="css/apprise.css" type="text/css" media="screen"/>
  3.  
  4. <script>
  5.     function Relaciones($url){
  6.         apprise('¿Aceptas las condiciones?', {'confirm':true}, function(r)
  7.         {
  8.             if(r)
  9.             {
  10.                 window.location = $url;
  11.  
  12.             }
  13.             else
  14.             {
  15.                 e.preventDefault();
  16.      
  17.             }
  18.         });
  19.     }
  20. </script>


y el enlace:

Código HTML:
Ver original
  1. <a id="category" href="#" onclick="Relaciones('resultado.html?idCategoria=6');">relaciones</a>