Thanks to all.

I wanted to use the IFRAME to display the data of a query. But this display
two scrollbars and they are ugly. as say Matt, I'm going to change for a DIV

2008/10/10 Diodeus <[EMAIL PROTECTED]>

>
> You don't use AJAX to put content into an Iframe. An Iframe is a new
> separate document.
>
> Use:
>
> $("iframe_show).src="http://....";
>
> On Oct 10, 1:17 pm, "Miguel Beltran R." <[EMAIL PROTECTED]> wrote:
> > Hi list
> >
> > I have the next code but not work, iframe show nothing
> > what I doing wrong?
> >
> > <html>
> > ...
> > <body>
> > <div id="content">
> >    <div id="form_search">
> >       <form target="iframe_show">...</form>
> >    </div>
> >    <div id="show">
> >       <iframe id="iframe_show" name="iframe_show"></iframe>
> >    </div>
> > </div>
> > <script>
> > var muestra = function(m_id, m_modulo, m_modo){
> >     var element =  $(m_id);
> >     element.update('cargando...');
> >     new Ajax.Updater(element,
> >              'muestra.html', {
> >              method: 'get',
> >              parameters: {modulo:m_modulo, modo:m_modo}
> >              });
> >   }
> > document.observe('dom:loaded', function(){
> >    muestra('iframe_show', 'taller_busca', 'nada');}
> >
> > </script>
> > </body>
> > </html>
> >
> > --
> > ________________________________________
> > Lo bueno de vivir un dia mas
> > es saber que nos queda un dia menos de vida
> >
>


-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to