jQuery Fancybox - Append to fancybox-inner -


i'm working fancybox 2.0.5. have opening size of 450 x 500. content of long terms of use agreement. user must click accept button @ bottom. we'd able have stuck bottom of fancybox popup "static" regardless of scrolling. trying use below no avail. can't make .fancybox-inner respond anything. suggestions?

$(".fancybox-inner").append("<input id='accept' type='button' value='accept'>"); 

since div thats rendering fancybox doesn't have content until load fancybox, need trigger code after fancybox has loaded:

$(".fancybox").fancybox({     oncomplete: function(){         $(".fancybox-inner").append("");      } }); 

alternatively, tell fancybox not scroll , set overflow:auto container div inside content, , add (agree) button after


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -