jquery - Load external data into a Div or iFrame? -


what best way load full page of data including external js files current page? know how way better? iframe or div? @ moment jquery ajaxing data div. toggling div when not needed.

an iframe used used containing media files/content. such pdf, flash, image, video, etc. iframe can used containing html, wont great deal have great result(except need it). if want embed/attach external html page think should use div element. if want add media content web page, should use iframe element. can create toggle button using javascript. js want embed can embedded on main page(master page contains attached files/contents) or on page want embed. careful, don't attach 2 or more js has same function, make browser confused (ex : attach jqueryui-1.9.0 , jqueryui-10.0.2).


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -