Announcement

Collapse
No announcement yet.

Modal Width

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modal Width

    Hi,
    which is the right syntax to set the width and height of a modal window opening in an event using the sc_redir macro?
    Thanks

  • #2
    Never tried, but from google:

    sc_redir(aplicacao_destino.php, global_msg=[global_msg];tipo_msg=[tipo_msg], "modal","","400","220");
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks
      Already tried but it doesn't seem to see what in the width is specified..only the height affects the result, can't understand.
      the sc_redir macro is in the onAfterinsert event of a form. everything works except for the width of the modal..does not care what is specified.

      Anyway i have set up the target as _self but before the sc_redir i also set a sc_commit_trans("my_connection");
      otherwise it does not writes the new inserted value in the db..BTW, why is that?


      Comment

      Working...
      X