• download
  • documentation
  • forums
  • demo
  • contact
  • blog

meteora

javascript widgets

Documentation

  • Autocomplete
  • Bubble
  • Calendar
  • Carousel
  • Datagrid
  • Dialog
  • Editor
  • Effect
  • Filebrowser
  • Form
  • Jsonrpc
  • Menu
  • Notebook
  • Picbox
  • Popup
  • Searchlist
  • Selection
  • Spinbutton
  • Tablesort
  • Toolbox
  • Treeview
In order to post messages on this forum, you must be registered and logged in
80x80:1760834185_unknown.png
Forums » General » Off topic

Problemas con JQuery

Posted by ernestohs

Estoy probando Meteora, pero cuando incluyo JQuery Meteora no funciona o JQuery no funciona. ¿Que tengo que hacer para usar los dos?

Gracias por adelantado :D

  • Thursday February 12, 2009 @ 04:45 date
  • ernestohs user
50x50:1760834185_unknown.png
link Thursday February 12, 2009 @ 13:15

comment ernestohs

Duh!, fue una tonteria solo tenia que poner:

jQuery.noConflict();
De todas formas dejo esto por si alguien tiene el mismo problema

50x50:1760834185_unknown.png
link Sunday February 15, 2009 @ 13:15

comment ernestohs

Solo en caso de duda, dejo aquí un ejemplo detallado y algunos links.

<html>
 <head>
   <script src=“meteora.js?lang=es”></script>
   <script src=“jquery.js”></script>
   <script>
     // Para evitar conflictos con Meteora:
     (function($) { // Agregamos esto antes que ningún código de jQuery
        // …
        $('.tip').hover(   // Codigo de jQuery
		function() { return false; },
		function() { return true; }
	);
       // …
      })(jQuery) // Cerramos y listo
   </script>
 </head>
 <body>
   // …
   <script>
        Meteora.showDebug(true); // Nuestro código de Meteora
        // …
   </script>
 </body>
 </html>
Para más informacion sobre este tema, recomiendo los siguientes links:

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

http://michaelshadle.com/2007/07/03/jquerys-no-conflict-mode-yet-another-reason-why-its-the-best/

http://docs.jquery.com/Core/jQuery.noConflict

http://www.nabble.com/Mootools-and-Jquery-conflict-td19806464s27240.html

Espero esto ayude a otros que tengan el mismo problema.

50x50:1760834185_unknown.png
link Monday March 9, 2009 @ 18:50

comment J. Carlos Nieto

Hola Ernesto.

Gracias a tu ayuda pudimos incluir un nuevo modo en Meteora 0.7 especial para jQuery. Lo hemos incluído aquí :).

50x50:1760834185_unknown.png
link Tuesday March 17, 2009 @ 15:42

comment ernestohs

Gracias xiam, precisamente estoy probando Meteora 0.7, sin embargo he tenido problemas de retrocompatibilidad con todos mis proyectos :S, no se a que se deba, investigare un poco mas mientras tanto y ya luego probare esta nueva caracteristica.

Copyright © 2007-2009 Astrata Software.