FoxInCloud
Problem with signature container
Gravatar is a globally recognized avatar based on your email address. Problem with signature container
  Michele
  All
  Nov 4, 2021 @ 02:41am

When i use the signature option in my form in bootstrap the container is not sized correctly.

The code i have in wcHtmlgen is this

LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} doc in Parent Code {fr} doc dans le code parent

*toHTMLgen.cScriptJSadd(Textmerge([(function($){$(document).ready(function() {$("#<<this.wcID>>").jSignature({height:<<this.Height>>, width:<<this.Width>>, backgroundColor: "#fff"})})})(jQuery)]))

toHTMLgen.cScriptJSadd(Textmerge([(function($){$(document).ready(function() {$("#<<this.wcID>>").jSignature({height:<<this.Height>>, backgroundColor: "#fff"})})})(jQuery)]))
Gravatar is a globally recognized avatar based on your email address. re: Problem with signature container
  FoxInCloud Support - Thierry N.
  Michele
  Nov 4, 2021 @ 04:17am

Ciao Michele

Using the browser dev. tools, please check and/or share the CSS applicable to this container.

Gravatar is a globally recognized avatar based on your email address. re: Problem with signature container
  Michele
  FoxInCloud Support - Thierry N.
  Nov 4, 2021 @ 06:15am

Gravatar is a globally recognized avatar based on your email address. re: Problem with signature container
  FoxInCloud Support - Thierry N.
  Michele
  Nov 5, 2021 @ 03:38am

Please try this code:

toHTMLgen.cScriptJSadd(Textmerge([(function($){$(document).ready(function() {$("#<<this.wcID>>").jSignature({width:"100%", height:<<this.Height>>, backgroundColor: "#fff"})})})(jQuery)]))
Gravatar is a globally recognized avatar based on your email address. re: Problem with signature container
  Michele
  FoxInCloud Support - Thierry N.
  Nov 5, 2021 @ 03:51am

It works. Thanks

I tried the same option but i wrote width=100% instead of width="100%"

Thanks

© 1996-2024