Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Adopting to Window like modal for 3rd party software.

    1. v9.1p_2015-01-08/Pro Deployment (built 2015-01-08)

    2. Browser - any

    3. I am using a thirdparty software called hopscotch for our product tours.

    Currently I have

    Code:
    this.modal_o = isc.Canvas.create({
                ID:"tourModal",
                styleName: "canvasModalMask",
                height: "100%",
                width: "100%"
            });
    this.modal_o.hideClickMask();
    and the style
    Code:
    .canvasModalMask{
        background-color: black;
        opacity: .20;
        -webkit-opacity: .2;
        -moz-opacity: .2;
        filter: alpha(opacity=20);
        z-index: 1000;
    }
    To mimic smartclient's Window.modalMask. The above workaround still allows components in the background to be keyboard accessible - which should not happen for a modal. I was wondering if there are any APIs that might help me achieve the modal for above situation.

    Thanks

  • Isomorphic
    replied
    We're not getting the gist of the question - you seem to want modality, but you have only a call to hideClickMask(), whereas showClickMask() is the API that causes a component to become modal.

    Leave a comment:

Working...
X