Photo List
Lotus flowers are in full bloom in the park

Beijing, August 24 (Youth.cn) - On August 22, 2026, in Yanqing district, Beijing, lotus flowers were in full bloom in Xiadu Park. Photo/CFP
同题参见
Editor:Tang Ruohan
Source:
Youth.cn
Time:2026-08-24 15:06:00
Next
';
str += '
定位用
';
//str += '


';
//alert(str);
document.write(str);
}
//222获取元素距页面顶部偏移量
function getElementTop2(element){
var actualTop = element.offsetTop;
var current = element.offsetParent;
while (current !== null){
actualTop += current.offsetTop;
current = current.offsetParent;
}
return actualTop;
}
//222获取元素距页面左侧偏移量
function getElementLeft2(element){
var actualLeft = element.offsetLeft;
var current = element.offsetParent;
while (current !== null){
actualLeft += current.offsetLeft;
current = current.offsetParent;
}
return actualLeft;
}
//222兼容所有浏览器,取得元素矩阵,返回元素左上角坐标距视窗口的left,top,right,bottom值
function getBoundingClientRect2(element){
var scrollTop = document.documentElement.scrollTop;
var scrollLeft = document.documentElement.scrollLeft;
if (element.getBoundingClientRect){
if (typeof arguments.callee.offset != "number"){
var temp = document.createElement("div");
temp.style.cssText = "position:absolute;left:0;top:0;";
document.body.appendChild(temp);
arguments.callee.offset = -temp.getBoundingClientRect().top - scrollTop;
document.body.removeChild(temp);
temp = null;
}
var rect = element.getBoundingClientRect();
var offset = arguments.callee.offset;
return {
left: rect.left + offset,
right: rect.right + offset,
top: rect.top + offset,
bottom: rect.bottom + offset
};
}else{
var actualLeft = getElementLeft(element);
var actualTop = getElementTop(element);
return {
left: actualLeft - scrollLeft,
right: actualLeft + element.offsetWidth - scrollLeft,
top: actualTop - scrollTop,
bottom: actualTop + element.offsetHeight - scrollTop
}
}
}
//鼠标移动到图片上时,初始化
function runNav_picidldyzxy_init(){
var dom_article = document.getElementById("articleText");
if(dom_article){
var dom_all_img = dom_article.getElementsByTagName("img");
var dom_last_index = parseInt(dom_all_img.length) - 1;
if(dom_last_index > -1){
var dom_last = dom_all_img[dom_last_index];
var xyxy = getBoundingClientRect2(dom_last);
global_jump_img.x = parseInt(xyxy.left);
global_jump_img.y = parseInt(xyxy.top);
global_jump_img.w = parseInt(dom_last.width);
global_jump_img.h = parseInt(dom_last.height);
global_jump_img.t = parseInt(getElementTop2(dom_last));
global_jump_img.l = parseInt(getElementLeft2(dom_last));
}
}
//document.title = "x:" +global_jump_img.x+ " y:" +global_jump_img.y+ " l:" +global_jump_img.l+ " t:" + global_jump_img.t;
}
//设置图片,点击查看下一页
function runNav_picidldyzxy(){
//判断浏览器种类
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
var isFF = false;
if (Sys.firefox){ isFF = true; global_jump_img.isFF =true; }
//有上一页时
if(global_fenye.l != "#"){
global_jump_img.lkup = global_fenye.l;
global_jump_img.hasup = true;
}else{
global_jump_img.lkup = "#";
global_jump_img.hasup = false;
}
//有下一页时
if(global_fenye.r != "#"){
global_jump_img.lkdown = global_fenye.r;
global_jump_img.hasdown = true;
}else{
global_jump_img.lkdown = "#";
global_jump_img.hasdown = false;
}
//添加img的事件
var dom_article = document.getElementById("articleText");
if(dom_article){
var dom_all_img = dom_article.getElementsByTagName("img");
var dom_last_index = parseInt(dom_all_img.length) - 1;
if(dom_last_index > -1){
var dom_last = dom_all_img[dom_last_index];
runNav_picidldyzxy_init();//不知道为啥,有这句,才能兼容火狐
init_global_mouse_div();
//绑定事件
dom_last.onmouseover = function(){
runNav_picidldyzxy_init();
init_global_mouse_div();
global_mouse_div.isshow = true;
}
dom_last.onmouseout = function(){
global_mouse_div.isshow = false;
set_global_mouse_div(0,0,false,false);//隐藏
global_jump_img.where = 0;
}
dom_last.onclick = function(){
if(global_jump_img.is_left){
if(global_jump_img.hasup){ window.locations.href = global_jump_img.lkup; }
else { /*alert("是第一页,没有上一页");*/
window.locations.href="/__xh__/en.youth.cn/";
}
}else{
if(global_jump_img.hasdown){ window.locations.href = global_jump_img.lkdown; }
else { /*alert("已经是最后一页,没有下一页");*/
document.getElementById("zf").style.display="block";
}
}
}
dom_last.onmousemove = function(){
//var menu_x = event.x ? event.x : event.pageX;
//var menu_y = event.y ? event.y : event.pageY;
var menu_x = event.clientX;
var menu_y = event.clientY;
//计算跟随层的位置
var div_l = menu_x - global_jump_img.x + global_jump_img.l - global_mouse_div.l;
var div_t = menu_y - global_jump_img.y + global_jump_img.t - global_mouse_div.t;
//document.title = "" +menu_y +" "+ global_jump_img.y +" "+ global_jump_img.t +" "+ global_mouse_div.t;
var whereold = global_jump_img.where;
//判断左半边还是右半边
if( parseInt(menu_x) < global_jump_img.w / 2 + global_jump_img.x ){
global_jump_img.is_left = true;
global_jump_img.where = 1;
}else {
global_jump_img.is_left = false;
global_jump_img.where = 2;
}
//如果位置发生变化,需要设置鼠标
if(whereold != global_jump_img.where){ global_jump_img.needset = true; }
//设置鼠标
if(global_jump_img.needset){
if(global_jump_img.isFF){ dom_last.style.cursor = "pointer"; }
else{
if(global_jump_img.is_left){ dom_last.style.cursor = "url('http://www.ce.cn/inc/dd_mouse_left.cur')"; }
else{ dom_last.style.cursor = "url('http://www.ce.cn/inc/dd_mouse_right.cur')"; }
}
global_jump_img.needset = false;
}
//设置跟随
set_global_mouse_div(div_t,div_l,global_jump_img.isFF,global_jump_img.is_left);
//document.title = "w:" +global_jump_img.w+" x:"+global_jump_img.x+" y:"+global_jump_img.y+" 哈"+ menu_x+"左:" +global_jump_img.is_left;
}
}
}
}
//兼容火狐所用的加载event对象
function loadEvent() {
if (!document.all) {
window.constructor.prototype
.__defineGetter__(
"event",
function() {
var func = arguments.callee.caller;
while (func != null) {
var arg0 = func.arguments[0];
if (arg0
&& (arg0.constructor == Event || arg0.constructor == MouseEvent)) {
return arg0;
}
func = func.caller;
}
return null;
});
}
}
//开始
init_fenye();//先初始化
if(global_fenye.has){
loadEvent();//兼容火狐所用的加载event对象
init_runNav_pic_div_ldy();
runNav_picidldyzxy();
//绑定滚动条事件,维持定位准确
if(document.all){
window.attachEvent ("onscroll",runNav_picidldyzxy_init);
}else{
window.addEventListener('scroll', function(){runNav_picidldyzxy_init();}, true);
}
if(document.all){
window.attachEvent ("onscroll",init_global_mouse_div);
}else{
window.addEventListener('scroll', function(){init_global_mouse_div();}, true);
}
}
//设置推荐窗口位置
//$(document).load(function() {
var zf_left=(Math.floor(($('#articleText').width()-$('#zf').width())/2)+$('#articleText').offset().left)+'px';
var img1_h=$('#articleText').find('img')[0].height;
var zf_top=Math.floor((img1_h-250)/2+$('#articleText').offset().top)+'px';
$('#zf').css('top',zf_top);
$('#zf').css('left',zf_left);
$('#zf').css('right',zf_left);
// });