开发者

Facebox, hide url

开发者 https://www.devze.com 2023-03-21 07:03 出处:网络
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\">

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

精彩评论

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