OZONE Asylum
Forums
DHTML/Javascript
Javascript Stardate Clock
This page's ID:
29187
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] [b]poi said:[/b] Also, image swapping is a bad idea. It can generate some reflow if the browser's layout engine is not really well optimized, not to mention the hassle of having to preload the images to avoid further useless connections.Use something like CSS sprites, and check the entries submitted to the March 2005 - 20 lines JavaScript contest - XXX. Mine uses CSS sprites and fits in 8 lines ( at least 2 more lines can be removed without obfuscating the code ).Hope that helps, [/quote] <body> Êþº¾ -P è ¼ Ú Ü à â í î ò ó ô õ ö ý 57<>CO ù"#$%&'()*+,-./0123C / % ? / - ? * ? + ? 0 ? ( ? 0 ? + ? / ? 0 ? ? 0 ? * ? 0 ? 0 0 $ ? 0 ? ? . ? ? ! ? ? ? ! ? 0 ? " ? 0 ? 0 ? 0 0 ? % ? ' ? / * ¡ 0 ¢ , £ 0 ¤ 0 ¥ 0 ¦ 0 § # ¨ # © 0 ª « ¬ - - ® - ¯ * ° * ± + ² ' ³ ' ´ * µ ' ¶ 0 · " ¸ 0 ¸ 0 ¹ 0 º 0 » è@N @vÐ @và @¬ @õ Û Â Û Å Û Ì Û Ô Û Ø Ý ç ú Ç û é ü × þ Ó ÿ é ¿ ç Æ Â Ê ä ä Ä æ Ï Ç Á ¾ Ù Ö Ð ø ã ã é é ½! É4 ½6 ê8 è9 Î: ç; ÷< ã= Ò= Ø> ã? ÂA ØB ÍE ÂF ÂG ÈG ËH ÀH ÈH ËJ ÑJ ÕK ëL ãM äN äO ã 4 radix to be used in stardate display,defaults to 10 ()I ()Ljava/awt/Graphics; ()Ljava/awt/Rectangle; ()Ljava/lang/String; ()Ljava/net/URL; ()V ()[[Ljava/lang/String; (CI)I (D)V (I)C (I)I (I)Ljava/lang/String; (I)Z (II)Ljava/awt/Image; (II)Ljava/lang/String; (III)V (J)V (Ljava/awt/Graphics;)V 3(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z !(Ljava/awt/image/ImageObserver;)I &(Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/Object;)V (Ljava/lang/Object;)Z (Ljava/lang/Runnable;)V '(Ljava/lang/String;)Ljava/lang/Integer; &(Ljava/lang/String;)Ljava/lang/String; ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (Ljava/lang/String;)V 2(Ljava/net/URL;Ljava/lang/String;)Ljava/awt/Image; .gif <init> BG Background Code ConstantValue ±Copyright by Konstantin Priblouda 1999, all rights reserved This applet display current stardate in various formats This applet is licensed to you under GNU GPL ( www.gnu.org ) Exceptions Freeing resources I J LineNumberTable Ljava/awt/Graphics; Ljava/awt/Image; Ljava/io/PrintStream; Ljava/lang/String; Ljava/lang/Thread; Ljava/util/GregorianCalendar; LocalVariables P Quitting applet RRATE SGILineNumber SourceFile Stardate syncronized... String 'Unable to get precision - fallback to 5 $Unable to get radix - fallback to 10 5Unable to get year fraction precision - fallback to 3 Z [Ljava/awt/Image; [Ljava/lang/String; abs afterPoint append 2base name of a glyph image, defaults to 'stardate' before beforePoint bounds buffer charAt computeStardate createImage dayFractionMultiplyer dayFractionPadder destroy digit done... doublebuffer drawImage fallback to '.gif' fallback to 'stardate' get getAppletInfo getCodeBase getGraphics getImage getParameter getParameterInfo getWidth glyphs height 9how many digits to represent year fraction - 3 is default -how many digits use after point defaults to 5 i imageType imagename imagetype init int intValue isLeapYear java/applet/Applet java/awt/Component java/awt/Graphics java/awt/Image java/awt/Rectangle java/io/PrintStream java/lang/Character java/lang/Double java/lang/Exception java/lang/Integer java/lang/Math java/lang/Runnable java/lang/String java/lang/StringBuffer java/lang/System java/lang/Thread java/util/Calendar java/util/GregorianCalendar length loading glyphs... mythread Oname extension to be used with image ( i.e '.gif' , '.jpg' - defaults to '.gif' out paint point preWarp precision println radix repaint run showStatus sleep stardate stardate.java start stop substring toString update valueOf warpStart width yearFractionMultiplyer yearFractionPadder yearPrecision ! 0 ) ç ð æ ð > ã ð é ð é ð ã ð L ã ð ÿ é ð û é ð ; ÷ ð 6 ê ð ø ð : ç ð Ý ç ð M ä ð # N ä ð # ä ð $ ä ð $ < ã ð & O ã ð ( ã ð * ï ã ß ð 0 K ë ð 7 Â Þ , Ì**¶ L¸ l¶ Uµ `§ L² Y+¶ ^² Y¶ _* µ `*´ `? * µ `**¶ L¸ l¶ Uµ ]§ L² Y+¶ ^² Y¶ _*µ ]*´ ] *µ ]**¶ L¸ l¶ Uµ r§ L² Y+¶ ^² Y ¶ _*µ r*´ ] *µ r**¶ Lµ R*´ RÇ 0*» *Y· 6µ R§ L² Y+¶ ^² Y¶ _*» *Y· 6µ R*´ RÇ *» *Y· 6µ R**¶ Lµ S*´ SÇ 0*» *Y· 6µ S§ L² Y+¶ ^² Y¶ _*» *Y· 6µ S*´ SÇ *» *Y· 6µ S* µ p*µ Q§ *Y´ p*´ `?iµ p*Y´ Q`µ Q*´ Q*´ r¡ÿà**´ `?*´ piµ q* µ C*µ Q§ *Y´ C*´ `?iµ C*Y´ Q`µ Q*´ Q*´ ]¡ÿà**´ C*´ `?iµ D*¶ b***¶ I» +Y*´ R¸ k· 7¶ ;*´ S¶ ;¶ h¶ Kµ [² Y» +Y*´ R¸ k· 7¶ ;*´ S¶ ;¶ h¶ _***¶ I» +Y*´ R¸ k· 7¶ ;*´ S¶ ;¶ h¶ Kµ 8**´ `½ !µ N*µ Q§ @*´ N*´ Q**¶ I» +Y*´ R¸ k· 7*´ Q¸ i¶ ;*´ S¶ ;¶ h¶ KS*Y´ Q`µ Q*´ Q*´ `¡ÿ»**¶ >´ nµ o**¶ >´ Oµ P***´ o*´ P¶ Bµ ?**´ ?¶ Jµ F*¶ b± & 6 F I & j z } & ? ¼ ¿ & ð & å & I > ? > A B C # D ) F 0 G 6 J 6 K F J I M J N Q O Y P ^ R e S j U j V z U } X ~ Y ? Z [ ? ] ? ^ ? a ? b ¨ c ¯ d ¼ a ¿ f À g Ç h Ï i Ü l ã m ð q ð r ú s t q v w x! y. |5 }B ?G ?O ?] ?r ?? ?? ?? ° ¾ ?Ä ?í ? ?9 ?D ?L ?? ¡? ¢ª ¤º ¥Å §Ë ¨ ð 9 À Þ " » *Y· 6° å « ð ª Ã Þ ¹ u½ Y½ *YSYSYSSY½ *YSYSYSSY½ *YSYSYSSY½ *YSY SYSSY½ *YSY SYSSL+° å 2 ¯ ° ¯ ± / ¯ 2 ² E ¯ H ³ [ ¯ ^ ´ q ¯ s ¶ ð ® 9 Î Þ È*¶ A*´ F*´ 8*¶ GW6=§ 7*´ =¶ @*´ `¸ E>*´ F*´ N2*¶ GW*´ N2*¶ M`6?*´ =¶ W¡ÿÄ*´ F*´ [*¶ GW*´ [*¶ M`6=§ 7*´ :¶ @*´ `¸ E>*´ F*´ N2*¶ GW*´ N2*¶ M`6?*´ :¶ W¡ÿÄ+*´ ?*¶ GW± å F » Â Å Æ Ç + È = É L Æ Z Ë j Ì w Î | Ï ? Ð ? Ñ Î » Ø Ç Ú ð ¸ I Î Þ " *+¶ Z± å Ý Þ ð Ü Â Þ ? » /Y· 2:¶ H*´ m¶ Hd<*´ m¶ <? *µ \¸ 9<¶ H¶ V? ¶ Hd? yo9§ ¶ Hd? wo9¶ H? {k¶ H? ukc ¶ H?c }oI*» +Y*´ `¸ j¸ k· 7» %Y*´ p?k*´ q?c· 3¶ T*´ `¸ j¶ f¶ ;¶ hµ =*» %Y*´ C?(k*´ D?c· 3¶ T*´ `¸ j¶ fµ :*´ :¶ W*´ ]¤ **´ :*´ ]¶ gµ :± å z ç é ë % ì * í / ñ = ò M ñ P õ ` ÷ l ø x ÷ y ù ? ø ? ù ? ÷ ? ÿ ? À ÿ Æ Ò Ö Û Þ â å é ì ú ð ä E Â Þ I !* ¶ b*» -Y*· 5µ X*´ XÆ *´ X¶ d± å ð @ Â Þ E *¶ a s¸ c§ÿöW§ÿò & å ! " ! # ! ð F Â Þ B *¶ b*´ XÆ *´ X¶ e*µ X± å ) * + , . ð ' Â Þ # *¶ b± å 1 2 ð 0 Û Â Þ : *· 1*µ \*» /Y · 4µ m± å 7 ð ñ D ð </body> That's the .class file that I put in the <body> </body> tags. Someone please help me. I'm going out of my mind. There has to be an easier way. *Sighs* [small](Edited by [url=http://www.ozoneasylum.com/user/6501]Mr_Wizard[/url] on 05-05-2007 22:39)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »