Comments (6)
Yeah, jWizard assumes all children of the root element are steps.
Is there any reason your <canvas>
element can't exist outside the wizard element? Can you be more specific about what you're trying to accomplish?
from jwizard.
It's purely for display purposes. The canvas is the main element of the form. At each step the user is given various options to manipulate the canvas. I would like the canvas to be displayed within the bounds of the wizard, but it doesn't have to be a child-object of the wizard from a coding perspective.
from jwizard.
To me, it seems like you have 2 main options:
- Use CSS to position that canvas element over your wizard. (kinda brittle idea, not my recommendation)
- Use a separate canvas element for each step in your wizard. (yeah, kinda annoying, but arguably the most effective solution)
from jwizard.
Good points. Yea, I've been thinking of those as well, and they all are prone to problems. There is a third possibility:
Insert the canvas into each step, shuffling it along with the form. Do the steps have callback functions I could make use of to do this, or do I just need to intercept the javascript events on the buttons?
Hey, thanks for your quick responses!
from jwizard.
Actually, that's a great idea as well. There are events you can hook into, check out the docs for more details.
from jwizard.
Perfect, this will work! I had looked the docs over before, but not from this viewpoint. I'll work on this tomorrow. Thanks again!
from jwizard.
Related Issues (20)
- Bring the documentation up-to-speed HOT 1
- Feature Request HOT 2
- next or bind 'jwizardchangestep' not work HOT 5
- Layout of elements HOT 4
- Reliance on jQuery UI HOT 3
- no such method 'changeStep' HOT 3
- Validation of requied input before moving to next page HOT 10
- finish button allways enable HOT 2
- Cancel button should return wizard to first step HOT 2
- Use of class causes minimization issues HOT 1
- Crash ("n is undefined") if Finish button disabled - solved HOT 2
- jwizard does not work in IE and says “Expected identifier, string or number” HOT 1
- $.widget is undefined HOT 3
- Do not proceed to the next step if it does not exist
- Bug in option read
- Remove Validation when moving back to the previous item HOT 2
- Layout of buttons when hiding the cancel button
- How to enable finish button? HOT 3
- How to add steps dynamically to jWizard?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwizard.