View Full Version : how to add extra hieght to a slider using jquery?

04-24-2011, 11:13 PM
hi all,

first let me point out i am a complete javascript / jquery novice, but i think what i need is something very simple, just cant find any answers...

i am using the below code as part of a slider:

isOpen = false
slideHeight = $("#sliderContent").outerHeight();

from above code you see the slideheight is equal to the height of the div "sliderContent"...

however, i want the slidehieght to be equal to the height of the div "slideContent" + 30px...

can anyone advise what i need to add to above code to accomplish this.