Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Starter problem
8th July, 23:21
Post: #1
[Solved] Starter problem
Hi guys,

I try to create some simple tooltips on list elements, but I can't get it work. Here's the code:
HTML Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
    <ul class="subindex">
		<li class="active">a</li>
        <li class="active">b</li>
		<li class="active">c</li>
        <li class="active">d</li>
    </ul>
</div>
</div>
 
<script type="text/javascript" src="jquery.1.3.2.min.js"></script>
<script type="text/javascript" src="jquery.qtip-1.0.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
	$('li').qtip({
	   content: 'This is an active list element',
	   show: 'mouseover',
	   hide: 'mouseout'
	});
 
});
</script>
</div>
<!--Footer JavaScript-->
 
</body>
</html>


Can someone please tell me what I'm doing wrong?

Thanks in advance,

enne
Find all posts by this user
Quote this message in a reply
12th July, 17:29
Post: #2
RE: Starter problem
Make sure the file includes are pointing to the files correctly. Otherwise the code looks fine, but I can't help if you don't post any errors you get Smile

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Ajax imagemap data problem carelmeyer 0 941 1st May 17:39
Last Post: carelmeyer
  [Solved] Problem with my map area installation timtimd 1 244 14th March 17:34
Last Post: Craig
  Hiding tooltip problem sohailanwarpk 2 403 31st January 12:13
Last Post: sohailanwarpk
  [Solved] Anti Virus flags up a problem OllyPercival 9 2,490 21st November 21:45
Last Post: Col
  [Solved] Problem with Fixed Position div and scrolling homerlex 7 1,467 26th October 19:35
Last Post: Craig
  [Solved] web thumbnail demo problem IanFromBarrie 1 767 27th June 15:12
Last Post: Craig
  [Solved] code works in FF but not IE/ Opacity problem ictman1105 3 1,146 20th June 17:20
Last Post: Craig
  [Solved] z-index problem RickardL 3 1,384 31st March 19:48
Last Post: kiddailey
  Simpel problem with qtip SnowJim 4 1,046 22nd February 20:08
Last Post: SnowJim
  [Solved] IE7: Expected identifier, string or number-problem bungo 2 2,225 21st February 11:18
Last Post: bungo



User(s) browsing this thread: 1 Guest(s)