'+response.rel[0].title+' ';
            }
            else
            {
                html=''+response.rel[0].title+' ';
            }
            $('#rel_0').html(html);
       }
       if(response.rel.length>=2)
       {
           if(response.rel[1].media==null)
            {
                html=''+response.rel[1].title+' ';
            }
            else
            {
                html=''+response.rel[1].title+' ';
            }
            $('#rel_1').html(html);
       } 
    }
	},'json');
	$('#view_web').height(document.documentElement.clientHeight-$('#header_clt3').height()-$('#bottom_clt3').height());
	request=$.ajax({async: true,url:"https://myshare.url.com.tw/ajax/update_share",type:'post',data:{aid:1373087,coll_id:1491636},error:function(){request.abort()}});
			$('#adda_box').remove();
		$.post('/ajax/get_html_part',{url:'http://www.opu.com.tw/goods-280.html'},function(response){
		ar_guess=response;
	},'json');
});
bottom_comment_show=false;
$('.bottom_title').live('mouseover',function(){
	bottom_comment_show=true;
	$('.bottom_add_arr').show();
	$('#bottom_add').show();
});
$('#bottom_add').live('mouseover',function(){
	bottom_comment_show=true;
});
$('#bottom_add').live('mouseout',function(){
	bottom_comment_show=false;
	setTimeout(close_botom_msg,800);
});
$('#bottom_add').live('mouseout',function(){
	bottom_comment_show=false;
	setTimeout(close_botom_msg,800);
});
function close_botom_msg()
{
	if(bottom_comment_show==false)
	{
		$('.bottom_add_arr').hide();
		$('#bottom_add').hide();
	}
}
$(window).bind("resize",function(){
	if(!navigator.userAgent.match(/iPad|iPhone/i))
	{
		$('#view_web').height(document.documentElement.clientHeight-$('#header_clt3').height()-$('#bottom_clt3').height());
	}
});
setTimeout(on_resize,800);
function on_resize()
{
	if(!navigator.userAgent.match(/iPad|iPhone/i))
	{
		$('#view_web').height(document.documentElement.clientHeight-$('#header_clt3').height()-$('#bottom_clt3').height());
		setTimeout(on_resize,800);
	}
	
}
search_a_show=false;
$('.search_a').live('mouseover',function(){
	search_a_show=true;
	$('.search_main').show();
	$('.search_a').css({'background':'url("../images/search_a_.png") no-repeat scroll 0 0 transparent','opacity':1});
});
$('.search_main').live('mouseover',function(){
	search_a_show=true;
});
$('.search_main').live('mouseout',function(){
	search_a_show=false;
	setTimeout(on_share_a_show,400);
});
$('.search_a').live('mouseout',function(){
	search_a_show=false;
	setTimeout(on_search_a_show,400);
});
function on_search_a_show()
{
	if(search_a_show==false)
	{
		$('.search_main').hide();
		$('.search_a').css({'background':'url("../images/search_a.png") no-repeat scroll 0 0 transparent','opacity':''});
	}
	
}
add_atc_show=false;
function close_add_atc()
{
	if(add_atc_show==false)
	{
		$('#adda_box').hide();
	}
}
$('.myshare_btn').live({
	'mouseover':function(){
	$('.myshare').show();},
	'mouseout':function(){
	$('.myshare').hide();}});
$('.myshare').live({
	'mouseout':function(){
	$('.myshare').hide();},
	'mouseover':function(){
	$('.myshare').show();}
});
function onchangelike()
{
	data=$('#maylike').val();
	location.href="https://myshare.url.com.tw/show/"+data;
}
$('.c_close').live('click',function(){
			$('#dv_class').jqmHide();
		});
	var windows_obj="";
	$(document).delegate('.collect_a','click',function(){
		
		$.post("https://myshare.url.com.tw/ajax/have_add_collect",{aid:1373087},function(response){
			if(response['error']==true)
			{
				if(response['log_in']=='off')
				{
					onLogin();
				}
				else
				{
					AlertBox(response['msg']);
				}
				return ;
			}
			ctgy={"ctgy_id":7,"ctgy_name":'時尚'}
			$('#dv_class').jqm({onHide:function(e){e.w.hide();e.o.remove();}});
			$('#dv_class').load("https://myshare.url.com.tw/dialog/category",{cur_ctgy:Array(ctgy)});//
			$('#dv_class').css({"top":((window.screen.height-330)/2-89)+"px",left:((window.screen.width-480)/2-42)+"px"});
			$('#dv_class').jqmShow();
		},'JSON').error(function(){AlertBox('無法收藏!伺服器忙線中!')});
	});
	function onClassSubmit()
	{
		//送出
		var sel_ctgy=$('.in').html();
		var is_purview=$('input[name=collect_purview]:checked').val();
		var is_fb=$('#is_fb').is(':checked')==true ? "y" : "n";
		var user_comment="";
		if($('#txt_comment').hasClass('ak2') || $('#txt_comment').val()!='說點什麼...(可以讓你寫新聞評價,或網頁重點筆記喔!)')
			user_comment=$('#txt_comment').val()
		var data={comment:user_comment,is_purview:is_purview,is_fb:is_fb};
		if(typeof(sel_ctgy)=="undefined")
		{
			AlertBox('請先選擇任一類別!');
			return;
		}
		else
		{
			ctgy={"id":$('.in').attr('data-id'),"name":$('.in').attr('data')};
			$.post("https://myshare.url.com.tw/ajax/add_collect",{aid:1373087,data:data,ctgy:ctgy,coll_user_id:91142},function(response){
				$('#dv_class').jqmHide();
				AlertBox('收藏成功!');
				$('.add_atc').removeClass('add_atc').addClass('add_atc_a');
			}).error(function(){AlertBox('收藏失敗!伺服器忙線中!')});
				
		}
	}
	function onGuess()
	{
		url=$('#txt_url').val();
		if($.trim(url)!="")
		{
			$.post("https://myshare.url.com.tw/ajax/get_guess_data",{url:url},function(response){
				if(response['error']==true)
				{
				}
				else
				{
					$('#txt_comment').val(response['msg']);
				}
				if($('#txt_comment').val()!="")
				{
					$('#txt_comment').removeClass('add_kw').addClass('ak2');
				}
			},'JSON');
		}
		else
		{
			AlertBox('請輸入網址!');
		}
	}
	function onGuess01()
	{
		$('#txt_comment').val(ar_guess[guess_num]);
		guess_num++;
		if(guess_num>=ar_guess.length)
			guess_num=0;
	}
	/*$('.open_head').live('click',function(){
	});*/
	close_head=true;
	/*$('#header_clt').live('click',function(){
		if(close_head==false)
		{
			close_head=true;
			return;
		}
	});*/
//-->
	$('.close_a').live('click',function(){
		$('#adda_box').hide();
		$('.close_a').fadeOut(500);
		$('#header_clt3').animate({height:"toggle"},400,function(){$('#header_clt3').css('height',0).hide();});
		$('#bottom_clt3').animate({height:"toggle"},400,function(){$('#bottom_clt3').css('height',0).hide();$('#bottom_clt3_bg').hide();});
		$('#header_clt3').css('height',0).hide();
		$('#view_web').css('margin-top',0);
		$('.open_a').fadeIn(500);
		on_resize();
		
	});
	$('.reductive_a').live('click',function(){
		$('#header_clt3').animate({height:"toggle"},400,function(){$('#header_clt3').css('height','').show();});
		$('#bottom_clt3').animate({height:"toggle"},400,function(){$('#bottom_clt3').css('height','').show();$('#bottom_clt3_bg').show();});
		$('#header_clt3').css('height',60).show();
		$('#view_web').css('margin-top',56);
		$('.open_a').fadeOut(500);
		$('.close_a').fadeIn(500);
		on_resize();
	});
	$('.share_a').live('click',function(){
		if($('.my_share2').css('display')=='none')
		{
			$('.my_share2').show();
		}
		else
		{
			$('.my_share2').hide();
		}
	});
	share_a_show=false;
	$('.share_a').live('mouseover',function(){
		share_a_show=true;
		$('.my_share2').show();
	});
	$('.my_share2').live('mouseover',function(){
		share_a_show=true;
	});
	$('.my_share2').live('mouseout',function(){
		share_a_show=false;
		setTimeout(on_share_a_show,800);
	});
	$('.share_a').live('mouseout',function(){
		share_a_show=false;
		setTimeout(on_share_a_show,800);
	});
	
	function on_share_a_show()
	{
		if(share_a_show==false)
		{
			$('.my_share2').hide();
		}
		
	}
	$('.add_atc').live('click',function(){
				onLogin();
			});
	//圖片產生
		function create_img_obj(imgs,img_collect,coll_count)
		{
			inFind=true;
			var img = new Image();
			var obj_length=imgs.length;
			var i=0;
			img.onload = function() {
			  pic_rod=0;
			  if(this.width>this.height)
			  {
			  	pic_rod=this.width/this.height;
			  }
			  else
			  {
			  	pic_rod=this.height/this.width;
			  }
			  if(this.width>=210 && pic_rod<=2.5)
			  {
				img_w=100;
				img_h=this.height/(this.width/100);
				img_left=img_w-15;
				is_check='';
				if(img_collect!=false)
				{
					if(img_collect[i-1]=='on')
					{
						is_check='checked';
					}
				}
				if(imgTotal==0)
				{
					if(coll_count==0)
						is_check='checked';
					$('.view_img ul').html('收 藏 放 大 收 藏 放 大 ').attr('src',data).css({'max-width':800});
			$('.lb-caption').find('a').html(own_name);
			$('.media_display').html(img);
			TINY.box.show({html:$(".media_box").html(),animate:true,fixed:false,width:800,openjs:function(){$('.tinner').css({width:'800px',height:'auto'});add_atc_show=true;$('#adda_box').show();}});
			
	   }
	   $('.lb-prev,.lb-next').live('click',function(){
			//判斷位置
			if($('.view_img ul li').filter('.selected').index()>=0)
			{
				
				if($(this).hasClass('lb-prev'))
					new_index=$('.view_img ul li').filter('.selected').index()-1;
				else
					new_index=$('.view_img ul li').filter('.selected').index()+1;
				$('.view_img ul li').eq(new_index).stop().fadeTo(fadeSpeed + 100, 1, function(){
		}).addClass('selected').show().siblings().fadeTo(fadeSpeed, 0).removeClass('selected').hide();
				data=$('.view_img ul li').filter('.selected').find('img').attr('src');
				$('.lb-caption','.tcontent').find('a').html(own_name);
				if($('.view_img ul li').filter('.selected').find('input').is(':checked')==true)
				{
				  	$('.lb-like-pic','.tcontent').hide();
			  	}
				else
				{
					$('.lb-like-pic','.tcontent').show();
				} 
				cur_index=$('.view_img ul li').filter('.selected').index()+1;//目前位置
				cur_max=$('.view_img ul li').size();//總數
				on_nav(cur_index,cur_max)
				$('.lb-number','.tcontent').html(cur_index+'/'+cur_max);
				$('#lbImgNum').html(cur_index+'/'+cur_max);
				var img=$('=30)
					{
						AlertBox('關鍵字只能輸入30個字詞喔!');
						bleck;
					}
					$('.kw_list div').each(function(index,element){
						if($(element).attr('data')==kw_list[i])
						{
							is_repeat=true;
							return false;
						}
					});
					if(is_repeat==false)
					{
						html='';
						$('.kw_list').append(html);
					}
				}
			}
		}
		function img_model(value)
		{
			if(value==3)
			{
				ck_count=0;
				$('.view_img ul li').each(function(index,element){
					if($(element).find('input').is(':checked'))
						ck_count++;
				});
				$('#lbImgCollectNum').html('已收'+(ck_count)+'張');
				if(ck_count==0)
				{
					$('#lbImgCollectNum').html('已收'+(1)+'張');
					$('#no_pic').attr('checked',true);
				}
				else if(ck_count==$('.view_img ul li').size())
				{
					$('#all_pic').attr('checked',true);
				}
				else
				{
					$('#coll_pic').attr('checked',true);
				}
			}
			else
			{
				if(value==0)
				{
					$('#lbImgCollectNum').html('已收'+0+'張');
				}
				else if(value==1)
				{
					$('#lbImgCollectNum').html('已收'+(1)+'張');
				}
				else
				{
					$('#lbImgCollectNum').html('已收'+($('.view_img ul li').size())+'張');
				}
				$('.view_img ul li').each(function(index,element)
				{
					if(value==0)
					{
						$('input',element).attr('checked',false);
					}
					else if(value==1)
					{
						if(index==0)
						{
							$('input',element).attr('checked',true);
						}
						else
						{
							$('input',element).attr('checked',false);
						}
					}
					else
					{
						$('input',element).attr('checked',true);
					}
				});
			}
		}
		$('.view_img ul li').live({
			mouseout:
				function ()
				{
					$(this).find('#btn_chk').hide();
					$(this).find('#btn_zoom').hide();
				}
			,mouseover:
				function ()
				{
					$(this).find('#btn_chk').show();
					$(this).find('#btn_zoom').show();
				}
		});
		$('#cp_link').live('click',function(){
			var txt = $('#txt_url').val();;
			var str = escape("請按鍵盤 Ctrl+C 及 Enter 複製連結。");
			window.prompt (unescape(str), txt);
		});
		is_lock=false;
		$('.btn_save_edit').live('click',function (){
			if(load_content==false)
			{
				AlertBox('請等待資料載入完畢後,再作操作!');
				return;
			}
			if(is_lock==true)
			{
				AlertBox('修改中!!您操作太快了!');
				return;
			}
			is_lock=true;
			$('#adda_box').hide();
			ctgy={"id":$('#sel_ctgy').find(":selected").val(),"name":$('#sel_ctgy').find(":selected").html()};
			keyword=[];
			webData['user_title']=encodeURIComponent($('#txt_title').val())
			if($('#txt_comment').hasClass('add_kw') || $('#txt_comment').val()=='說點什麼...(可以讓你寫新聞評價,或網頁重點筆記喔!)')
			{
				webData['comment']="";
			}
			else
			{
				webData['comment']=$('#txt_comment').val();
			}
			webData['is_purview']=0;
			webData['is_fb']='false';
			$('.kw_list div').each(function(index,element){
				if($(element).attr('data')!="")
				{
					keyword.push($(element).attr('data'));
				}
			});
			webData['keyword']=keyword;
			imgs=[];
			$('.view_img ul li').each(function(index,element){
				imgs.push({'src':$(element).find('img').attr('src'),'ck':$(element).find('input').is(':checked')});
			});
			
			$.post("https://myshare.url.com.tw/news/save",{type:"n",data:webData,imgs:imgs,ctgy:ctgy,edit:true},function(response){$.post("https://myshare.url.com.tw/ajax/set_collect_notice",{aid:1373087,coll_user_id:91142});AlertBox('修改成功!');is_lock=false;$('.add_atc').removeClass('add_atc').addClass('add_atc_a');},'json');
		});
【正品品質】耐吉nike dunk high sb the black box 男子高筒滑板鞋 黑紫_nike dunk_Nike_運動鞋_nike官方網台灣,nike air max,nike roshe run|adidas originals,adidas nmd,adidas ultra boost,adidas官方網台灣 
  
    
      看過了這篇同時也看了......
       
      Myshare粉絲團