using div(hide &show) inside another div

Here should go questions about transforming XML with XSLT and FOP.
sujatha
Posts: 12
Joined: Sun Oct 16, 2005 5:09 pm

using div(hide &show) inside another div

Post by sujatha » Wed Oct 26, 2005 7:01 pm

Hello Everybody,

I am using div hide and show concept in my xslt and for a table inside the xslt iam using another div hide and show concept.
Whenever I press the button to show the next value of the first div it's displaying at the bottom after my entire html page instead of displaying at the same place. And Iam using xsl:call-templates concept for table i,e for inner div and it is working fine for next values.

And also if I comment the inner div the first div is working fine.Let me know if anybody has any answer for this problem.

Sujatha.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Thu Oct 27, 2005 8:51 am

Hello,

It seems there is a problem in some HTML code generated with XSLT. First you should debug the HTML code so that it does what you want and then if you have difficulties generating the correct HTML code using XSLT you should post samples of the source XML document, the XSLT stylesheet, the current HTML output of the transformation and the wanted HTML output.

Regards,
Sorin

sujatha
Posts: 12
Joined: Sun Oct 16, 2005 5:09 pm

Re: usign div(hide and show) within another div

Post by sujatha » Thu Oct 27, 2005 7:31 pm

The problem I had was using div within div, so for the inner div I used span instead of div and it worked fine for me.

Thanks, for the reply

Post Reply