Since 4/2/2012 5:11:06 AM, jrs has written 4 articles and participated in 41 conversations. jrs signature: jrs
jrs's articles:
Items(4) /1
Debug Request526 (10/21/2008 4:56:01 PM) comp.lang.javascript The page below works in Firefox & Safari, but not in IE & Opera. How should it be put right? The idea is that the TDs will be loaded with a fully-specified date/time, preferably as UTC, but those users with J... Dr
Cuffs - code and effect comment?412299 (5/24/2007 9:46:22 PM) comp.lang.javascript , and js-dates.htm, and some Easter pages, now include . function Cuffs() { var ThisPage, ThisSite, J, DLJ, HREF ThisPage = location.href.replace(/#.*/, "") ThisSite = location.protocol + "//" + location.h... Dr
Making window fit contents in all browsers?779 (4/17/2007 6:20:53 PM) comp.lang.javascript I want page to open, in IE6, IE7, Firefox 2, and wherever else practicable, with the control labelled F.X0 fully visible at the top of the window and the control F.Result (which is just under the textarea) ful... Dr
Indentation for Structure, automated041 (9/27/2006 5:10:40 PM) comp.lang.javascript It is generally agreed that code should be indented (and spaced) to show its logical structure, with one unit for each structure level and generally another for a new line which does not start a statement. Usi... Dr
Daylight Savings Time in Calendar2140 (6/22/2008 9:45:22 AM) comp.lang.java.programmer Hello, In my Locale there is Daylight Savings Time (DST) in effect. I would like to get the time of the day without the DST (ie, the hour as indicated by the sun position). To do this I use Calendar and set t... sicsicsic(164)
Bigdate problem1339 (7/8/2008 6:28:44 AM) comp.lang.java.programmer Hi, I have an week calculation problem . If i change my PC date on 7 July 2008 and add five week to 200748, BIGDATE give me 200753. This week don't exist un french calendar. If i put my PC date to 8 July 2008 ... pcouas(199)
GregorianCalendar question2133 (8/26/2008 12:11:32 PM) comp.lang.java.programmer Hi, I would like to get last Friday's date. Can you please check if there is any issue with the code below? Thanks. GregorianCalendar calendar = new GregorianCalendar(); // set to last week calendar.set( Calen... jamie.patricks(1)
Simple math question2840 (10/14/2008 4:23:14 PM) comp.lang.java.programmer Hi, I'm using Java 1.5 on Solaris 9. I have this procedure for showing my users how many pages of search results were retrieved ... public int getNumPages() { return (int) Math.ceil(g... laredotornado(854)
Possible bug in Calendar390127 (10/27/2008 8:42:21 PM) comp.lang.java.programmer Calendar calendar = Calendar.getInstance(); calendar.set(2003,9,10,13,8,42); Date date = calendar.getTime(); When the above code is run twice with some time passing in between, the resulting Date objects co... hyarmouth991476(278)
Difference between two date/times1543 (12/11/2008 9:21:22 PM) comp.lang.java.programmer I'm trying to figure out the difference between date/times. Given two dates or Timestamps or whatever, figure out the elapsed time between them. Maybe the later one is 2 days, 3 hours, 15 minutes, 5 seconds lat... Slattery_T(296)
how to make dates without timezones?10434 (2/21/2009 5:58:40 AM) comp.lang.java.programmer In my database I have a lot of date fields that aren't time stamps but just store dates. The problem is that when i load them into a java Date it automatically assigns the timezone. The result will be a date ... epicwinter(92)
How to write a browser based timer1929 (2/21/2012 8:50:06 PM) comp.lang.javascript I need to know what to read about. I want to write a browser based timer such that when one presses some key it starts incrementing and pressing another key pauses it. HTML to be on the same machine as the ... CalWhoNOSPAM(34)
Neek audio feedback for spacebar press931 (2/28/2012 3:24:36 AM) comp.lang.javascript I have a situation where someone will not be looking at the laptop and will reach over and hit the spacebar. It is important that he know that he indeed did correctly hit the spacebar without examining the s... CalWhoNOSPAM(34)