| Issue 103: | question of loading the page in "iframe" | |
| 2 people starred this issue and may be notified of changes. | Back to list |
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
Thanks, but the code :
$.nyroModalSettings({
width: 600,
height: 600
});
Where i whrote this ???
Thanks
Oct 26, 2008
In the head part of your pagelike that:
<script type="text/javascript">
$.nyroModalSettings({
width: 600,
height: 600
});
</script>
after including the nyroModal JS
|
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.Labels: -Type-Defect Type-Other