Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem - Disable Mouse Clicks On Window

    hi guys
    do u have a code snippet which would allow me to disable mouse clicks for the whole window?
    the browser version i use is IE 6.0
    I need the functionality to simulate modal windows.
    guys i am desperate, i need urgent help....

    thanks a lot beforehand
    indrika

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,048
    Thanks
    0
    Thanked 251 Times in 247 Posts
    If the target browser is IE only, then use modal dialogs.

  • #3
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem - Simulating Modal Dialogs

    hi glenn

    my problem is i tried using showModalDialog()
    but i require to open several layers of popups.
    showModalDialog() doesnt seem to allow this.

    ex:- windowA opens ModalDialogA which in turn submits data and redirects to another page. this should happen inside ModalDialog A.
    is this possible using ModalDialogs. (to refresh to a new page inside the dialog)

    afterwards ModalDialogA is now showing a new page. when i click a button on ModalDialogA currently displayed page, it should open another new ModalDialogB. this behavior continues so on.

    I dont know whether Modal Dialogs allow such behavior.
    so what i thought is to use window.open() and afterwards disable mouseClicks on the parent. and when i close the child again enable mouseclicks on the parent.

    do u know how this can be done on IE 5.

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,048
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Unfortunately, form submissions and links go to a new window in modal dialogs. I search the web and found this DHTML Modal script.

  • #5
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks

    hi glenn
    thanks a lot glenn ill give it a shot

    cheerio
    indrika


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •