Click here to Skip to main content
11,934,389 members (40,919 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 23:01pm
Edited 20-Apr-13 0:30am

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 | Mobile
Web02 | 2.8.151126.1 | Last Updated 20 Apr 2013
Copyright © CodeProject, 1999-2015
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