vahid_shiraz
New Member
با سلام
يك كد ميخام كه به همراه باز شدن سايت همزمان يك سايت ديگر نيز باز شود
موفق باشيد
يك كد ميخام كه به همراه باز شدن سايت همزمان يك سايت ديگر نيز باز شود
موفق باشيد
<script language="JavaScript">
window.open('http://آدرس صفحه','نام پنجره','width=300, height=200, menubar, status, scrollbars, resizable, toolbar, location');
</script>
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe ([email protected]) -->
<!-- Web URL: http://fineline.xs.mw -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=700,height=700');");
}
// End -->
</script>
<!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->
<BODY onLoad="javascript:popUp('http://majidonline.com')">
<!-- Script Size: 0.73 KB -->
سوال من كه آسون تر بود
ميخوام وقتي يه صفحهاي باز ميشه بره يه صفحهي ديگه رو نشون بده
مرسي از همه دوستاي خوب
<html>
<head>
</head>
<body>
<script language="Javascript">
var URL = "[B]safheye morede nazar[/B]"
var speed = 500
function reload() {
location = URL
}
setTimeout("reload()", speed);
//-->
</script>
</body>
</html>
<META HTTP-EQUIV="refresh" CONTENT="0; URL=http://آدرس مورد نظر">