dialog size height and width
Please help me get a dialog box to increase height and width. I am using the following code on this page (after three or four refreshes the dialog appears): The lower lines may be most relevant to my question:
http://dev.saainteractive.com/content/tarullo-evaluating-progress-regulatory-reforms-promote-financial-stability-federal-reserve
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
<?php print $picture ?>
<?php if ($page == 0): ?>
<br /><p><h6><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h6></p>
<?php endif; ?>
<br /><br /><br />
<div class="content"> <?php if ($submitted): ?>
<span class="submitted"><?php print $node->feeds_node_item->url; ?></span>
<?php endif; ?><br />
<?php print $content ?>
</div>
<?php if ($links||$taxonomy){ ?>
<div class="meta">
<?php if ($taxonomy): ?>
<h4><a href="saveforlater">Click here to save the article for later reading <img src="../../../../images/save.gif" alt="arrow" /></a>
</h4>
<div class="terms-text">
<h4>Recommended Reading on the right lists similar articles <img src="../../../../images/arrow.gif" alt="arrow" /></h4>
<br />
<h2>Please click on a term to include it on the "My Choices" tab in your dashboard.</h2>
</div>
<div class="terms">
<?php print $terms ?>
</div><br /><br />
<div id="regnow" title="Registration Benefits">
<a href="/user/register" title="ins"><img src="http://dev.saainteractive.com/images/popupad.gif" alt="insurerciooffer" /><br /></a>
</div>
</div>
</body>
<Script>
visits = getCookie('nVisits');
if (!visits){visits = 1};
if (visits == 4 ){deleteCookie('nVisits')
$( "#regnow" ).dialog({ autoOpen: true });
$( "#regnow" ).click(function() {
$( "#regnow" ).dialog( "open" );
$("#regnow").load('showList.php', {}, function(){
$(this).dialog({
bgiframe: true,
resizable: false,
height: '500px',
weight: '500px',
modal: true,
title: 'The list'
});
});
});
}
if (visits < 4){++visits;
cookieData = visits;
setCookie('nVisits',cookieData,expDate)
}
</Script>
<?php endif;?>