Re: [tweaks] The tweaks set for XWD 5.0.1
Hi JC,
Sorry for not responding sooner.
Comments in javascript can be a single line or a block of text.
Use double forward slashes for a single line comment. // this is a comment
A block of text can be made a comment by starting with a forward slash and asterisk. /* this begins a block comment.
To end the block comment use asterisk and forward slash. */ this ends a block comment.
1 Attachment(s)
Re: [tweaks] The tweaks set for XWD 5.0.1
Thanks Bill, Steve & Markku. Couple of problems though :(
The time stamps are static in both FF3 & IE8 and your calendar Bill appears - as below - in FF ... though it appears fine in IE (have to wait till tomorrow to check if it's static too :p) I have JavaScript enabled in FF btw.
Sorry to be a pain :o
Re: [tweaks] The tweaks set for XWD 5.0.1
John the time and calendars are static unless you force a page refresh.
I never tried the calendar in any browser except for IE. The company I wrote code for only allowed IE on their machines and all the pages were strictly intranet (not internet) accessible.
Re: [tweaks] The tweaks set for XWD 5.0.1
Ah, OK, thanks Bill. At least it's not my machine :)
Re: [tweaks] The tweaks set for XWD 5.0.1
A good cross browser calendar can be found at
http://www.richarea.com/demo/rich_calendar/
Re: [tweaks] The tweaks set for XWD 5.0.1
Bill, your calendar is very nice.
I've managed to figure out how to change the colors of the table, current date cell color, beginning year, and a few other things.
I can't see how to scale down the table size (it seems it has a minimum width of 200pix and heigth of 193pix).
What I'd like to do in reduce the Height of the entire table down to 170 pix and, if necessary, scale the font size down.
If you can show me what code to change, I can edit my placeholder.
JohnC
[Edit] see below. Thanks, Steve. Hope its not an Aussy Calendar is it?..:eek:
I see you added font size = 1 What does the 1 do? Does is that tell the browser to use a minimum value?
[Edit]
It is all prefectly clear now:rolleyes:
The user picks a preferred length value in prefs. You figure out the pixels-per-em (based on the logical res if an absolute length such as a "point" size). Then you calculate the values of the keyword sizes according to the scaling factors given in the "synoptic table" above. If the user changes the font size via a "topside" (non-prefs-based, transient) affordance, you traverse the keyword size scale........So, it is a lowest scale factor? If you want, your reply could be a tx'd to a new post.
2 Attachment(s)
Re: [tweaks] The tweaks set for XWD 5.0.1
Here's Bill's calendar 'Taylored' ( :D ) to suit.
Re: [tweaks] The tweaks set for XWD 5.0.1
Yes I'm afraid it is an Eastern Australian Calendar therefore you will have to set your clocks, watches, computer and sundial to GMT+10 :D
I have wrapped Bill's <script> with <font size=1> which tells the browser to use a font size interval of '1' for all font tags within the script.
Re: [tweaks] The tweaks set for XWD 5.0.1
Steve, Bill and others,
Thanks for the input on the script... gives me something to play with.
Rupert
Re: [tweaks] The tweaks set for XWD 5.0.1