how to use jquerry in
-
Hi,
I have written this code in my HTML site, now I will use the same function in the WordPress version of my website:<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" media="all" /> <!--Popup Box--> <script type="text/javascript"> var d = new Date(); var year = d.getFullYear(); var month = d.getMonth()+1; var day = d.getDate(); if((year==2015) && (month==9) && (day==30)) { $.ui.dialog.prototype.bgiframe = true; $(function() { $("#dialog").dialog({width: 600, height:120}); }); }; </script> <div id="dialog" title="Box" class="hidden"> <p align="center"> <font color='#000000'> our tlefones will be down at this time </p> </div> <!--Popup Box End-->
This will pop up a window on 30.09.2015. How should I use the codes in wordpress?
Thanx
GM
- The topic ‘how to use jquerry in’ is closed to new replies.