View Full Version : Ajaxtab doesn't expand in IE

02-13-2008, 01:47 PM
1) Script Title: Ajaxtab

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:

I am having problems with Ajaxtab auto expanding pdf in an IFRAME. The pdf will auto expand with Firefox. In IE the IFRAME stays around 100px.

Here is the link:

Click either the "Calendar" or "Current Event"

What am I doing wrong?

02-13-2008, 09:15 PM
Inside ajaxtabs.js, try adding additional CSS rules to the generated IFRAME tag to get it to stay at 100px, for example, with the code in red:

this.defaultIframe='<iframe src="about:blank" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" class="tabcontentiframe" style="width:100%; height:auto; min-height: 100px; height: 100px"></iframe>'