maxe Admin
المشاركات : 2507 التسجيل : 29/11/2012 تاريخ الميلاد : 10/10/1993
| موضوع: كود لعرض وصله جديدة كل يوم (من الممكن يكون خبر أو اعلان محدد بيوم معين كل اسبوع الثلاثاء أبريل 23, 2019 5:15 pm | |
| كود لعرض وصله جديدة كل يوم (من الممكن يكون خبر أو اعلان محدد بيوم معين كل اسبوع - الكود:
-
<html><head><****** language="Java******">//************************************************** ****// * ****** from http://ldpoint.com// * Phone and internet services, tools*// * You can use this code if you leave this message*// ************************************************** ****function GetTodaysURL(){var locationlist = new URLList("1.html", // Monday"2.html", // Tuesday"3.html","4.html","5.html","6.html","7.html " // Sunday);now = new Date();num = now.getDay();if (num == 0) num = 7;location.href = locationlist.list[num-1];}function URLList (){var argv = URLList.arguments;var argc = argv.length;this.list = new Object();for (var i = 0; i < argc; i++)this.list[i] = argv[i];this.count = argc;return this;}</******></head><body>Example of the code, choosing<a href="java******:GetTodaysURL()">the page of that day</a>.Tomorrow here will be shown another page.</body></html>
| |
|