Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var initial_page = 1;
- if (window.location.hash.indexOf('#step-') == 0) {
- var index = parseInt(window.location.hash.substr(1).replace('step-', ''));
- initial_page = index;
- }
- $('.wizard').each(function() {
- var $this = $(this);
- $('.content', $this).height($('.steps', $this).height() + $('.step_1', $this).height());
- showWizPage(initial_page, $this);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement