My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 338: [fixed] parameter from jscript to cc within nyroModal object not reaching -> int versus string
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2009


 
Reported by vlangend...@gmail.com, Sep 27, 2009
Ver simple problem: I could not pass a parameter to css section of a 
nyromodal object....: int

function 
popup(breedte,hoogte,topmarge,linkermarge,achtergrondplaatje,autoresiz
e,urllink){
		

		var tm = topmarge;
		var lm = linkermarge;
		$.nyroModalManual({			css: {
						 
						 					 loading: {
											  position: 'absolute',
											  backgroundColor: 
'#666666',
											  opacity:0.50,
											  top: tm,
											  left: lm
											},
											wrapper: {
											  position: 'absolute',
											   top: tm,
											  left: lm
											}
										},
								    url: urllink,
								    forceType: 'iframe',
								    width: breedte,
									height: hoogte,
									bgImage: achtergrondplaatje,
									resizable: autoresize
									});
}
</script>

As my trigger contained '' etc :
popup('200','200','330','680','../images/image-
1.jpg','false','http://www.ilse.nl');
It did not worked... so changed it to 
popup(200,200,330,680,'../images/image-
1.jpg','false','http://www.ilse.nl');
And it worked... so a classic int versus string problem... me bad boy !

Sep 27, 2009
Project Member #1 nyro...@gmail.com
ok, thanks for sharing.
Status: Fixed

Powered by Google Project Hosting