Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Load Modal-Nivo slider */
- $(function ($) {
- // Load dialog on page load
- //$('#basic-modal-content').modal();
- // Load dialog on click
- $('.basic').click(function (e) {
- var src = "nivo/demo.html";
- $.modal('<iframe src="' + src + '" height="330" width="830" style="border:0">', {
- closeHTML:"",
- containerCss:{
- height:330,
- padding:0,
- width:830
- },
- overlayClose:true
- });
- return false;
- });
- });
- #simplemodal-overlay {
- background-color: #000;
- cursor: wait;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement