Developers

Suggested Format to be used for filing Forum Questions for a Quicker Turnaround

Legal Disclaimer

The below given format is a highly recommended way to file a question on Media SDK Forum page. This gives support team a better idea of the issue which often results into a quicker turn around time.

Please give all this information -

Intel Graphics Performance Analyzers now available as part of the Intel INDE tools

Hello,

Today, October 15th, the Intel GPA product team is pleased to announce that the tools within the Intel GPA product are now available as part of the Intel INDE tool suite. The Intel Graphics Performance Analyzers Home Page can still be used to access specific information about the Intel GPA tools (such as online help and release notes).

Intel(r) Parallel Studio XE 2015 Professional Edition

The latest release of Intel(r) Parallel Studio is now available.

If you have an active support license for Intel Parallel Studio, the Intel® Parallel Studio XE 2015 products are now available for download from the Intel® Registration Center.

New features for Intel® Inspector XE 2015:

HTML5 应用缓存配置

HTML5应用缓存可以把页面、图片、js文件、css文件等缓存到用户本地的磁盘上,可以提高用户访问速度,也可以建立离线应用。

HTML5应用缓存的配制方法如下:

1、首先要保证你的页面是HTML5的

<!DOCTYPE HTML>  

2、在服务器上创建缓存清单文件,用于列出要缓存的文件清单

 

文件的后缀名设为.appcache。

3、在服务器上配置正确的mime-type,让服务器能识别后缀名是.appcache的文件

下面以tomcat服务器为例:

打开服务器conf文件夹下的web.xml文件(注意不是项目里的web.xml文件),在如下的许多标签之后

php main 与 iframe 相互通讯类 (同域/跨域)

main 与 iframe 相互通讯类

之前写过一篇《iframe与主框架跨域相互访问方法》,介绍了main与iframe相互通讯的原理,不了解原理的可以先看看。

 

今天把main与iframe相互通讯的方法封装成类,主要有两个文件,

JS:FrameMessage.js 实现调用方法的接口,如跨域则创建临时iframe,调用同域执行者。

PHP:FrameMessage.class.php 实现接收到跨域请求时,根据参数返回执行方法的JS code。

 

功能如下:

1.支持同域与跨域通讯

2.传递的方法参数支持字符串,JSON,数组等。

 

Subscribe to Developers