Issue 103: question of loading the page in "iframe"
Status:  Fixed
Owner: ----
Closed:  Oct 2008
Reported by paul.bo...@gmail.com, Oct 24, 2008
Hello,

My question is when I have my menu, I would like to open a full page. On
this page I shall have the header, a menu (other than on the main page). 

Here is the link to view:
<li> <a href="modules/Pilotage_QS/index2.php" target="_blank"
class="nyroModal">Link</a></li>

My worry is that when it opens, it does not open the page size which is the
same as the main page. But in a small ... How can I do to make it automatic? 

Thanks
Oct 25, 2008
Project Member #1 nyro...@gmail.com
firstly, you probablu should remove the target="_blank" as it'll open the modal in an
iframe.
then, if you want to change the size, you should use the nyroModalSettings like that:
$.nyroModalSettings({
	width: 600,
	height: 600
});

maybe you want also set the padding to 0 or something like that. Be sure to test what
is it doing.
Status: Fixed
Labels: -Type-Defect Type-Other
Oct 25, 2008
#2 paul.bo...@gmail.com
Thanks, but the code :
$.nyroModalSettings({
	width: 600,
	height: 600
});


Where i whrote this ???

Thanks
Oct 26, 2008
Project Member #3 nyro...@gmail.com
In the head part of your pagelike that:
<script type="text/javascript">
$.nyroModalSettings({
	width: 600,
	height: 600
});
</script>

after including the nyroModal JS