<?xml version="1.0" encoding="utf-8"?>
		<feed xmlns="http://www.w3.org/2005/Atom">
		  <title type="text">SkillShare Forum - CSS Beauty - Modifying qTip script, having problems with CSS Object Model</title>
		  <updated>2013-05-23T09:37:56-04:00</updated>
		  <id>http://cssbeauty.com/skillshare/</id>
		  <link rel="alternate" type="text/html" hreflang="en" href="http://cssbeauty.com/skillshare/discussion/?DiscussionID=357"/>
		  <link rel="self" type="application/atom+xml" href="http://cssbeauty.com/skillshare/discussion/?DiscussionID=357&amp;Feed=Atom"/>
		  <generator uri="http://getvanilla.com/" version="1.1.9">
			 Lussumo Vanilla
		  </generator>
		  <entry>
		<title>Modifying qTip script, having problems with CSS Object Model</title>
		<link rel="alternate" href="http://cssbeauty.com/skillshare/discussion/357/?Focus=2417#Comment_2417" type="application/xhtml+xml" hreflang="en"/>
		<id>http://cssbeauty.com/skillshare/discussion/357/?Focus=2417#Comment_2417</id>
		<published>2006-03-01T19:07:58-05:00</published>
		<updated>2006-03-01T19:09:00-05:00</updated>
		<author>
			<name>joshcarr</name>
			<uri>http://cssbeauty.com/skillshare/account/679/</uri>
		</author>
		<summary type="text" xml:lang="en">
			I am editing the [qTip CSS Tool Tips](http://solardreamstudios.com/learn/css/qtip/) so that I can display the contents of a list item in the tool tips. The list looks like so:  
       
     City 1 ...
		</summary>
		<content type="html">
			<![CDATA[<p>I am editing the <a href="http://solardreamstudios.com/learn/css/qtip/">qTip CSS Tool Tips</a> so that I can display the contents of a list item in the tool tips. The list looks like so:</p>

<ul>  
     <li>City 1  
     <dl><dt>Center 1</dt><dd>Person 1</dd></dl>  
     </li>  
     <li>City 2  
     <dl><dt>Center 2a</dt><dd>Person 2a</dd><dt>Center 2b</dt><dd>Person 2b</dd></dl>  
     </li>  
     <li>City 3  
     <dl><dt>Center 3</dt><dd>Person 3</dd></dl>  
     </li>  
     </ul>

<p>My plan is that the definition lists will be hidden. When you hover over the text in the li then the Def List will show up as a tool tip. I've got it working, here is the js: <a href="http://www.joshcarr.com/experiments/qtip/centers.js">centers.js</a> and here is the html: <a href="http://www.joshcarr.com/experiments/qtip/index.html">index.html</a> . And everyhting looks fine in FireFox and IE6 and 7. The problem is in IE5. And I have narrowed it down to where I change the style of the cursor when it hovers over the li to be a pointer. With this line of code taken out:</p>

<pre><code> anchors[1].style.cursor = "pointer";
</code></pre>

<p>The script works in IE5. But then I don't have the desired "pointer" effect. When it stays in, the "pointer" style is there for FireFox and Ie6 and 7, but breaks in IE5. Does anybody have any ideas what I am doing wrong here? Why does IE5 not like this?</p>

<p>Thanks for any help,
Josh</p>
]]>
		</content>
	</entry>
	<entry>
		<title>Modifying qTip script, having problems with CSS Object Model</title>
		<link rel="alternate" href="http://cssbeauty.com/skillshare/discussion/357/?Focus=2421#Comment_2421" type="application/xhtml+xml" hreflang="en"/>
		<id>http://cssbeauty.com/skillshare/discussion/357/?Focus=2421#Comment_2421</id>
		<published>2006-03-01T21:11:18-05:00</published>
		<updated>2013-05-23T09:37:56-04:00</updated>
		<author>
			<name>JohnRiv</name>
			<uri>http://cssbeauty.com/skillshare/account/5/</uri>
		</author>
		<summary type="text" xml:lang="en">
			I don't have a copy of IE5 available to me right now, but it might be because you're missing &quot;document&quot;:
document.anchors[1].style.cursor = &quot;pointer&quot;;
If that's not it, set some ...
		</summary>
		<content type="html">
			<![CDATA[<p >I don't have a copy of IE5 available to me right now, but it might be because you're missing "document":<p ><br /><p ><code >&lt;strong&gt;document.&lt;/strong&gt;anchors[1].style.cursor = &quot;pointer&quot;;</code></p><br /><p >If that's not it, set some alerts to test if you're referencing the item correctly:</p><br /><p ><code >alert(document.anchors[1].style);</code></p><br /><p >should return "[object]". If it doesn't, than IE5 is not recongizing the anchor's style for some reason</p></p></p>]]>
		</content>
	</entry>
	
		</feed>