javascript - how to vary the content height dynamically -


i loading tab content using

tabbar.setcontenthref("a1","home/about"); 

i have anothar alternation load content using .,

 tabbar.setcontenthtml("<iframe src='/home/about'>") 

what want vary content height dynamically while loading. have googled ,but no solutions working me. there other ways load content ??. can 1 me how fix this.

if know height, can use next approach:

<div id="a_tabbar" class="dhtmlxtabbar" tabstyle="silver" imgpath="../dhtmlxtabbar/codebase/imgs/" style="width:755px; color:#ffffff;" onbeforeinit="a_tabbar.enableautosize(true,true)" oninit="a_tabbar.normalize(755,true); a_tabbar.settabactive('a1');" offset="15"> <div id="a1" name="tab 1-1" style="height: 300px; background-color: black;">content 1</div> <div id="a2" name="tab 1-2" style="height: 600px; background-color: #556b2f;">content 2</div> </div> 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -