νόες σχεδίων
Wednesday, January 4, 2012
Wednesday, November 2, 2011
IETester: Finding the pitfalls of Internet Explorer
I just came across a wonderful tool that needs to be shared. IETester is a benevolent program that allows developers to view a webpage in all extant versions of the world's worst browser simultaneously (and without having to install several Virtual PC's on your computer). It's free, and relatively compact - 110 MB when fully installed.
By clicking on the IE options in the big red box, you can choose in which version of IE you'd like to view a webpage. The address bar is found in the little red box.
If you have to work with Internet Explorer as much as I do, I think you'll find this to be a very helpful tool.
By clicking on the IE options in the big red box, you can choose in which version of IE you'd like to view a webpage. The address bar is found in the little red box.
Thursday, October 13, 2011
A Prayer for Guidance
Heavenly Father, in you we live and move and have our being.
Guide and govern us by your Holy Spirit, that in all the cares
and occupations of our life we may not forget you, but may
remember that we are ever walking in your sight; through
Jesus Christ our Lord. Amen.
(BAS, A Prayer for Guidance, 130)
Guide and govern us by your Holy Spirit, that in all the cares
and occupations of our life we may not forget you, but may
remember that we are ever walking in your sight; through
Jesus Christ our Lord. Amen.
(BAS, A Prayer for Guidance, 130)
Tuesday, September 20, 2011
iframes CAN have 100% height
I made a handy find the other day: a simple script that allows your iframe to expand to 100% of the page. This is currently impossible with CSS, but with a few lines of javascript, when you shout, "Expand!", your iframe will ask, "How high?!"
I found this script at: http://www.activewidgets.com/javascript.forum.10948.6/is-there-any-way-to.html
Here is the iframe code you need:
Demo: http://lukejohnson.ca/code/iframe-100-height.php
I found this script at: http://www.activewidgets.com/javascript.forum.10948.6/is-there-any-way-to.html
<script language="JavaScript"> <!-- function resize_iframe() { document.getElementById("info").innerHTML='iframe offsetTop: <b> '+document.getElementById("glu").offsetTop+"</b><br>body.offsetHeight:<b>"+document.body.offsetHeight+"</b>";//display some information on the screen var height=window.innerWidth;//Firefox if (document.body.clientHeight) { height=document.body.clientHeight;//IE } document.getElementById("glu").style.height=parseInt(height-document.getElementById("glu").offsetTop-8)+"px";//resize the iframe according to the size of the window //document.getElementById("glu").height=document.body.offsetHeight-document.getElementById("glu").offsetTop-26; } /* //Here is another way to define the function (this function reloads the page whenever the user resizes the page) window.onresize= function (e) { location.reload(); }; */ window.onresize=resize_iframe; //instead of using this you can use: <body onresize="resize_iframe()"> //--> </script>I wanted my iframed page to appear to take up the entire page without displaying scrollbars of its own. The script on its own was displaying secondary scrollbars, but with a little CSS, I was able to get rid of them, leaving only one scrollbar:
<style type="text/css"> *, html, body {width: 100%; height: 100%; margin: 0; padding: 0;} body {width: 100%; overflow: hidden;} #glu {border: 0;} </style>
Here is the iframe code you need:
<iframe src="YOUR_WEBPAGE_URL" frameborder="0" id="glu" onload="resize_iframe()" scrolling="auto" width="100%"></iframe>And presto! You will have an iframe that takes up the entire window, which will resize to your browser window's size.
Demo: http://lukejohnson.ca/code/iframe-100-height.php
Friday, July 29, 2011
Anglican Liturgical Calendar PHP Script
For any Anglican webmasters out there, this is a great find! A PHP script that determines which day it is on the liturgical calendar (of the Church of England). It can be placed within any tag. The author has it set in h3 tags, which can be formatted easily with CSS however you wish.
Kudos to Don C. Warrington, https://www.vulcanhammer.org/anglican-calendar-script/
View code here: http://phpscripts4u.com/calendars/php-anglican-calendar-script/
Kudos to Don C. Warrington, https://www.vulcanhammer.org/anglican-calendar-script/
View code here: http://phpscripts4u.com/calendars/php-anglican-calendar-script/
Tuesday, July 26, 2011
"Berrying" Jesus
Here is a grammatical quandary for you:
Why is "buried" or "bury" so often pronounced as "berried" or "berry"? This is a very irregular pronunciation of the English "u". It would be odd to say, "I like Sehbway sandwiches," or, "The good, the bad, and the 'ehgly'".
Similarly spelled English words follow the normal pronunciation of "u", such as "hurry" (which, at least in colloquial speech, actually sounds a little more like "er" as in "her"). I'd even accept "uh" as in "up" or "oo" as in "rude". But this "eh" pronunciation is just a little unnatural.
This comes to mind every Sunday as we recite the Apostles' Creed, and I hear 80-some voices say, "He was crucified, died, and was 'berried'", as if somehow Jesus was made berry-like after death, or trounced by a horde of berries (just like a mob "mobs" somebody).
If there is a grammatical guru out there with an explanation, I'm all ears!
UPDATE:
Dr. Rhoda Cairns, English professor at Briercrest, kindly set me straight:
Why is "buried" or "bury" so often pronounced as "berried" or "berry"? This is a very irregular pronunciation of the English "u". It would be odd to say, "I like Sehbway sandwiches," or, "The good, the bad, and the 'ehgly'".
Similarly spelled English words follow the normal pronunciation of "u", such as "hurry" (which, at least in colloquial speech, actually sounds a little more like "er" as in "her"). I'd even accept "uh" as in "up" or "oo" as in "rude". But this "eh" pronunciation is just a little unnatural.
This comes to mind every Sunday as we recite the Apostles' Creed, and I hear 80-some voices say, "He was crucified, died, and was 'berried'", as if somehow Jesus was made berry-like after death, or trounced by a horde of berries (just like a mob "mobs" somebody).
If there is a grammatical guru out there with an explanation, I'm all ears!
UPDATE:
Dr. Rhoda Cairns, English professor at Briercrest, kindly set me straight:
I'm not a phonetics expert by any means, but the OED gives the pronunciation of "bury" thus: /ˈbɛrɪ/. According to one elaborate phonetic chart I found, the symbol for the "u" is pronounced as a short "e," as in "eh" and "head." If the symbol were flipped horizontally, then the pronunciation *would* be the "er" sound, as in "urge" and "heard." So it is perfectly correct to "berry" Jesus, as far as I can ascertain. There is an obsolete English noun,"bury," that comes from the Old English word "burh"; the OED definition is "manor house or large farm." So you could "bury" ("berry") Jesus on a "bury."
Subscribe to:
Posts (Atom)