[jQuery] Re: HTML annotation techniques.

2009-03-19 Thread David Decraene
depending on the purpose, you could use : RDfa: http://www.w3.org/TR/xhtml-rdfa-primer/ or perhaps start using html 5 data attributes, see post from john: http://ejohn.org/blog/html-5-data-attributes/ Greetings, David http://ontologyonline.org jowl semantic javascript library: http://jowl.onto

[jQuery] [Announce] jOWL 1.0 released

2009-03-11 Thread David Decraene
I'm happy to announce the release of jOWL version 1.0 jOWL (http://jowl.ontologyonline.org) is a jQuery plugin to load and visualize semantic information from OWL (Web Ontology Language) files. This version incorporates smarter reasoning, faster loading and many other goodies. David jOWL semant

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-08 Thread David Decraene
/TouchGraph.html On 8 jan, 08:37, David Decraene wrote: > The great thing of html of course is that you can use css, means you > can style it easily (demo has very basic styling, some rounded corners > in firefox). > Not sure how flexible styling in raphael is, I'm not familiar enough

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
ecause the issue is not with drawing the changes, but with calculating the position of each node (=Javascript Math). On Jan 8, 2:27 am, Ricardo Tomasi wrote: > using "NO" Canvas or SVG is not that great a feature is it? :) > > Make that use raphael.js and it's all set! >

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
scale better... Greetings David On 7 jan, 19:00, Joe wrote: > Very impressive!  Seems a bit sluggish at times in FF 3.0.5, but nice > work! > > Joe > > On Jan 7, 5:12 am, David Decraene wrote: > > > I had some fun creating a pure HTML-DOM based Force-directed gra

[jQuery] jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
://jowl.ontologyonline.org/TouchGraph.html. and the blog post: http://ontologyonline.blogspot.com/2009/01/experimental-touchgraph-visualization.html. Room for lot's of improvement, but nevertheless quite happy with the result already. David Decraene http://ontologyonline.org

[jQuery] Re: xml parsing error

2008-06-19 Thread David Decraene
Are you loading that xml file locally? That may be the problem: try something like this for local xml file access: if($.browser.msie && location.toString().indexOf('file') == 0) { // stupid IE won't load local xml files with XMLHttpRequest var xml = document.creat

[jQuery] Re: ajax and XML - issue with file extensions?

2008-05-27 Thread David Decraene
= file.owl: $.ajax({ url: path, dataType: "xml", success: function(xml) {callback(that.parse(xml, options));}}); david decraene http://jowl.ontologyonline.org On 27 mei, 08:45, hagalaz <[EMAIL PROTECTED]> wrote: > I had similar issues with the ajax function. Then I switched to .get

[jQuery] Re: Javascript breakout Game

2008-05-23 Thread David Decraene
, "Theodore Ni" <[EMAIL PROTECTED]> wrote: > Very nice. I got to 111 points before I got bored; is there supposed to be > an invisible block in the upper left for you to keep hitting? :-) > > On Thu, May 22, 2008 at 2:21 PM, David Decraene <[EMAIL PROTECTED]> > w

[jQuery] Javascript breakout Game

2008-05-22 Thread David Decraene
in Evil IE (Internet Explorer), which doesn't provide proper support for the canvas element. In IE it can be made functional with excanvas but it renders way too slow to be enjoyable. David Decraene http://ontologyonline.org

[jQuery] Re: Ajax scoping problem

2008-01-22 Thread David Decraene
also If you do something like this (don't know if you do): var myarray = new Array(); function readXml(){ ..ajax.. } function handleXML(xml) { myarray[i] == ...} var x = myarray.length; then x will always be 0 because myarray.length get's executed before the ajax call returns success (async

[jQuery] Re: Ajax scoping problem

2008-01-22 Thread David Decraene
why not: var myarray = new Array(); function handleXML(xml) { $(xml).find("something somethingelse").each(function(){ myarray.push( $(this).text()); }); Can't see why that wouldn't work. David http://OntologyOnline.org On Jan 22, 11:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread David Decraene
scape[title="'+UI.section+'"]', datascape.anchors); var dsAnchorVar = $('item[title="' + $proj + '"]',thisDS).parents('col').attr('title'); $.log("anchor "+$proj+"= "+ dsAnchorVar ); } $.

[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread David Decraene
the get is asynchronous, meaning that datascape.getAllAnchors is returned (nothing/undefined) before the ajaxall (get) returns success. On Jan 21, 3:41 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > Hello, > > i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm > u

[jQuery] Re: UI draggable working but not without errors

2007-12-21 Thread David Decraene
I'm getting the same error... On Dec 12, 7:30 pm, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > I download the jquery-ui.min.js by just selecting the Draggable plugin > which produced an 18K file. > $('table.draggable').draggable(); > actually works just fine on my page. It even works in IE 6. > >

[jQuery] Re: Looping ajax requests

2007-12-19 Thread David Decraene
the alerting is because of the asynchronous callback: it only triggers success when it receives response from the server, and by that time i already equals 5 (already looped multiple times), I think. Why you do not get that last page beats me, try for (var i=1;i<6;i+ +) David Decraene h

[jQuery] Re: General question regarding AJAX and callbacks

2007-12-13 Thread David Decraene
You could make a synchronous ajax call instead, but it will lock the browser until a response is received: something roughly along these lines: $.ajax({ type: "GET", url: "validate.php", data: {value: somevalue} async: false, dataType: somedatatype, success: function(data){...} }); or maybe try

[jQuery] Re: jQuery Magnifier for multiple divs

2007-12-10 Thread David Decraene
20', > baseline:0, > > }); > }); > > > > > > > > > > > > > > > > > > > > > > > > > -Enrique- > > On Dec 5, 1:47 am, David Decraene <[EMAIL PROTECTED]> wrote: > > >

[jQuery] Re: jQuery Magnifier for multiple divs

2007-12-05 Thread David Decraene
I need to admit I am not familiar with the magnifier code, but: Why do you have two references to document.ready? I would try combining them, might already solve some problems: jQuery(document).ready(function(){ $("#example").magnifier({ overlap:true, magni