`
baiguomeng
  • 浏览: 952515 次
文章分类
社区版块
存档分类
最新评论

Axure RP Pro - 相关问题 - 如何获取IFrame的URL

 
阅读更多

Axure RP Pro - 相关问题 - 如何获取IFrame的URL

Axure RP Pro中支持IFrame部件,在IFrame中可以载入一个页面或指定的URL,但是并不能获取这个URL进行判断,此时可以借助于jQuery实现,示例代码如下:
varcustomization_found = true;
$(function(){
varcurrentPageName;
window.setInterval(function(){
if(currentPageName !== mainFrame.PageName){
switch(mainFrame.PageName){
case'Home':
$(mainFrame.document).find('iframe').load(function(){
$(mainFrame)[0].$OnLoadVariable = $(mainFrame.document).find('iframe')[0].src;
});
break;
}
currentPageName = mainFrame.PageName;
}
}, 100);
});

[Axure RP Pro - 官方网站]

http://www.axure.com/

[Axure RP Pro - 关键词]

axure

[Axure RP Pro - 相关论坛]

http://axure.com/cs/forums/

[Axure RP Pro - Download下载]

AXure RP Pro 5.1.0.1699, http://axure.cachefly.net/AxureRP-Pro-Setup.exe

AXure RP Pro 5.1.0.1699, http://www.axure.com/files/AxureRP-Pro-Setup.exe

Microsoft .Net Framework 2.0, http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5

Manual Installation手工安装包, http://www.axure.com/Files/AxureRPFiles.zip

Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats文件格式兼容包, http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466

Axure RP Pro 5.0.0.1515, http://www.axure.com/files/5-0-0-1515/AxureRP-Pro-Setup.exe

[Axure RP Pro - Tutorial教程]

翻译, AXURE 101: Introduction介绍 - Article 1: Introduction to Axure RP - Axure RP介绍, http://www.axure.com/p101_1.aspx

翻译, AXURE 101: Introduction介绍 - Article 2: Annotated Wireframes, http://www.axure.com/p101_2.aspx

翻译, AXURE 101: Introduction介绍 - Article 3: Basic Interactions基本交互, http://www.axure.com/p101_3.aspx

翻译, AXURE 101: Introduction介绍 - Article 4: Masters主控文档, http://www.axure.com/p101_4.aspx

翻译, AXURE 101: Introduction介绍 - Article 5: HTML Prototypes - HTML原型, http://www.axure.com/p101_5.aspx

翻译, AXURE 101: Introduction介绍 - Article 6: Functional Specifications功能规格, http://www.axure.com/p101_6.aspx

翻译, AXURE 102: Flow Diagrams流程图 - Article 1: Flow Shapes & Connectors流程图形和连接符号, http://www.axure.com/p102_1.aspx

翻译, AXURE 102: Flow Diagrams流程图 - Article 2: Generating Flow Diagrams生成流程图, http://www.axure.com/p102_2.aspx

翻译, AXURE 201: Rich Interactions复杂交互 - Article 1: Dynamic Panels动态面板, http://www.axure.com/p201_1.aspx

翻 译, AXURE 201: Rich Interactions复杂交互 - Article 2: OnMouseEnter, OnMouseOut, and Rollover Effects - OnMouseEnter, OnMouseOut和翻转效果, http://www.axure.com/p201_2.aspx

翻译, AXURE 201: Rich Interactions复杂交互 - Article 3: Menus菜单, http://www.axure.com/p201_3.aspx

翻译, AXURE 202: Rich Functionality复杂功能 - Article 1: Conditional Logic条件逻辑, http://www.axure.com/p202_1.aspx

翻译, AXURE 202: Rich Functionality复杂功能 - Article 2: OnChange Event - OnChange事件, http://www.axure.com/p202_2.aspx

翻译, AXURE 202: Rich Functionality复杂功能 - Article 3: OnKeyUp Event - OnKeyUp事件, http://www.axure.com/p202_3.aspx

AXURE 202: Rich Functionality复杂功能 - Article 4: OnFocus and OnLostFocus Events - OnFocus和OnLostFocus事件, http://www.axure.com/p202_4.aspx

AXURE 202: Rich Functionality复杂功能 - Article 5: Variables - 变量, http://www.axure.com/p202_5.aspx

AXURE 202: Rich Functionality复杂功能 - Article 6: OnPageLoad Event - OnPageLoad事件, http://www.axure.com/p202_6.aspx

AXURE 301: Maximizing Reuse of Masters最大化重用主控 - Article 1: Affecting Widgets in Masters在主控中影响部件, http://www.axure.com/p301_1.aspx

AXURE 301: Maximizing Reuse of Masters最大化重用主控 - Article 2: Raised Events发起事件, http://www.axure.com/p301_2.aspx

AXURE 401: Collaboration协作 - Article 1: Shared Projects共享工程, http://www.axure.com/p401_1.aspx

[Axure RP Pro - 相关问题]

Manual Installation

原型中切换页面时会闪一下

如何在Axure RP Pro生成的HTML原型文档中集成jQuery, How to integrate jQuery into HTML prototype document generated by Axure RP Pro

选择后面的部件

如何在Axure RP Pro生成的HTML原型文档中使用自定义脚本, How to integrate customized javascript into HTML prototype document generated by Axure RP Pro

窗口间互操作

Parent Window父窗口

RP的含义

“移到最前”效果

"Bring to Front" Interaction
拖放控件

rollover style翻转样式的常见误解

如何实现淡入淡出效果

How to implement fade in and fade out effects

Expand.Collapse伸缩控件

面板的组织方式

规格文档中显示部件的属性

如何设置焦点

How to implement the "set focus" action

水平线不能调整高度,垂直线不能调整宽度

将主控文档添加到多个页面

规格文档中屏幕截图的脚标

如何实现页内多个锚的效果

关闭Internet Explorer打开原型时出现的安全警告

菜单部件不支持选中样式

如何获取IFrame的URL


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics