mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
304 stars 164 forks source link

setting custom height on step box #47

Closed 0101adm closed 8 years ago

0101adm commented 10 years ago

its defaulted to 300px.

how can i set the height to something else?

tried the css file but nothing yet.

JonLeVitre commented 10 years ago

In smart_wizard.css under each of the .swMain .stepContainer entries change change the height to whatever you like.

miyan27 commented 8 years ago

you can add onShowStep on your option parameters, and link it to the function that included the css function for example : $('#wizard').smartWizard({ transitionEffect: 'slideleft', keyNavigation: false, labelNext: 'next', labelPrevious: 'back', labelFinish: 'send', onLeaveStep: function 1, onShowStep: function 2, onFinish: function 3 });

function 2(){ $("#wizard").smartWizard("fixHeight"); //if you want to delete the defaulted height or~ $('write your id name in here').css({ 'height': '15px'}); //if you want to add some css }