Basic Instructions
-
Hi I’m using the code below on my page, and it works fine, but I don’t want the code on the actual WordPress page, I want it in headers or elsewhere because if input I on the page itself it creates space. I didn’t understand the instructions for adding to the text field on the options page, and although I’m no dummy I’m no coder – newbies like me need examples, otherwise we wouldn’t need plugins in the first place. If anyone can help with this I’ll provide a step by step instruction manual with screen shots (idiot’s guide) to make it easier for everyone to use what is a potentially great plugin. Earl…
<script src=”https://code.jquery.com/jquery-1.9.0.js”></script>
<script src=”https://code.jquery.com/ui/1.10.0/jquery-ui.js”></script>
<button id=”opener”>open the dialog</button>
<div id=”dialog” title=”Dialog Title”>I’m a dialog</div>
<script>
$( “#dialog” ).dialog({ autoOpen: false });
$( “#opener” ).click(function() {
$( “#dialog” ).dialog( “open” );
});
</script>All I want on the actual wordpress page is :
<button id=”opener”>open the dialog</button>
<div id=”dialog” title=”Dialog Title”>I’m a dialog</div>
- The topic ‘Basic Instructions’ is closed to new replies.