I'm using Fancybox to display HTML content that happens to have an
iframe in it. When fancybox closes, it removes the iframe, which
prevents it from displaying it the next time the user clicks the link.
> I'm using Fancybox to display HTML content that happens to have an
> iframe in it. When fancybox closes, it removes the iframe, which
> prevents it from displaying it the next time the user clicks the link.
Hi... i have a little trouble using php, form and iframe of fancybox. The first, I did a query of my database and use while to did a repeater, next i called a iframe (various3) with fancybox, on the iframe i called a little form. Now the trouble, the call works only with the first result of WHILE in the case 2, 3.... etc don't works,
I to know when use iframe, needs create one VARIOUS on the script to each call (a href...) but in this case the result of WHILE maybe bring me infinite results and it's imposible create infinite scripts VARIOUS to each result.
Can you helpme, every idea it's welcome! THANKS !!!
El lunes, 12 de septiembre de 2011 13:10:29 UTC-6, mike nicholaides escribió:
> I'm using Fancybox to display HTML content that happens to have an > iframe in it. When fancybox closes, it removes the iframe, which > prevents it from displaying it the next time the user clicks the link.
Are you using an id as a selector? If so, each HTML element (such as <iframe>) needs to have its own unique id. If you have more than one element, you should use class instead of id. You can have many elements with the same class. This is basic HTML and CSS, having very little to do with Fancybox.
If it is something else, a link to your page, or to a test page somewhere that demonstrates the problem would be helpful.
> Hi... i have a little trouble using php, form and iframe of fancybox. The
> first, I did a query of my database and use while to did a repeater, next i
> called a iframe (various3) with fancybox, on the iframe i called a little
> form. Now the trouble, the call works only with the first result of WHILE
> in the case 2, 3.... etc don't works,
> I to know when use iframe, needs create one VARIOUS on the script to each
> call (a href...) but in this case the result of WHILE maybe bring me
> infinite results and it's imposible create infinite scripts VARIOUS to each
> result.
> Can you helpme, every idea it's welcome! THANKS !!!
> El lunes, 12 de septiembre de 2011 13:10:29 UTC-6, mike nicholaides
> escribi :
>> I'm using Fancybox to display HTML content that happens to have an
>> iframe in it. When fancybox closes, it removes the iframe, which
>> prevents it from displaying it the next time the user clicks the link.
> Are you using an id as a selector? If so, each HTML element (such as > <iframe>) needs to have its own unique id. If you have more than one > element, you should use class instead of id. You can have many elements > with the same class. This is basic HTML and CSS, having very little to > do with Fancybox.
> If it is something else, a link to your page, or to a test page > somewhere that demonstrates the problem would be helpful.
> -- > Jan Wilson
> On 07/12/2012 11:12 PM, Gilma Izaguirre wrote: > > Hi... i have a little trouble using php, form and iframe of fancybox. > The > > first, I did a query of my database and use while to did a repeater, > next i > > called a iframe (various3) with fancybox, on the iframe i called a > little > > form. Now the trouble, the call works only with the first result of > WHILE > > in the case 2, 3.... etc don't works,
> > I to know when use iframe, needs create one VARIOUS on the script to > each > > call (a href...) but in this case the result of WHILE maybe bring me > > infinite results and it's imposible create infinite scripts VARIOUS to > each > > result.
> > Can you helpme, every idea it's welcome! THANKS !!!
> > El lunes, 12 de septiembre de 2011 13:10:29 UTC-6, mike nicholaides > > escribi�:
> >> I'm using Fancybox to display HTML content that happens to have an > >> iframe in it. When fancybox closes, it removes the iframe, which > >> prevents it from displaying it the next time the user clicks the link.
> Thanks to response... i'm new, and don't have some much expirience...any > way....
> I'm using ID as selector because the example with <iframe> say that... can > you read my code... i write a little if can you help me... THNKS SOO MUCH!
> El viernes, 13 de julio de 2012 06:33:36 UTC-6, linuxbz escribió:
>> Are you using an id as a selector? If so, each HTML element (such as >> <iframe>) needs to have its own unique id. If you have more than one >> element, you should use class instead of id. You can have many elements >> with the same class. This is basic HTML and CSS, having very little to >> do with Fancybox.
>> If it is something else, a link to your page, or to a test page >> somewhere that demonstrates the problem would be helpful.
>> -- >> Jan Wilson
>> On 07/12/2012 11:12 PM, Gilma Izaguirre wrote: >> > Hi... i have a little trouble using php, form and iframe of fancybox. >> The >> > first, I did a query of my database and use while to did a repeater, >> next i >> > called a iframe (various3) with fancybox, on the iframe i called a >> little >> > form. Now the trouble, the call works only with the first result of >> WHILE >> > in the case 2, 3.... etc don't works,
>> > I to know when use iframe, needs create one VARIOUS on the script to >> each >> > call (a href...) but in this case the result of WHILE maybe bring me >> > infinite results and it's imposible create infinite scripts VARIOUS to >> each >> > result.
>> > Can you helpme, every idea it's welcome! THANKS !!!
>> > El lunes, 12 de septiembre de 2011 13:10:29 UTC-6, mike nicholaides >> > escribi�:
>> >> I'm using Fancybox to display HTML content that happens to have an >> >> iframe in it. When fancybox closes, it removes the iframe, which >> >> prevents it from displaying it the next time the user clicks the link.