- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm using the xdk, but when I apply a iframe with a url to show the content, the iframe no load the address, just to load a facebook page url.
how I can solve this?
(note: I'm using framework7 via modal)
$(document).on("click", ".uib_w_6", function(evt)
{
/* Modals are created using custom js
For examples and documentation visit http://www.idangero.us/framework7/docs/modal.html */
myApp.modal({
title: 'Facebook',
text: "<iframe style='width:100%;' src='www.facebook.com.br'></iframe>",
buttons: [
{
text: 'Fechar',
close: true,
height: '5em'
}
]
})
return false;
});
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Add http:// to the iframe src parameter:
text: "<iframe style='width:100%;' src='http://www.facebook.com.br'></iframe>",
Regards,
Diego
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page