توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : home page صفحه
سلام
من چطوری می تونم کاری کنم وقتی طرف وارد سایت می شه سوال بکنه که آیا این صفحه را برای شما home page بکنم؟ یا نه؟
mhadaily
04-05-2009, 04:20 PM
================================================== ==========
Script: Bookmark This Page Script
Functions:
In IE browsers, the script automatically opens the dialog
to add your bookmark to the visitor's favorites. In other
browsers, the message in the txt variable is shown.
Update 07-03-01: see tech note at end to use an image
instead of text for the link.
Browsers: IE 4.0 and later (degrades gracefully in others)
Author: etLux
================================================== ==========
Put the following script in the body of your page. Set the
font with tags around the script as shown.
<font color="#000000" size="2" face="Arial">
<script>
// (C) 2000 <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
// <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
// Free for all users, but leave in this header
// message to show in non-IE browsers
var txt = "Bookmark Us!"
// url you wish to have bookmarked
var url = "<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
// caption to appear with bookmark
var who = "CodeLifter.com Software and Scripts"
// do not edit below this line
// ===========================
var ver = navigator.appName
var num = parseInt(navigator.appVersion)
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
document.write('<A HREF="javascript:window.external.AddFavorite(url,w ho);" ');
document.write('onMouseOver=" window.status=')
document.write("txt; return true ")
document.write('"onMouseOut=" window.status=')
document.write("' '; return true ")
document.write('">'+ txt + '</a>')
}else{
txt += " (Ctrl+D)"
document.write(txt)
}
</script>
</font>
================================================== ==========
Addendum: Using an Image instead of Text for the Link.
You can use an image instead of the text for this link by
using the following in the txt variable:
var txt = "<img src='some.gif' width='100' height='30' border='0'>"
Use an image name (and full <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> path if needed) as shown
above. Take special care to use single quotes where shown!
================================================== ==========
ببینید این بدرد شما میخوره
mhadaily
04-05-2009, 04:23 PM
یک جستو هم در اینترنت بکنید کد ها ی مشابه زیاد هستن
vBulletin® v4.2.5, Copyright ©2000-2026, Jelsoft Enterprises Ltd.