how to make link SEO target="_blank" Replacement using JavaScript
1. ตัวอย่างโค้ดลิงค์
<!-- (Solution 1) --> <a href="http://www.iphpdev.blogspot.com/" rel="_blank" rev="solution-01">This link will open in a NEW window </a> <!-- (Solution 2) --> <a href="http://www.iphpdev.blogspot.com/" rel="_blank" rev="solution-02">This link will open in a NEW window </a> <!-- (Normal link) --> <a href="http://www.iphpdev.blogspot.com/" rel="_blank">This link will open in a NEW window </a>2. ตัวอย่างการเรียกใช้ สร้าง link ให้ถูกต้องตาม SEO
<script type="text/javascript"> /* The code below cannot be used together, use solution 1 or solution 2 */ // Solution 1 $(document).ready(function(){ $('A[rel="_blank"]').each(function(){ $(this).attr('target', '_blank'); }); }); // Solution 2 $(document).ready(function(){ $('A[rel="_blank"]').click(function(){ window.open($(this).attr('href')); return false; }); }); </script>ที่มาจาก : ajaxblender.com
How To Make Link Seo Target="_Blank" Replacement Using Javascript ~ Php Developer >>>>> Download Now
ตอบลบ>>>>> Download Full
How To Make Link Seo Target="_Blank" Replacement Using Javascript ~ Php Developer >>>>> Download LINK
>>>>> Download Now
How To Make Link Seo Target="_Blank" Replacement Using Javascript ~ Php Developer >>>>> Download Full
>>>>> Download LINK