از ورد پرس استفاده میکنم...میشه بیشتر توضیح بیدنتنها راهش همین هست.البته اگه از سیستم خاصی مثلا وردپرس استفاده می کنید، افزونه هایی برای تغییر خودکار لینکها به منظور باز شدن در صفحه جدید (مثلا لینک های خروجی) موجود هست.
از ورد پرس استفاده میکنم...میشه بیشتر توضیح بیدنتنها راهش همین هست.البته اگه از سیستم خاصی مثلا وردپرس استفاده می کنید، افزونه هایی برای تغییر خودکار لینکها به منظور باز شدن در صفحه جدید (مثلا لینک های خروجی) موجود هست.
این کد رو قبلا انتخاب کردم.......همه لینک هارو _blank میکنهاین کد رو بین head قرار بدید
کد:<base target="_blank">
این کد رو قبلا انتخاب کردم.......همه لینک هارو _blank میکنهاین کد رو بین head قرار بدید
کد:<base target="_blank">
=== Open in New Window Plugin ===
Tags: outbound, links
Donate link: http://www.blogseye.com/buy-the-book/
Requires at least: 2.8
Tested up to: 3.3
Contributors: Keith Graham
Stable tag: 2.2
Opens external links in a new window, keeping your blog page in the browser so you don't lose surfers to another site.
== Description ==
The Open in New Window Plugin Plugin uses JavaScript to target external links to a new browser window, leaving your blog page open.
Since it uses javascript, it targets more links than using a plugin that filter pages and rewrite the link. The plugin will find many links generated in scripts or pasted into posts and comments.
Due to the limitations of javascript it will not be able target links in iframes such as Adsense and some other affiliate links.
=== Open in New Window Plugin ===
Tags: outbound, links
Donate link: http://www.blogseye.com/buy-the-book/
Requires at least: 2.8
Tested up to: 3.3
Contributors: Keith Graham
Stable tag: 2.2
Opens external links in a new window, keeping your blog page in the browser so you don't lose surfers to another site.
== Description ==
The Open in New Window Plugin Plugin uses JavaScript to target external links to a new browser window, leaving your blog page open.
Since it uses javascript, it targets more links than using a plugin that filter pages and rewrite the link. The plugin will find many links generated in scripts or pasted into posts and comments.
Due to the limitations of javascript it will not be able target links in iframes such as Adsense and some other affiliate links.
<script type="text/javascript">
function Init()
{
// Grab the appropriate div
theDiv = document.getElementById('theDiv');
// Grab all of the links inside the div
links = theDiv.getElementsByTagName('a');
// Loop through those links and attach the target attribute
for (var i=0, len=links.length; i < len; i++) {
// the _blank will make the link open in new window
links[i].setAttribute('target', '_blank');
}
}
window.onload = Init;
</script>
<script type="text/javascript">
function Init()
{
// Grab the appropriate div
theDiv = document.getElementById('theDiv');
// Grab all of the links inside the div
links = theDiv.getElementsByTagName('a');
// Loop through those links and attach the target attribute
for (var i=0, len=links.length; i < len; i++) {
// the _blank will make the link open in new window
links[i].setAttribute('target', '_blank');
}
}
window.onload = Init;
</script>