[jQuery] Newbie clueTip Plugin style removal

2009-02-27 Thread alanfluff

Hi cleverer people than me...

Please can someone point me in the right direction to use this
brilliant plugin but have it add no stlye so I can add style to an
unstyled chunk of markup?

I'm calling the plugin with

$('.linkToFaq a').cluetip({splitTitle: '|', width: '100px',
cluetipClass: 'fdFaq', sticky: 'true'});

and fdFaq has only one rule, a border, and yet the o/p produced is the
following (below my sig', a lot of style).

Thanks LOTS in advance to any commenters, I'm sure it's easy and I am
daft.

Cheers,

-Alan

div style=position: absolute; z-index: 95; display: none;
id=cluetip-waitimage/divdiv class=clue-right-fdFaq cluetip-
fdFaq style=z-index: 96; display: block; position: absolute; width:
100px; left: 732.767px; top: 570.4px; id=cluetipdiv style=z-
index: 95; opacity: 0.1; top: 1px; left: 1px; position: absolute;
background-color: rgb(0, 0, 0); display: block; height: 77px; width:
100px;/divdiv style=z-index: 94; opacity: 0.1; top: 2px; left:
2px; position: absolute; background-color: rgb(0, 0, 0); display:
block; height: 77px; width: 100px;/divdiv style=z-index: 93;
opacity: 0.1; top: 3px; left: 3px; position: absolute; background-
color: rgb(0, 0, 0); display: block; height: 77px; width: 100px;/
divdiv style=z-index: 92; opacity: 0.1; top: 4px; left: 4px;
position: absolute; background-color: rgb(0, 0, 0); display: block;
height: 77px; width: 100px;/divdiv style=z-index: 91; opacity:
0.1; top: 5px; left: 5px; position: absolute; background-color: rgb(0,
0, 0); display: block; height: 77px; width: 100px;/divdiv
style=z-index: 90; opacity: 0.1; top: 6px; left: 6px; position:
absolute; background-color: rgb(0, 0, 0); display: block; height:
77px; width: 100px;/divdiv style=overflow: visible; position:
relative; z-index: 97; height: auto; id=cluetip-outerh3
id=cluetip-titleQnbsp;amp;nbsp;A/h3div id=cluetip-
innerdiv id=cluetip-closea href=#Close/a/divHow come I’m
not separately charged for the designnbsp;time/div/divdiv
id=cluetip-extra/divdiv style=z-index: 97; display: none;
id=cluetip-arrows class=cluetip-arrows/div/div


[jQuery] Newbie Cluetip Question

2009-01-19 Thread Jeffrey B

I'm trying to craft a simple Ajax-based Cluetip using a $.get that
passes along a singe key/value pair and brings back some simple HTML.
I keep getting javascript syntax errors.

Here's what I want to accomplish:

prodtips.php?p=mbt35

Using the jQuery $.get sample found here:

http://docs.jquery.com/API/1.1/AJAX#.24.get.28_url.2C_params.2C_callback_.29

I put this together:

ajaxSettings: {   $.get(prodtips.php, { p: mbt35 } )}

When I drop the above on the end of this useless but well-formed (no
javascript errors) cluetip code:

$('a.tt2').cluetip({   width: '360px', ajaxCache: true, arrows: true,
sticky: true, closePosition: 'title'   });

resulting in this:

$('a.tt2').cluetip({   width: '360px', ajaxCache: true, arrows: true,
sticky: true, closePosition: 'title', ajaxSettings: {   $.get
(prodtips.php, { p: mbt35 } )}});

I get the following javascript error:

missing : after property id

and for the life of me I can't see what I'm doing wrong. Can someone
show me the correct syntax for this simple goal.

Thanks...




[jQuery] Newbie Cluetip Ajax Syntax Question

2009-01-19 Thread Jeffrey B

** I'm sorry if I'm double posting but my previous attempt seems to
have disappeared. **

Does the current Cluetip support the jquery 1.3 simplified Ajax $.get
technique?

$.get( url, params, callback )
Example: $.get(test.cgi, { name: John, time: 2pm } );

If so, I'm having a heck of a time trying to get it to work for me.
I'm trying to do this:

prodtips.php?p=mbt35

by doing this:

$('a.tt2').cluetip({   width: '360px', ajaxCache: true, arrows: true,
sticky: true, closePosition: 'title', ajaxSettings: {   $.get
(prodtips.php, { p: mbt35 } )}});

and I'm getting a javascript error:

missing : after property id

that has me scratching my head. Can someone show me how to do this
simple passing of the query string?

Thanks.



[jQuery] newbie - cluetip

2009-01-16 Thread moof

Goodmorning

I'm completely new to jquery and java script. I'm a graphic designer
and learned some basic scripting by meself. So please don't shoot me
if my code is a mess.
However I want to change the menu on this site www.moof.be/intro.html
with a cluetip. I already made some changes to it  
http://www.moof.be/nieuw/intro2.html
but I only seem to get one link working. The first one (working
means it pops up but the content seems not to get loaded  -)  it works
offline but onlinne I get a error)
The other two links are identical but don't pop up at all.

Can anyone help me?

thanxs!

--

mvg
jurgen

Signature {moof’} graphic design
Steenland 46 | 8930 Rekkem | 0498 84 42 62 | www.moof.be