在带有vaue的身体标签上的href [英] href on body tag with rel vaue

查看:99
本文介绍了在带有vaue的身体标签上的href的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好♥

Hi every one ♥

<a href="#info" rel="facebox">View the ''info'' div in the Facebox</a>



在上面的行中,当用户单击在Facebox中查看"info" div"时,然后使用rel ="facebox"调用"info" div.

我想在页面加载时使用ref ="facebox"来调用"info" div.



on above line, when user click on "View the ''info'' div in the Facebox" then "info" div call with rel = "facebox".

I want to call "info" div on page load with ref = "facebox".

<body onload = "window.location.href=''http://www.yoursitehere.com''">



我知道如何在正文标签中使用href,但是我不知道如何在正文标签中将href与ref一起使用.

请帮助我:(我将非常感谢您.



I know how to use href in body tag but I don''t know how to use href with ref in body tag.

Please help me :( I will be very thankful to you.

推荐答案

首先,我会丢失önload中的ö;其次,通常您可以将ref添加到像这样的地址:

http://www.yoursitehere.com#facebook

祝你好运!
First I would lose the ö in your önload. Second, normally you can simply add the ref to the address like:

http://www.yoursitehere.com#facebook

good luck!


这篇关于在带有vaue的身体标签上的href的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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