الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

كود لساعة رقمية بjava applet

مغلق
بدأه dark blood في 17 أغسطس 2003 · 3 رد · 1,006 مشاهدة · في منتدى تصميم صفحات الويب
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع
html>

<head>

<title>time</title>

</head>



<body>

<applet codebase="" code=Time.class height=60 width=200 align="absmiddle">

<param name=format value=12>

<param name=shading value=put_anything_here>

<param name=red value=130>

<param name=green value=25>

<param name=blue value =140>

<param name=backred value=168>

<param name=backgreen value=168>

<param name=backblue value=168>

<param name=fontsize value=50>

<param name=x_pos value=10>

<param name=y_pos value=-10>

<param name=author value="Sami E. Millet (samim@clark.net)">

</applet>

</body>

</html>
#2

This is another one using JavaScript



<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<Script Language="JavaScript">

function ShowTime()

{

var TimerKey

var now = new Date()

var Hours = now.getHours()

var Minutes = now.getMinutes()

var Seconds = now.getSeconds()

TimeDisplay.innerText = ((Hours > 12) ? Hours - 12 : Hours) + ((Minutes < 10) ? ":0" : ":") + Minutes + ((Seconds < 10) ? ":0" : ":") + Seconds + ((Hours > 12) ? " PM" : " AM")

TimerKey = setTimeout("ShowTime()",1000)

}

</Script>

<style>

<!--

.TimeDisplay { font-family: Arial; font-size: 12pt; color: #000080; font-weight: bold;

              background-color: #F8F7F1; border-style: outset; border-width:

              1 }

-->

</style>

</head>

<body onload=ShowTime()>



 <center>

<table cellspacing="1" cellpadding="2" class="TimeDisplay" bordercolor="#000080" border="1"><tr><td>

<p align="center"><span id="TimeDisplay" align="center">Time

</span>

</td></tr></table>

 </center>



</body>

</html>
<html>

regards ... Saqar

#4

الكود الاول مايشتغل معاي

وعلى فكره اول سطر في الكود

ينقصها فتح ال TAG وكذلك

اقتباس
كاتب الرسالة الأصلية : صلاح الثبيتي

الملف Time.class ؟

تحياتي؛(f)

سبحان الله وبحمده .... سبحان الله العظيم

هذا الموضوع مغلق.

مواضيع مشابهة