EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 08:26:33 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
panel content iframe
Pages: [
1
]
« previous
next »
Print
Author
Topic: panel content iframe (Read 7543 times)
hjzhbb7758
Jr. Member
Posts: 84
panel content iframe
«
on:
June 20, 2016, 09:29:31 PM »
like title, how can i use panel plugin content property load a iframe .
var iframe_ = '<iframe src="' + node.attributes.url + '" frameborder="0" style="border:0;width:100%;height:99.4%;"></iframe>';
panel.panel('options').content = iframe_;
why this code can't work。
Logged
hjzhbb7758
Jr. Member
Posts: 84
Re: panel content iframe
«
Reply #1 on:
June 20, 2016, 09:58:13 PM »
http://jsfiddle.net/54v8nacp/54/
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: panel content iframe
«
Reply #2 on:
June 20, 2016, 11:43:06 PM »
This example works fine.
http://jsfiddle.net/54v8nacp/56/
Logged
hjzhbb7758
Jr. Member
Posts: 84
Re: panel content iframe
«
Reply #3 on:
June 21, 2016, 02:46:13 AM »
thanks a lot ,it's work.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...