Response title
This is preview!
<div data-role="popup" id="popupVideo" data-overlay-theme="a" data-theme="d" data-tolerance="15,15" class="ui-content"> <iframe src="http://player.vimeo.com/video/41135183" width="497" height="298" seamless></iframe> </div>
here , then the iframe is not shown
(with my own url)
I get an iframe inside my page already, its not hidden but shown.
$(document.body).append(div)...
But if i create a page using static HTML like
at the beginning but only shows up if i press the pop up button.
So my question is how can i insert my iframe div so it will be part of the HTML
docuemnt but not shown.
Hope i was clear, if more clarification is needed please tell.
Thanks in advance.
"<div data-role="popup" id="popupVideo" data-overlay-theme="a" data-theme="d" data-tolerance="15,15" class="ui-content"> <iframe src="http://player.vimeo.com/video/41135183" width="497" height="298" seamless></iframe> </div>"
$(document.body).append(div);
$(td).on('click', function(s,e ){
window.location =
window.location + '#
popupVideo
';
})
but i have the iframe in on my page and no as popup
window.location =
window.location + '#
popupVideo
';
should be
location.hash =
'
popupVideo
';
$(document.body).append(div);
the iframe is inserted to my page.. not as popup but as an iframe.
I dont receive any error regarding my code so assume the syntax is correct.
im trying to figure out how to add the iframe element so i can refer to it but
dinamiclly and statically .
$( "#popupVideo" ).trigger( "updatelayout" );
So my question is how can i insert my iframe div so it will be part of the HTML
docuemnt but not shown.
© 2013 jQuery Foundation
Sponsored by and others.