凤凰新媒体 版权所有 不得转载 lawyer@ifeng.com
京ICP证030609号 本站通用网址:凤凰网
客服电话:(010)84458487 客服邮箱blog@ifeng.com
来源:普加-普加社区
function subview() {
document.getElementById("subdiv").style.display="";
document.getElementById('subdiv').innerHTML='
'; document.getElementById("subdiv").style.left=getElementPos("ca").x-5;
document.getElementById("subdiv").style.top=getElementPos("ca").y+15;
}
function subunview() {
document.getElementById("subdiv").style.display="none";
}
function subview1() {
document.getElementById("subdiv").style.display="";
}
function getElementPos(elementId) {
var ua = navigator.userAgent.toLowerCase();
var isOpera = (ua.indexOf('opera') != -1);
var isIE = (ua.indexOf('msie') != -1 && !isOpera); // not opera spoof
var el = document.getElementById(elementId);
if(el.parentNode == null || el.style.display == 'none')
{
return false;
}
var parent = null;
var pos = [];
var box;
if(el.getBoundingClientRect) //IE
{
box = el.getBoundingClientRect();
var scrollTop = Math.max(document.documentElement.scrollTop, document.body.scrollTop);
var scrollLeft = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft);
return {x:box.left + scrollLeft, y:box.top + scrollTop};
}
else if(document.getBoxObjectFor) // gecko
{
box = document.getBoxObjectFor(el);
var borderLeft = (el.style.borderLeftWidth)?parseInt(el.style.borderLeftWidth):0;
var borderTop = (el.style.borderTopWidth)?parseInt(el.style.borderTopWidth):0;
pos = [box.x - borderLeft, box.y - borderTop];
}
else // safari & opera
{
pos = [el.offsetLeft, el.offsetTop];
parent = el.offsetParent;
if (parent != el) {
while (parent) {
pos[0] += parent.offsetLeft;
pos[1] += parent.offsetTop;
parent = parent.offsetParent;
}
}
if (ua.indexOf('opera') != -1 || ( ua.indexOf('safari') != -1 && el.style.position == 'absolute' ))
{
pos[0] -= document.body.offsetLeft;
pos[1] -= document.body.offsetTop;
}
}
if (el.parentNode) { parent = el.parentNode; }
else { parent = null; }
while (parent && parent.tagName != 'BODY' && parent.tagName != 'HTML')
{ // account for any scrolled ancestors
pos[0] -= parent.scrollLeft;
pos[1] -= parent.scrollTop;
if (parent.parentNode) { parent = parent.parentNode; }
else { parent = null; }
}
return {x:pos[0], y:pos[1]};
}
window.onclick=subunview;
作者:常青树本市分站 
热门城市
更多分站
quietly I take my leave
As quietly as I came here;
Quietly I wave good-bye
To the rosy clouds in the western sky.
轻轻的我走了,
正如我轻轻的来;
我轻轻的招手,
作别西天的云彩。
The golden willows by the riverside
Are young brides in the setting sun;
Their reflections on the shimmering waves
Always linger in the depth of my heart.
那河畔的金柳
是夕阳中的新娘
波光里的艳影,
在我的心头荡漾。
The floating heart growing in the sludge
Sways leisurely under the water;
In the gentle waves of Cambridge
I would be a water plant!
软泥上的青荇,
油油的在水底招摇;
在康河的柔波里,
我甘心做一条水草
That pool under the shade of elm trees
Holds not water but the rainbow from the sky;
Shattered to pieces among the duck weeds
Is the sediment of a rainbow-like dream?
那榆荫下的一潭,
不是清泉,是天上虹
揉碎在浮藻间,
沉淀着彩虹似的梦。
To seek a dream?
Just to pole a boat upstream
To where the green grass is more verdant;
Or to have the boat fully loaded with starlight
And sing aloud in the splendor of starlight.
寻梦?
撑一支长篙,
向青草更青处漫溯,
满载一船星辉,
在星辉斑斓里放歌
But I cannot sing aloud
Quietness is my farewell music;
Even summer insects keep silence for me
Silent is Cambridge tonight!
但我不能放歌,
悄悄是别离的笙箫;
夏虫也为我沉默,
沉默是今晚的康桥!
Very quietly I take my leave
As quietly as I came here;
Gently I flick my sleeves
Not even a wisp of cloud will I bring away
悄悄的我走了,
正如我悄悄的来;
我挥一挥衣袖,
不带走一片云彩。
请登录以后再发表评论。