当前位置: 编程技术>移动开发
本页文章导读:
▪一个简略的响应组合页面过滤和悬停效果 一个简单的响应组合页面过滤和悬停效果
一个简单的响应组合页面过滤和悬停效果
演示
......
▪ 增添收藏夹 添加收藏夹
function AddFavorite(sURL, sTitle)
{
try
{
window.external.addFavorite(sURL, sTitle);
}
catch (e)
{
try
{
window.sidebar.addPanel(sTitle, sURL, "");
}
catch (e)
.........
▪ 怎么给ipa重新签名 如何给ipa重新签名
Step1 : unzip YourApp.ipaStep2: rm -rf Payload/YourApp.app/_CodeSignatureStep3: cp InHouse.mobileprovision Payload/YourApp.app/embedded.mobileprovisionStep4: /usr/bin/codesign -f -s "iPhone Distribution: YourCompanyName".........
[1]一个简略的响应组合页面过滤和悬停效果
来源: 互联网 发布时间: 2014-02-18
一个简单的响应组合页面过滤和悬停效果
一个简单的响应组合页面过滤和悬停效果
<div >
<ul id="filters" >
<li><span data-filter="app card icon logo web">All</span></li>
<li><span data-filter="app">App</span></li>
<li><span data-filter="card">Card</span></li>
<li><span data-filter="logo">Logo</span></li>
<li><span data-filter="web">Web</span></li>
</ul>
<div id="portfoliolist">
<div data-cat="logo">
<div >
<img src="/blog_article/img/portfolios/logo/1.jpg" alt="" width="150" />
<div >
<div >
<a >Bird Document</a>
<span >Logo</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="app">
<div >
<img src="/blog_article/img/portfolios/app/1.jpg" alt="" width="150" />
<div >
<div >
<a >Visual Infography</a>
<span >APP</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="web">
<div >
<img src="/blog_article/img/portfolios/web/1.jpg" alt="" width="150" />
<div >
<div >
<a >Sonor's Design</a>
<span >Web design</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="card">
<div >
<img src="/blog_article/img/portfolios/card/3.jpg" alt="" width="150" />
<div >
<div >
<a >Typography Company</a>
<span >Business card</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="app">
<div >
<img src="/blog_article/img/portfolios/app/2.jpg" alt="" width="150" />
<div >
<div >
<a >Weatherette</a>
<span >APP</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="card">
<div >
<img src="/blog_article/img/portfolios/card/1.jpg" alt="" width="150" />
<div >
<div >
<a >BMF</a>
<span >Business card</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="card">
<div >
<img src="/blog_article/img/portfolios/card/2.jpg" alt="" width="150" />
<div >
<div >
<a >Techlion</a>
<span >Business card</span>
</div>
<div ></div>
</div>
</div>
</div>
<div data-cat="logo">
<div >
<img src="/blog_article/img/portfolios/logo/2.jpg" alt="" width="150" />
<div >
<div >
<a >KittyPic</a>
<span >Logo</span>
</div>
<div ></div>
</div>
</div>
</div>
</div><!-- container -->
演示
JavaScript Code
原文地址:http://www.freejs.net/article_jquerytupiantexiao_126.html
[2] 增添收藏夹
来源: 互联网 发布时间: 2014-02-18
添加收藏夹
function AddFavorite(sURL, sTitle) { try { window.external.addFavorite(sURL, sTitle); } catch (e) { try { window.sidebar.addPanel(sTitle, sURL, ""); } catch (e) { alert("加入收藏失败,请使用Ctrl+D进行添加"); } } }
function bookmark(title,url) { if(title.length == 0) { title = document.title; } if(url.length == 0) { url = document.location.href; } //firefox if (window.sidebar) { window.sidebar.addPanel(title, url,""); } //opera else if(window.opera) { var mbm = document.createElement('a'); mbm.setAttribute('rel','sidebar'); mbm.setAttribute('href',url); mbm.setAttribute('title',title); mbm.click(); } //ie else if(window.external) { window.external.AddFavorite(url, title); } }
[3] 怎么给ipa重新签名
来源: 互联网 发布时间: 2014-02-18
如何给ipa重新签名
Step1 :
unzip YourApp.ipa
Step2:
rm -rf Payload/YourApp.app/_CodeSignature
Step3:
cp InHouse.mobileprovision Payload/YourApp.app/embedded.mobileprovision
Step4:
/usr/bin/codesign -f -s "iPhone Distribution: YourCompanyName" --resource-rules Payload/YourApp.app/ResourceRules.plist Payload/YourApp.app
Step 5:
zip -r YourApp_inhouse.ipa Payload
* InHouse.mobileprovision 是你要用来签名的provision文件
* iPhone Distribution: YourCompanyName 是指该签名对应的证书的名字。这个可以在keychain中找到
Step1 :
unzip YourApp.ipa
Step2:
rm -rf Payload/YourApp.app/_CodeSignature
Step3:
cp InHouse.mobileprovision Payload/YourApp.app/embedded.mobileprovision
Step4:
/usr/bin/codesign -f -s "iPhone Distribution: YourCompanyName" --resource-rules Payload/YourApp.app/ResourceRules.plist Payload/YourApp.app
Step 5:
zip -r YourApp_inhouse.ipa Payload
* InHouse.mobileprovision 是你要用来签名的provision文件
* iPhone Distribution: YourCompanyName 是指该签名对应的证书的名字。这个可以在keychain中找到
最新技术文章: