<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Words</title>
	<atom:link href="http://pjmedia.com/rogerlsimon/2005/11/18/words/feed/" rel="self" type="application/rss+xml" />
	<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/</link>
	<description>The blog of the mystery writer, screenwriter and CEO of Pajamas Media</description>
	<lastBuildDate>Wed, 15 Feb 2012 15:40:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Godzilla</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69370</link>
		<dc:creator>Godzilla</dc:creator>
		<pubDate>Sun, 20 Nov 2005 18:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69370</guid>
		<description>Roger, making the list box on the OSM site compatible with both netscape and IE wasn&#039;t that big of a deal after all. Here&#039;s the fix:



&lt;a href=&quot;http://home.wavecable.com/~spiritualfields/SelectPage.htm&quot; rel=&quot;nofollow&quot;&gt;The Fix&lt;/a&gt;



The selectBlog() function checks to see if the browser is IE, and if it is, it resets the SELECT object&#039;s VALUE property to &quot;none&quot;. Now, when the user comes back to the OSM site, the list box will be in its initial state. The box will still have the focus, so the user must click out of the box, but they won&#039;t be sent to another page if they operate the mousewheel, and THAT was what the problem was.



If the browser is Netscape, then the selectBlog() function only sends the user to the selected page. There was never a problem with netscape as far as the list box went.



Since the posts on this are spread out, here&#039;s a short recap of the changes to the code:



1) remove the ONCHANGE from the SELECT object and added an ONCLICK function that calls the selectBlog() function.



2) change SCRIPT type to &quot;text/javascript&quot; because the selectBlog() function is working with text.



3) added the selectBlog() function, enclosed within SCRIPT tags in the HEAD section.





This change will make using the list box with IE much more user-friendly.
</description>
		<content:encoded><![CDATA[<p>Roger, making the list box on the OSM site compatible with both netscape and IE wasn&#8217;t that big of a deal after all. Here&#8217;s the fix:</p>
<p><a href="http://home.wavecable.com/~spiritualfields/SelectPage.htm" rel="nofollow">The Fix</a></p>
<p>The selectBlog() function checks to see if the browser is IE, and if it is, it resets the SELECT object&#8217;s VALUE property to &#8220;none&#8221;. Now, when the user comes back to the OSM site, the list box will be in its initial state. The box will still have the focus, so the user must click out of the box, but they won&#8217;t be sent to another page if they operate the mousewheel, and THAT was what the problem was.</p>
<p>If the browser is Netscape, then the selectBlog() function only sends the user to the selected page. There was never a problem with netscape as far as the list box went.</p>
<p>Since the posts on this are spread out, here&#8217;s a short recap of the changes to the code:</p>
<p>1) remove the ONCHANGE from the SELECT object and added an ONCLICK function that calls the selectBlog() function.</p>
<p>2) change SCRIPT type to &#8220;text/javascript&#8221; because the selectBlog() function is working with text.</p>
<p>3) added the selectBlog() function, enclosed within SCRIPT tags in the HEAD section.</p>
<p>This change will make using the list box with IE much more user-friendly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Godzilla</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69369</link>
		<dc:creator>Godzilla</dc:creator>
		<pubDate>Sat, 19 Nov 2005 23:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69369</guid>
		<description>Roger, scratch my last post. In fixing one problem, I created another. If, instead of leaving the list box, you actually wanted to use it again, you would have to click on it to drop down the list, which is a CLICK that will turn on ONCLICK and send the user back to the same page they&#039;d just come back from. So my fix was great for someone leaving the box, but an extreme aggravation for anyone wanting to use the list again (they would have click out of the box and then go back to it). What is needed is a way to accomodate both actions without any due inconveniences.





I&#039;ve come up with a fix for IE to fix this, but it results in a problem with Netscape Navigator.



Oh well. The fix here will involve browser incompatibility issues, and the code is not trivial, and I would be delving too deeply into the site&#039;s mechanization to come up with the code. Sorry about this. Charles knows what he&#039;s doing though, and he can code around the problem. Just make sure that he knows there is a problem with that list when using IE.




</description>
		<content:encoded><![CDATA[<p>Roger, scratch my last post. In fixing one problem, I created another. If, instead of leaving the list box, you actually wanted to use it again, you would have to click on it to drop down the list, which is a CLICK that will turn on ONCLICK and send the user back to the same page they&#8217;d just come back from. So my fix was great for someone leaving the box, but an extreme aggravation for anyone wanting to use the list again (they would have click out of the box and then go back to it). What is needed is a way to accomodate both actions without any due inconveniences.</p>
<p>I&#8217;ve come up with a fix for IE to fix this, but it results in a problem with Netscape Navigator.</p>
<p>Oh well. The fix here will involve browser incompatibility issues, and the code is not trivial, and I would be delving too deeply into the site&#8217;s mechanization to come up with the code. Sorry about this. Charles knows what he&#8217;s doing though, and he can code around the problem. Just make sure that he knows there is a problem with that list when using IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Godzilla</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69368</link>
		<dc:creator>Godzilla</dc:creator>
		<pubDate>Sat, 19 Nov 2005 23:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69368</guid>
		<description>Roger, THERE IS A BUG IN THE OSM SITE. That was just to get your attention. This is the problem:



In Internet Explorer, when the user comes back to the OSM site after clicking to one of the 25 main contributers in the drop down list box, the list box item still has the focus. If the user attempts to scroll down the OSM page using the mousewheel (as would be typical), they will instead be whisked to another page in the list. This is unsatisfactory. This does not happen in Netscape Navigator, but most of the world uses IE.



To duplicate the problem (and assuming that you have IE on a Windows PC), click to one of the 25 contributers in the list, than go back to the OSM site and operate the mousewheel. You&#039;ll find that you go to another site on the list.



Here is the fix:



&lt;a href=&quot;http://home.wavecable.com/~spiritualfields/SelectPage.htm&quot; rel=&quot;nofollow&quot;&gt;OSM List Box&lt;/a&gt;



In the code, I only change three things:



1) removed the ONCHANGE attribute of the SELECT tag and added an ONCLICK attribute, which calls a function selectBlog(this.value). The value sent to the selectBlog function has blog url that was clicked by the user operating the list box. The problem with ONCHANGE is that when the list has the focus, just using the mousewheel causes ONCHANGE to kick in, sending the user to a page, which is unsatisfactory, as noted for the reason above.



2) in the selectBlog(blog) function I added error checking code to make sure that the function does nothing if &quot;none&quot; or &quot;&quot; is the value sent to it, which are the values assigned to the first two list items in the SELECT object.



3) in the SCRIPT tag, I change the type to &quot;text/javascript&quot;. This is important because the selectBlog function is working on text.



In the fix, you&#039;ll notice that, when you come back to the list (after navigating to a page by clicking on one of the items), and then operate the mousewheel, that you will now no longer get sent to a web page. There is still the annoyance of scrolling with the mousewheel and not going anywhere (because the list still as the focus), but clicking to get out of the box is preferable to getting whisked to another page AND THEN figuring out what they have to do (click out of the box).



The normal expectation for a mousewheel movment is scrolling down a page, but a mousewheel will also scroll down a list in a list box, which is why using the ONCHANGE attribute is a bad idea in the case of your list box. ONCLICK is much better.


</description>
		<content:encoded><![CDATA[<p>Roger, THERE IS A BUG IN THE OSM SITE. That was just to get your attention. This is the problem:</p>
<p>In Internet Explorer, when the user comes back to the OSM site after clicking to one of the 25 main contributers in the drop down list box, the list box item still has the focus. If the user attempts to scroll down the OSM page using the mousewheel (as would be typical), they will instead be whisked to another page in the list. This is unsatisfactory. This does not happen in Netscape Navigator, but most of the world uses IE.</p>
<p>To duplicate the problem (and assuming that you have IE on a Windows PC), click to one of the 25 contributers in the list, than go back to the OSM site and operate the mousewheel. You&#8217;ll find that you go to another site on the list.</p>
<p>Here is the fix:</p>
<p><a href="http://home.wavecable.com/~spiritualfields/SelectPage.htm" rel="nofollow">OSM List Box</a></p>
<p>In the code, I only change three things:</p>
<p>1) removed the ONCHANGE attribute of the SELECT tag and added an ONCLICK attribute, which calls a function selectBlog(this.value). The value sent to the selectBlog function has blog url that was clicked by the user operating the list box. The problem with ONCHANGE is that when the list has the focus, just using the mousewheel causes ONCHANGE to kick in, sending the user to a page, which is unsatisfactory, as noted for the reason above.</p>
<p>2) in the selectBlog(blog) function I added error checking code to make sure that the function does nothing if &#8220;none&#8221; or &#8220;&#8221; is the value sent to it, which are the values assigned to the first two list items in the SELECT object.</p>
<p>3) in the SCRIPT tag, I change the type to &#8220;text/javascript&#8221;. This is important because the selectBlog function is working on text.</p>
<p>In the fix, you&#8217;ll notice that, when you come back to the list (after navigating to a page by clicking on one of the items), and then operate the mousewheel, that you will now no longer get sent to a web page. There is still the annoyance of scrolling with the mousewheel and not going anywhere (because the list still as the focus), but clicking to get out of the box is preferable to getting whisked to another page AND THEN figuring out what they have to do (click out of the box).</p>
<p>The normal expectation for a mousewheel movment is scrolling down a page, but a mousewheel will also scroll down a list in a list box, which is why using the ONCHANGE attribute is a bad idea in the case of your list box. ONCLICK is much better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Godzilla</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69367</link>
		<dc:creator>Godzilla</dc:creator>
		<pubDate>Sat, 19 Nov 2005 19:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69367</guid>
		<description>Beth, sure you can use that code, if you want. The code (specifically the selectBlog function) will work with any blog. In your case you would just want to change the name of the blog array to something like BethBlogArray, or you could save on typing by calling it (and the other variables) something more cryptic and shorter. If you look at the code, you&#039;ll see that when the button is clicked, the function selectBlog is called, and at that point the code takes over and does the job. That part only needs the relevant blogs for your site. Also, when you create the array, say you have 20 blogs you want to include in the spin, then you would substitute 20 for 5. The first element in an array has the index 0. In the switch function, you would have 20 case statements, case 0 to case 19. If it doesn&#039;t work, you&#039;ve made a typing error somewhere (this is common).



I suggest that first you get a bare bones blog spin working on a test web page, as per my example. Put the function in the html HEAD section like I did, and don&#039;t forget to enclose it within the SCRIPT tags (but use lower case). Put the button within the BODY tags. Once you&#039;ve got it working on your test page, consider the graphics that will accompany the button. I would suggest an image, either one you jin up or one that you get off the internet or from a software package like Art Explosion. Put this catchy image on the your test page, (I&#039;d probably use Microsoft PhotoDraw to make a jpg that combines text and a graphic). Under that image put the button. Now you have a pleasing image and the selection button, and you can go live with it. Insert the code into your blog. For an off-line project, to be done at a leisurely pace, search the internet for a cooler looking button (they are available), or make your own up, and then use THAT button to select the selectBlog function. If you&#039;re familiar with HTML, then you should be off and running on your own with this. If you&#039;re not familiar with HTML (nothing to be ashamed about...in fact hating HTML is a personality plus...and I wouldn&#039;t wish Javascript on my worst enemy), then I&#039;ll provide specific help if you&#039;d like.
</description>
		<content:encoded><![CDATA[<p>Beth, sure you can use that code, if you want. The code (specifically the selectBlog function) will work with any blog. In your case you would just want to change the name of the blog array to something like BethBlogArray, or you could save on typing by calling it (and the other variables) something more cryptic and shorter. If you look at the code, you&#8217;ll see that when the button is clicked, the function selectBlog is called, and at that point the code takes over and does the job. That part only needs the relevant blogs for your site. Also, when you create the array, say you have 20 blogs you want to include in the spin, then you would substitute 20 for 5. The first element in an array has the index 0. In the switch function, you would have 20 case statements, case 0 to case 19. If it doesn&#8217;t work, you&#8217;ve made a typing error somewhere (this is common).</p>
<p>I suggest that first you get a bare bones blog spin working on a test web page, as per my example. Put the function in the html HEAD section like I did, and don&#8217;t forget to enclose it within the SCRIPT tags (but use lower case). Put the button within the BODY tags. Once you&#8217;ve got it working on your test page, consider the graphics that will accompany the button. I would suggest an image, either one you jin up or one that you get off the internet or from a software package like Art Explosion. Put this catchy image on the your test page, (I&#8217;d probably use Microsoft PhotoDraw to make a jpg that combines text and a graphic). Under that image put the button. Now you have a pleasing image and the selection button, and you can go live with it. Insert the code into your blog. For an off-line project, to be done at a leisurely pace, search the internet for a cooler looking button (they are available), or make your own up, and then use THAT button to select the selectBlog function. If you&#8217;re familiar with HTML, then you should be off and running on your own with this. If you&#8217;re not familiar with HTML (nothing to be ashamed about&#8230;in fact hating HTML is a personality plus&#8230;and I wouldn&#8217;t wish Javascript on my worst enemy), then I&#8217;ll provide specific help if you&#8217;d like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beth</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69366</link>
		<dc:creator>Beth</dc:creator>
		<pubDate>Sat, 19 Nov 2005 17:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69366</guid>
		<description>Hey Godzilla,



Can I use that code for a Blogspin at my own (non-OSM) site?  I love that idea!  (Although I dread inputting all the URLs I&#039;d use!)





Roger,



Serious question.  The big issue (most of) the critics have SEEMS to be that nobody &quot;gets&quot; it (admittedly, myself included, although I&#039;m not taking a position as a critic nor a &quot;cheerleader&quot; at this early stage).



Are you Gawker Media/Nick Denton?  Tech Central Station?  I know you&#039;re not trying to duplicate someone else&#039;s business model, but telling us in plain language with some basic models with which to compare (i.e. Denton&#039;s) about what we should expect to see would be helpful and would certainly garner more support.




</description>
		<content:encoded><![CDATA[<p>Hey Godzilla,</p>
<p>Can I use that code for a Blogspin at my own (non-OSM) site?  I love that idea!  (Although I dread inputting all the URLs I&#8217;d use!)</p>
<p>Roger,</p>
<p>Serious question.  The big issue (most of) the critics have SEEMS to be that nobody &#8220;gets&#8221; it (admittedly, myself included, although I&#8217;m not taking a position as a critic nor a &#8220;cheerleader&#8221; at this early stage).</p>
<p>Are you Gawker Media/Nick Denton?  Tech Central Station?  I know you&#8217;re not trying to duplicate someone else&#8217;s business model, but telling us in plain language with some basic models with which to compare (i.e. Denton&#8217;s) about what we should expect to see would be helpful and would certainly garner more support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Dauphin</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69365</link>
		<dc:creator>Barry Dauphin</dc:creator>
		<pubDate>Sat, 19 Nov 2005 15:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69365</guid>
		<description>Regarding internet use for younger kids (albeit precocious), having a library of CD ROMs might work in the meantime, as you &amp; Sheryl will have control over content but she could have a kind of virtual internet expereince.
</description>
		<content:encoded><![CDATA[<p>Regarding internet use for younger kids (albeit precocious), having a library of CD ROMs might work in the meantime, as you &amp; Sheryl will have control over content but she could have a kind of virtual internet expereince.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buddy Larsen</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69364</link>
		<dc:creator>Buddy Larsen</dc:creator>
		<pubDate>Sat, 19 Nov 2005 13:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69364</guid>
		<description>Rick, re your use of the phrase &quot;The dogs bark and the caravan moves on&quot;--you did, I hope, get permission from the estate of Omar Khayyam (1048-1131)? If not, then you&#039;re an evil, blood-engorged tic upon the scrotum of a pig, I&#039;m afraid.




</description>
		<content:encoded><![CDATA[<p>Rick, re your use of the phrase &#8220;The dogs bark and the caravan moves on&#8221;&#8211;you did, I hope, get permission from the estate of Omar Khayyam (1048-1131)? If not, then you&#8217;re an evil, blood-engorged tic upon the scrotum of a pig, I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie (Colorado)</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69363</link>
		<dc:creator>Charlie (Colorado)</dc:creator>
		<pubDate>Sat, 19 Nov 2005 04:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69363</guid>
		<description>Sorry, Godzilla, I just thought your idea was kind of neat and coined the &quot;wheel of fortune&quot; thing in my own fevered mind.  I still think it&#039;s neat.
</description>
		<content:encoded><![CDATA[<p>Sorry, Godzilla, I just thought your idea was kind of neat and coined the &#8220;wheel of fortune&#8221; thing in my own fevered mind.  I still think it&#8217;s neat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie (Colorado)</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69362</link>
		<dc:creator>Charlie (Colorado)</dc:creator>
		<pubDate>Sat, 19 Nov 2005 04:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69362</guid>
		<description>&lt;i&gt;Charlie, think of it literary license to make a point. The discussion wasn&#039;t about menopause and hormone replacement therapy, so what was it doing on a string about OSMtm? hmm?&lt;/i&gt;



Gee, tefta, think of it as literary license to make a point.
</description>
		<content:encoded><![CDATA[<p><i>Charlie, think of it literary license to make a point. The discussion wasn&#8217;t about menopause and hormone replacement therapy, so what was it doing on a string about OSMtm? hmm?</i></p>
<p>Gee, tefta, think of it as literary license to make a point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Dauphin</title>
		<link>http://pjmedia.com/rogerlsimon/2005/11/18/words/#comment-69361</link>
		<dc:creator>Barry Dauphin</dc:creator>
		<pubDate>Sat, 19 Nov 2005 03:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://pajamasmedia.com/rogerlsimon/2005/11/18/words/#comment-69361</guid>
		<description>I wish you well on the venture, Roger. The more competition in the media business the better for the public. Given the interest you have shown in wanting people to articulate their biases rather them cover them up and pretending to be &quot;objective&quot;, some days are gonna be rougher than others. I&#039;d second Jamie&#039;s earlier post that ordinary, polite behavior can go a long way. Sometimes, however, its value is only revealed in the long run, not the short run.
</description>
		<content:encoded><![CDATA[<p>I wish you well on the venture, Roger. The more competition in the media business the better for the public. Given the interest you have shown in wanting people to articulate their biases rather them cover them up and pretending to be &#8220;objective&#8221;, some days are gonna be rougher than others. I&#8217;d second Jamie&#8217;s earlier post that ordinary, polite behavior can go a long way. Sometimes, however, its value is only revealed in the long run, not the short run.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

