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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    showModalDialog with overlay properties

    Hi,

    I want to a javascript function like showModalDialog(<page_name>,'','<options>')

    here in the option I need to have overlay property where I can set opacity values.

    Is there any solution? Please letme know

  • #2
    Senior Coder
    Join Date
    Dec 2010
    Posts
    2,398
    Thanks
    12
    Thanked 570 Times in 563 Posts
    What? You are asking something like this:

    "I want to create a new universe but I need a gravity option. Is there any solution?"

    Hint: We need details!!! What is showModalDialog()? Where is the code?

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,639
    Thanks
    0
    Thanked 649 Times in 639 Posts
    showModalDialog is a proprietary function available in one browser (Internet Explorer) only so the first thing you'd need to do is to write your own in page equivalent for all the other browsers to use.
    Last edited by felgall; 03-26-2012 at 08:57 PM.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #4
    New Coder
    Join Date
    Jun 2008
    Posts
    62
    Thanks
    0
    Thanked 12 Times in 12 Posts
    Its not really possible with IE. You could fake it for that.
    For any other Browser you could use CSS3 and Javascript.
    Take a look to CSS3 and you'll get your solution


  •  

    Posting Permissions

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