<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.shayna.com,2009:/</id>
	<title type="text">Shayna Productions - Sandy Clark</title>
	<link rel="self" href="http://www.shayna.com/feeds/atom.xml" />
	<author>
		<name>Sandra Clark</name>
	</author>
	<updated>2009-04-22T09:00:01Z</updated>
	
			<entry>
				<id>urn:uuid:179</id>
				<title type="html"><![CDATA[CSS Back to Basics Class]]></title>
				<updated>2007-06-28T11:30:00Z</updated>
				<link rel="alternate" type="text/html" href="http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&amp;id=179"></link>
				
					<summary type="html"><![CDATA[<p>Well, I think my CSS presentation here at CFUNITED went well. My computer went totally nuts at the beginning, and I had to go without it for about 1/3 of the time, but I was able to get the information out.  Thanks to everyone at the session for their patience with my situation.</p>

<p>I didn't get to my special treat, which is popup Windows using a Class.  I've got the zip file up at: <a href="docs/popupwindows.zip">docs/popupwindows.zip</a> for your downloading pleasure.  The basic premise is that in an xHTML 1.0 strict environment, the target attribute is obsoleted. So there is no way to simply have a link open in a new window.  I actually blogged about this in <a href="http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&id=153">September, 2006</a>, and have been working on the solution since then.  The solution uses JavaScript and CSS together to create both the functionality of the popup window as well as add an image to the page to indicate that the link opens in a new window.  It also degrades gracefully without JavaScript and simply opens in the current window.</p>

<p>I've also made my <a href="docs/CSSBackToBasics.zip">presentation and sample files</a> available for download.  Enjoy!</p>]]></summary>
					
				<content type="html"><![CDATA[<p>Well, I think my CSS presentation here at CFUNITED went well. My computer went totally nuts at the beginning, and I had to go without it for about 1/3 of the time, but I was able to get the information out.  Thanks to everyone at the session for their patience with my situation.</p>

<p>I didn't get to my special treat, which is popup Windows using a Class.  I've got the zip file up at: <a href="docs/popupwindows.zip">docs/popupwindows.zip</a> for your downloading pleasure.  The basic premise is that in an xHTML 1.0 strict environment, the target attribute is obsoleted. So there is no way to simply have a link open in a new window.  I actually blogged about this in <a href="http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&id=153">September, 2006</a>, and have been working on the solution since then.  The solution uses JavaScript and CSS together to create both the functionality of the popup window as well as add an image to the page to indicate that the link opens in a new window.  It also degrades gracefully without JavaScript and simply opens in the current window.</p>

<p>I've also made my <a href="docs/CSSBackToBasics.zip">presentation and sample files</a> available for download.  Enjoy!</p>]]></content>
				
					<category term="Accessibility"></category>
				
					<category term="CSS"></category>
				
					<category term="JavaScript"></category>
				
			</entry>
			
			<entry>
				<id>urn:uuid:176</id>
				<title type="html"><![CDATA[Simulating Attributes Selectors in IE6]]></title>
				<updated>2007-03-30T08:30:00Z</updated>
				<link rel="alternate" type="text/html" href="http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&amp;id=176"></link>
				
					<summary type="html"><![CDATA[
<p>Especially now that IE7 supports attribute selectors, using classes in my HTML to reflect those items has become a real bummer.
I really like the idea of not requiring people maintaining HTML to worry about classes.  I think it makes for cleaner markup and for easier training.
So, while I'm not a JavaScript maven by any means, I decided to play around with this and actually made it work.</p>

<h3>What is an Attribute Selector Anyway?</h3>
<p>An attribute selector is a CSS selector which says basically, "use these style rules if the value of an attribute is equal to something specific".  I tend to use attribute selectors mainly with forms, so my sample function deals exclusively with the input element.  It can however be extended to anything you want. So, if I want to target my CSS to only text inputs, or only select buttons, or only checkboxes.  I can use an attribute selector instead of a class.</p>]]></summary>
					
				<content type="html"><![CDATA[
<p>Especially now that IE7 supports attribute selectors, using classes in my HTML to reflect those items has become a real bummer.
I really like the idea of not requiring people maintaining HTML to worry about classes.  I think it makes for cleaner markup and for easier training.
So, while I'm not a JavaScript maven by any means, I decided to play around with this and actually made it work.</p>

<h3>What is an Attribute Selector Anyway?</h3>
<p>An attribute selector is a CSS selector which says basically, "use these style rules if the value of an attribute is equal to something specific".  I tend to use attribute selectors mainly with forms, so my sample function deals exclusively with the input element.  It can however be extended to anything you want. So, if I want to target my CSS to only text inputs, or only select buttons, or only checkboxes.  I can use an attribute selector instead of a class.</p>]]></content>
				
					<category term="Accessibility"></category>
				
					<category term="CSS"></category>
				
					<category term="JavaScript"></category>
				
			</entry>
			
</feed>
