Issue 35: How to link iframe with size fixed?
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by frankd...@gmail.com, Jun 26, 2008
in te thickbox i uses:

<a title="Previsão do tempo detalhada"
href="http://www.agroclima.com.br/agrinew/cidade_escolhida.php?uf=rs&amp;cidade=coqueirobaixo&amp;KeepThis=true&amp;TB_iframe=true&amp;width=620&amp;height=475"
class="thickbox">mais informações</a>

How make in nyromodal?

 
Jun 27, 2008
Project Member #1 nyro...@gmail.com
I made nyromodal to be W3C convenient and no obstructive.
That's why there is no ability to parameter the link in the URL or by adding some
non-valid attribute.

1 possibility:
<a title="Previsão do tempo detalhada" href="http://www.perdu.com" target="_blank"
id="iframeLink">mais informações</a>
<script type="text/javascript">
$(function() {
	$('#iframeLink').click(function(e) {
		e.preventDefault();
		$(this).nyroModalManual({
			width: 620,
			height: 475
		});
	});
});
</script>

If you want all the nyroModal opened in the same size, you can set the default
settings and simply add the nyroModal class to your link:
<script type="text/javascript">
$(function() {
	$.fn.nyroModal.settings.width = 620;
	$.fn.nyroModal.settings.height = 475;
});
</script>
<a title="Previsão do tempo detalhada" href="http://www.perdu.com" target="_blank"
class="nyroModal">mais informações</a>

Status: Fixed
Labels: -Type-Defect Type-Other