问题描述
我在设置窗格中创建了2个自定义链接。
I have created 2 custom links in the settings pane.
< object id =" myFrame" data =" /html/fragment.html" />
<objectid="myFrame"data="/html/fragment.html"/>
< / div >
< div id =" Div2" style =" visibility :
hidden; background-color :
green" data-win-control =" WinJS.UI.SettingsPane" data-win-options =" {width:'narrow',label:'Div2'}">
<divid="Div2"style="visibility: hidden; background-color: green"data-win-control="WinJS.UI.SettingsPane"data-win-options="{width:'narrow',label:'Div2'}">
< object id =" iframe1" data =" /html/fragment1.html" />
<objectid="Iframe1"data="/html/fragment1.html"/>
< / div >
在设置窗格中,当我点击"Div1"时,新页面会在那里打开,但是当" ; Div2",它没有打开。
On the settings pane, When i click on "Div1", the new page opens there, but when the "Div2", it does not open.
我在这里做错了吗?请帮助
Am i doing something wrong here? Please help
推荐答案
框架或片段必须有不同的东西:
there must be something different with the frame or fragments:
<objectid="myFrame"data="/html/fragment.html"/>
<objectid="Iframe1"data="/html/fragment1.html"/>
这篇关于魅力酒吧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!