/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (tab_selected == 0) { $("td#leftNav").height(tab1 + extra_height) alert(tab_selected) return false } else if (tab_selected == 1) { $("td#leftNav").height(tab2 + extra_height + 10) alert(tab_selected) return false } else { $("td#leftNav").height(tab3 + extra_height + 50) alert(tab_selected) return false }