You haven't mentioned what the nature of the problem is, but just by looking at your code, I see that you have initial uppercase letters for many of the options, but they should begin with a lowercase letter (JavaScript is case-sensitive).

--Karl

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




On Dec 8, 2008, at 10:41 AM, Zic Puce wrote:

Hi all,

I must display in a cluetip (jquery) some information from an xml file.
My html file is:
echo "<td><div class=\"blocCataloguelibelle\">";
<a class="affichepopup" href="#" title=" Next dates"> <? php echo $ tabForm [$ i] -> nom_F;?> </ a> </ div> </ td >

Demojquery.js is my file:
$ (document). ready (function () (
$ ( 'A.affichepopup'). Cluetip ((
Width: 380,
CluetipClass: 'jtip'
Arrows: true,
DropShadow false,
Sticky: true,
MouseOutClose: true,
ClosePosition 'title',
closeText: 'src="http://localhost/asfoovh/Asfo/jquery/cluetip/cross.png " alt="close" <img />',
AjaxSettings ((
Type: "GET"
url: "http://localhost/asfoovh/Asfo/CataloguedatesMysqlToXml.xml";
DataType: 'xml'
Success: function (xml) (
Var html ='';
$ (XML). Find ( 'date'). Each (function () (
IdF $ var = $ (this). Attr ( 'id');
Year = $ var (this). Find ( 'Year'). Text ();
Var $ url = (this). Find ( 'txt_F'). Text ();
html + = '<p>' + $ ( 'id_P', $ IDF). text () + '<br>' + $ ( 'txt_F', $ IDF). text () + '</ p>';
));
Return html;
)
))
));
});

I have forgotten something, but I do not.
Could you help me?

best regards
Benoit

Reply via email to