Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to set dynamically the height of #step-X container ? #101

Closed
kabeza opened this issue Aug 14, 2020 · 2 comments
Closed

Is there a way to set dynamically the height of #step-X container ? #101

kabeza opened this issue Aug 14, 2020 · 2 comments

Comments

@kabeza
Copy link

kabeza commented Aug 14, 2020

Hi
I'm going through steps in my wiz

The 2nd. step has a form (ajax submit)

If all goes fine in step 2, it will go to step 3 and show #divOK
If it fails, it will go to step 3 but show #divError

The problem is that they both have different heights
Is there a way to set #step-3 container's height dynamically, after $ajax.done finished or after showing step 3 ?

Thanks

@techlab
Copy link
Owner

techlab commented Jun 26, 2022

Fixed the issue on v6. Please see https://github.com/techlab/jquery-smartwizard/releases/tag/v6.0.1
Demo: http://techlaboratory.net/projects/demo/jquery-smart-wizard/v6/#step-1

Also added fixHeight public function to refresh content height from outside.
Doc: http://techlaboratory.net/jquery-smartwizard#func-fixheight

@techlab techlab closed this as completed Jun 26, 2022
@kabeza
Copy link
Author

kabeza commented Jun 27, 2022

Thanks Dipu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants