开发者

Facebox, hide url

I am currently using jQuery based facebox:

http://defunkt.io/facebox/

Here is my link:

<a href="/me/edit_profile_details" rel="facebox" rev="iframe|400|600">

However, I am tryi开发者_运维问答ng to hide the actual url so the href="#" rather than what it is currently. I was wondering how I can go about doing this. Thanks


If you want to have a link, but not show the url then the only way is with javascript. You can create an onclick event like so:

<a href="#" onclick="window.location='http://www.hi.com/'; return false;">my link</a>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜