如何在asp.net上的btton click事件上打开facebook时间线 [英] how to open facebook timeline on btton click event in asp.net

查看:80
本文介绍了如何在asp.net上的btton click事件上打开facebook时间线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上我想在asp.net的点击活动中打开我的脸谱资料

喜欢这个请查看此链接并给我回答



https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal [< a href =https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal\"target =_ blanktitle =New Window> ^ ]

actually i want to open my facebook profile on a click event in asp.net
like this please check this link and give me answer

https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal[^]

推荐答案

哦,这很容易!只需使用此JavaScript代码即可。



Oh, that's easy! Just use this JavaScript code.

<button onclick="window.open('https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal')"></button>





以上代码将处理点击事件并为您的网址打开一个新标签页;这是你的Facebook个人资料。



Above code would handle the click event and open a new tab for your URL; which is your Facebook profile.


这篇关于如何在asp.net上的btton click事件上打开facebook时间线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆