It looks like you're missing a closing bracket. Try this instead:

<script type="text/javascript">

$(document).ready(function() {
  $('a.tekst').cluetip({
    sticky: true,
    closePosition: 'title'
  });
});

</script>


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jan 20, 2009, at 4:46 PM, moof moof wrote:

See: www.moof.be/nieuw/intro2.html

I try to use cluetip with a class description on 3 links. But I seem to have done something wrong.... Changed it to a class but nop not working. Only "22222222" with a "id=sticky" seems to work.
I still messed up something ...

This is the code with a=class


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
<meta http-equiv="content-type" content="text/ html;charset=utf-8">
        <title>Moof'ing grafisch ontwerp</title>
<meta name="keywords" content="grafisch ontwerpbureau, grafische vormgeving, logo-ontwerp, realisatie, ontwerp website, corporate identity, ontwerp logo, ontwerp huisstijl, huisstijlen, huisstijl klanten, grafische vormgeving, grafisch, reclame, reklame, grafisch ontwerp, reklame, steenland, rekkem, kortrijk, 8930, 46, ontwerper, design, trouwkaart, affiches, geboortekaart, uitnodiging, drukwerk, jurgen, desaever, freelance, zelfstandig, brochure, folder, affiche"> <META NAME="Description" CONTENT="Moof is een jong dynamisch grafisch ontwerpbureau. Sterk, duidelijk, to-the-point én ook op freelance-basis">
<script src="jquery-1.2.5.min.js" type="text/javascript"></script>
  <script src="jquery.hoverIntent.js" type="text/javascript"></script>
  <script src="jquery.cluetip.js" type="text/javascript"></script>
  <script src="demo.js" type="text/javascript"></script>



  <script type="text/javascript">
$(document).ready(function() {
  $('a.tekst').cluetip({sticky: true, closePosition: 'title'}););

</script>
  <link rel="stylesheet" href="jquery.cluetip.css" type="text/css" />
<link rel="stylesheet" href="demo.css" type="text/css" /></head></ head>
  <link rel="stylesheet" href="intro.css" type="text/css">
<body>
  <div id="container">
<div id="logo"><img src="moof.png"></div>

<div id="menu">
<div class="tekst">
<ul>
   <li><a class="tekst" href="ajax6.htm" rel="ajax6.htm">1111111</a></
li>
<li><a class="tekst" id="sticky" href="ajax6.htm" rel="ajax6.htm">2222222</a></li> <li><a class="tekst" href="ajax6.htm" rel="ajax6.htm">3333333</a></ li>

   </ul></div>

</div>
</body>
</html>

Reply via email to