-
Notifications
You must be signed in to change notification settings - Fork 37
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
Responsive, resizing, data normalization functions #5
base: master
Are you sure you want to change the base?
Conversation
- **responsive** useful for for mobile switching between portrait and landscape - **keep aspect ratio** responsive mode - **normalize data to target dimension** for different applications and resolutions the data in syncField / database is normalized to a targeted dimension - **allow resizing of signature if responsive** on resize signature is not cleared but resized accordingly - **init signature based on sync field** useful for ajax responses to redraw it
…primefaces/jquery/jquery-plugins.js
Directly use javascript element instead of id lookup, since it was not working with special characters in id.
Remove resize window eventhandler in destroy using plugin event namespace to fix error on AJAX page updates.
http://htmlpreview.github.io/?https://github.com/djmj/signature/blob/master/test/index.html Did not worked anymore due to CORS blocking resources. So added new URL.
Hi @wesslim actually i only created a fork some years ago and did not want to create a merge. If a merge should happen, only jquery.signature.js should be merged and the other files ignored or moved to a demo folder. I never did a merge in github before so i am not sure what to do and i dont want to break @kbwood repository. |
@djmj thanks for the explanation |
You're welcome and yes its sadly there is a divergence in this fork and his latest update. Yesterday i updated the readme with a link to the demo page of my fork. So you can evaluate if it is usable. We are using this in our mobile hybrid-app for delivery receipts in production. |
I added following features to use the signature plugin in a mobile responsive layout where you can switch from portrait to landscape view.
As an attachment i have an test / demo site showing the functions and explanations.
@kbwood I tried to send you a zip file by e-mail but the one on your website failed to send to