<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:rcb="http://www.brothercake.com/ns/rcb/">
	<channel>
		<title>Discussion for Invasion of the Body Switchers</title>
		<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/</link>
		<description>An efficient multi-media style sheet switcher</description>
		<language>en</language>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment1</link>
			<dc:creator>Cecil Ward</dc:creator>
			<dc:date>2006-03-03T17:07:28+00:00</dc:date>
			<description><![CDATA[ <p>A suggestion.</p><p>Software is often made more localisation-friendly by keeping human-language text strings well separated from the core software. When IOTBS is used with a multilingual website, it would be better to take all the English-language text right out of the .js files. This includes the text used to create the controls, the alternate stylesheet titles (which are human-readable), and so on.</p><p>Of course one way to do this would be to simply partition the javascript files, and move this text out into a number of separate alternative .js files, but this would be messy and would degrade performance because of the additional http requests.</p><p>A better way, and one compatible with the spirit of the &quot;integration&quot; IOTBs variant, might be for the js to optionally read the human readable text from some elements in the HTML of the particular page. In fact, reading the text of alternate stylesheet titles from the js would be a very good thing, getting rid of the redundancy of  defining this in the .js too.</p><p>What do you think?</p><p>Cecil Ward.</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment2</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-03-03T19:22:02+00:00</dc:date>
			<description><![CDATA[ <p>Yeah I agree, you&#039;re quite right.  What I&#039;ve done with other scripts (like Docking Boxes) is to define language as part of the object constructors, passing a sentence like &quot;Select stylesheet %name&quot; where the %name token is replaced by its actual value, and then the appropriate grammar can be acheived by moving the token around with the defined sentence.</p><p>I&#039;ll look into it, and if it proves feasible (which I think it probably will) look at an update to add this functionality.</p><p>Thanks for the tip :^)</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment3</link>
			<dc:creator>Rachel</dc:creator>
			<dc:date>2006-03-04T20:55:12+00:00</dc:date>
			<description><![CDATA[ <p>Hi, i am getting this error on all of my pages...</p><p>Line: 175
<br />Char: 2
<br />Error: &#039;document.getElementById(...)&#039; is null or not an object
<br />Code: 0</p><p>Line 175 points to the following code, what could be wrong with it do you think? (its the original, ive not edited anything)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;//outer form
<br />&nbsp;&nbsp;&nbsp;&nbsp;this.attrs = { &#039;action&#039; : &#039;&#039; };
<br />&nbsp;&nbsp;&nbsp;&nbsp;this.form = this.createElement(&#039;form&#039;, this.attrs);
<br />&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(divid).appendChild(this.form);</p><p>Thanks in advance for helping!</p><p>xxx</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment4</link>
			<dc:creator>anon</dc:creator>
			<dc:date>2006-03-05T11:53:58+00:00</dc:date>
			<description><![CDATA[ <p><q>i am getting this error on all of my pages...</q></p><p>Okay, well it&#039;s looking for the container element defined by the first argument in the new bodySwitcher constructor:</p><p><code>new bodySwitcher(&#039;screen-switcher&#039;, &#039;Screen styles&#039;, &#039;no&#039;, &#039;&#039;);</code></p><p>In that example, it would a div or other element with the ID &quot;screen-switcher&quot;.  So does the element defined in your case actually exist?</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment5</link>
			<dc:creator>Rachel</dc:creator>
			<dc:date>2006-03-05T22:48:18+00:00</dc:date>
			<description><![CDATA[ <p>Thanks for the reply!</p><p>Yes, i am using (once)...</p><p>&lt;td id=&quot;screen-switcher&quot;&gt;&lt;/td&gt;</p><p>The error appears here (the switcher is on all pages)...</p><p>oaserv.co.uk</p><p>Ive double checked the code and it all appears fine.</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment6</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-03-06T14:21:59+00:00</dc:date>
			<description><![CDATA[ <p>Yeah that&#039;s there, but the second call to &quot;print-switcher&quot; is not there, and that&#039;s where the error&#039;s coming from.</p><p>Do you have a print switcher? If you&#039;re just using a single switcher you can just take it out.</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment7</link>
			<dc:creator>Rachel</dc:creator>
			<dc:date>2006-03-07T01:51:38+00:00</dc:date>
			<description><![CDATA[ <p>That worked, thanks :)</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment8</link>
			<dc:creator>jon</dc:creator>
			<dc:date>2006-03-08T12:44:27+00:00</dc:date>
			<description><![CDATA[ <p>Hi
<br />I&#039;d just like to say, what a cool script.</p><p>But (there&#039;s always a but) I&#039;m having problems in opera 8.53 (the only opera version I&#039;ve tested)
<br />I first noticed when using print options the background of whatever current screen option is being inherited, !important doesn&#039;t help. I thought this might be my coding but when i tested your examples on this site the same thing is happening, and sometimes it doesn&#039;t load/display the switching options at all.
<br />It completely crashed on my site so no switching options where available.</p><p>Thanks for any help
<br />Jon</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment9</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-03-17T21:46:26+00:00</dc:date>
			<description><![CDATA[ <p>I&#039;ve never seen that happening - do you have a demo online that you can show us, that illustrates this problem as it happens?</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment10</link>
			<dc:creator>jon</dc:creator>
			<dc:date>2006-03-20T10:21:12+00:00</dc:date>
			<description><![CDATA[ <p>Developing offline at the moment, but it still happens on this site, I just checked all interfaces &amp; modes (high vis) with op8.53 (newly downloaded).  It&#039;s printing a black page.
<br />Running on xp pro service pack2 if it helps.</p><p>Thought it might be Nortons pop up blocker interfering but it looks fine onscreen &amp; still having the same probs offline.</p><p>Thanks
<br />Jon</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Subdomain cookies</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment11</link>
			<dc:creator>Gemma</dc:creator>
			<dc:date>2006-05-04T19:12:44+00:00</dc:date>
			<description><![CDATA[ <p>I would like this to work accross subdomains, is this even possible?</p><p>Currently the cookie stores as www.mysite.com, id like it to store as just mysite.com</p><p>Any geniuses around to get that working?!?!</p><p>Thanks for any help with this!</p><p>XXX</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment12</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-05-08T17:29:37+00:00</dc:date>
			<description><![CDATA[ <p>As far as I know that&#039;s not possible. A cookie is only valid within a single domain, and a sub-domain is a different domain in those terms, so unless you manually send that information from one domain to another, you would not be able to access it.</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment13</link>
			<dc:creator>Gemma</dc:creator>
			<dc:date>2006-05-09T17:51:45+00:00</dc:date>
			<description><![CDATA[ <p>Hi, thanks for the reply!</p><p>Not great news :-(</p><p>Do you have any idea how i could manually send the information accross two sub-domains, perhaps use php to check for an existing cookie and then set another?</p><p>If so, do you have an example of what it might take to work.</p><p>Thanks once again for the reply, really appreciate your help!</p><p>xxx</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment14</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-05-12T08:38:44+00:00</dc:date>
			<description><![CDATA[ <p>Well even when it comes to PHP, or AJAX, you still have domain-specific security restrictions in place that prevent the manipulation of data across domains.</p><p>What you could look at is JSON, which does allow cross-domain scripting I believe via some detail of its implementation (that&#039;s as much as I know - info at http://www.json.org/js.html)</p><p>But it&#039;s not simple by any means!  I would suggest you might be better off re-assesing your original situation - if you want to unify accesses through http://www.domain.com/ and http://domain.com it would be easier just to setup a redirection on the server (or maybe use mod_rewrite) to silently redirect both addresses to one - whichever you prefer.</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment15</link>
			<dc:creator>Maurizio</dc:creator>
			<dc:date>2006-06-16T23:17:12+00:00</dc:date>
			<description><![CDATA[ <p>I have a problem using directors cut in standard mode. If I put the default option by second (and not by first, as in the examples), everything is working fine until I reload the page. At that point the selected attribute is messed up. Just try to have, say, 3 opts: big text, normal text, small text (in that order) and default = normal text.</p><p>Then use the options and reload the page when selected is big or small, and tell me if it is correct. Thank you!</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment16</link>
			<dc:creator>Alex</dc:creator>
			<dc:date>2006-06-27T14:51:16+00:00</dc:date>
			<description><![CDATA[ <p>Hi
<br />Hope someone can help - the code works fine in all guises until I try adding more linked html pages in sub folders which reference the scripts and css like this, eg:</p><p>&lt;style type=&quot;text/css&quot; media=&quot;screen, projection&quot;&gt;@import url(../etc.css);&lt;/style&gt;
<br />&lt;script type=&quot;text/javascript&quot; src=&quot;../iotbs2-key-directors-load.js&quot;&gt;&lt;/script&gt;
<br />&lt;script type=&quot;text/javascript&quot; src=&quot;../iotbs2-directors.js&quot;&gt;&lt;/script&gt;
<br />&lt;script type=&quot;text/javascript&quot; src=&quot;../iotbs2-core.js&quot;&gt;&lt;/script&gt;
<br />&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; id=&quot;screen-switcher-stylesheet&quot; href=&quot;../stylesheets/screen-switcher-default.css&quot; media=&quot;screen&quot; /&gt;</p><p>etc etc.</p><p>If I try the switcher on any of these pages I get a Javascript error &#039;The system cannot locate the resource specified&#039;.
<br />Do I need to change something in the scripts themselves?
<br />Cheers, thanks in anticipation!</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment17</link>
			<dc:creator>brothercake</dc:creator>
			<dc:date>2006-07-11T15:34:11+00:00</dc:date>
			<description><![CDATA[ <p><strong>@Alex</strong> Which browser is the problem in? Do you have a demo online?</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment18</link>
			<dc:creator>Alex</dc:creator>
			<dc:date>2006-07-24T15:01:09+00:00</dc:date>
			<description><![CDATA[ <p>Hi
<br />Thanks for the reply.  I&#039;ve sorted it now; I wasn&#039;t changing the &quot;var switcher = new switchManager(&#039;body&#039;, &#039;stylesheets/&#039;);&quot; line to change the path.  Works fine now.
<br />Cheers</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title>RE: Invasion of the Body Switchers</title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment19</link>
			<dc:creator>Maurizio</dc:creator>
			<dc:date>2006-08-04T00:27:53+00:00</dc:date>
			<description><![CDATA[ <p>No hints for my problem? Maybe I was unable to speak myself.</p><p>The problem is that the default css MUST be the first to work properly. This is a limitation.</p><p>There is any way to put the default css as the second or the third in the list? (I used the director&#039;s cut and standard mode)</p><p>Bye</p> ]]></description>
		</item>

		<item rcb:parse="yes">
			<title><![CDATA[RE: Invasion of the Body Switchers]]></title>
			<link>http://www.brothercake.com/discuss/resources/scripts/iotbs/#comment20</link>
			<dc:creator><![CDATA[brothercake]]></dc:creator>
			<dc:date>2006-08-16T19:27:04+00:00</dc:date>
			<description><![CDATA[ <p><strong>@Maurizo</strong> Oh I see what you mean, well yes at the moment that is a limitation; I had a go at a quick hack to fix that, but it&#039;s not gonna be that simple unfortunately!</p><p>I&#039;ll look into that again, and schedule it for the next version update.</p> ]]></description>
		</item>

		
	</channel>

</rss>