Ver Mensaje Individual
  #9 (permalink)  
Antiguo 21/09/2011, 18:05
edward18_1
 
Fecha de Ingreso: septiembre-2011
Mensajes: 480
Antigüedad: 12 años, 8 meses
Puntos: 18
Respuesta: enriquecedor de texto

Compañero maycolalvarez investigando un poco sobre eso en la pagina oficial de jquery y consegui un ejemplo de eso que comentaste...es este

Código Javascript:
Ver original
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <style>img{ height: 100px; float: left; }</style>
  5.   <script src="http://code.jquery.com/jquery-latest.js"></script>
  6. </head>
  7. <body>
  8.   <div id="images">
  9.  
  10. </div>
  11. <script>
  12. $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
  13.   {
  14.     tags: "cat",
  15.     tagmode: "any",
  16.     format: "json"
  17.   },
  18.   function(data) {
  19.     $.each(data.items, function(i,item){
  20.       $("<img/>").attr("src", item.media.m).appendTo("#images");
  21.       if ( i == 3 ) return false;
  22.     });
  23.   });</script>
  24.  
  25. </body>
  26. </html>

pero solo me devuelve unas imagenes....y coloco otro link pero no me devuelve nada :( otro ejemplo ? gracias