Click here to Skip to main content
13,089,207 members (99,846 online)
Rate this:
Please Sign up or sign in to vote.
I am loading the tab content using

I have anothar alternation is to load the content using .,
tabbar.setContentHtml("<iframe src='/Home/About'>")

What I want is that vary the content height dynamically while loading. I have googled ,but no solutions are working for me. Is there any other ways to load the content ??. can any one help me how to fix this.
Posted 19-Apr-13 22:01pm
Updated 19-Apr-13 23:30pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

What exactly is your tabbar component? If it is dhtmlxtabbar, this one could help you:[^].
But please note, that the iframe is the worst practice here. What is wrong with the first approach? That one is using ajax, thus updates the dom as needed, and autosize (see link above) will work.
Still, if you don't try break to security boundaries, you have means to resize iframe from inside. Take a look here:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 20 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100