Open an Image as popup dialog box

Open an Image as popup dialog box

I am trying to open an Image as popup when my application first load automatically. Users need to read the content of the Image then click ok to close it before the application loads. I am using jquery-ui-1.10.3. and trying to use the Jquery dialog but it seems I am not doing something right from the html head

  1. <HEAD>
  2. <script>
  3.  $(function test() {
            $("<div id='dialogId'></div>").append('<img src ="../Content/Images/ample.png/"<br/>').append($(this).html());
            $('#dialogId').dialog({
                resizable:false,
                buttons: {
                    Close: function () {
                        $(this).dialog('close');
                    }
                }
            });
        });
  4. </script>
  5. </HEAD>



      • Sticky Posts

      • Connect with Zoho users from your industry, virtually!

        A couple of years ago, we started setting up industry-wise channels for users with similar businesses to chat and discuss Zoho contextually. We started with Real Estate and E-commerce sectors, creating a chatroom and hosting regular meetups on niche areas
      • Feature update: Advanced security settings

        We've previously written about how using security policies could be beneficial for admins. To enable you to better protect your organization, we've come up with a few additional settings for security policies in Zoho One that can be used to regulate your users' web sessions. What are web sessions? A web session refers to the period of time you stay signed in to your Zoho One account. You create a new web session every time you sign in to Zoho One (or any of its included apps), and this session exists