ShortCodes UI
[resolved] Creating Jquery shortcode (2 posts)

  1. EarlSnappy
    Posted 3 years ago #

    Hi, I want to create a Jquery dialog button that opens a dialog box - can I do this with you plug in?

    The code I've got at the moment which works on the page is below - I got it from here click 'view source' to get full code:

    I know I would have to put the stylesheet url in my child theme header, but was wondering if I can use your plugin for the Jscript/div?

    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css" />
    $(function() {
    $( "#dialog" ).dialog();

    <div id="dialog" title="Basic dialog">
    <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>

    Any help much appreciated, Earl


  2. Bainternet
    Plugin Author

    Posted 3 years ago #

    Yes you can.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ShortCodes UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic