Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 22

Hybrid View

  1. #1

    Thumbs up Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    In XHTML strict, for a W3C validation, please put your javascript code between:

    PHP Code:
    <!--  

    and

    --> 

  2. #2
    Join Date
    Nov 2009
    Location
    Miami, FL USA
    Posts
    14

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Good idea!!!

  3. #3

    Post Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Well, considering jquery libraries, one nice implementation is called Qtip. This is a tooltip plugin highly customizable and so which needs a few time for grasping all the possibilities, but one can find some of the main examples on the site of the author.

  4. #4
    Join Date
    Nov 2009
    Location
    Miami, FL USA
    Posts
    14

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Quote Originally Posted by ab29 View Post
    Well, considering jquery libraries, one nice implementation is called Qtip.
    I think this particular implementation can be achieved easily with Xara without JQuery. But thanks for the first suggestion.

  5. #5

    Thumbs up Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Quote Originally Posted by perseus View Post
    I think this particular implementation can be achieved easily with Xara without JQuery. But thanks for the first suggestion.
    Could you share your idea about it ?

  6. #6
    Join Date
    Nov 2009
    Location
    Miami, FL USA
    Posts
    14

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Quote Originally Posted by ab29 View Post
    Could you share your idea about it ?
    Sure, here is a sample.
    Attached Files Attached Files

  7. #7

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Quote Originally Posted by perseus View Post
    Sure, here is a sample.
    Ok, that's convincing. Thanks.

  8. #8
    Join Date
    Aug 2000
    Location
    Skødstrup, Denmark
    Posts
    251

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Quote Originally Posted by perseus View Post
    Sure, here is a sample.
    This is actually a good example of what might be accieved using javascript/jQuery.

    If you in Xara choose to add a text tooltip to an object that will be implemented automatically by Xara to a SPAN tag with a TITLEattribute. Now excuse me for being a little technical, but using the brilliant selector engine of jQuery you can select all such elements and apply - for instance the mentioned tooltip plugin, and thereby get well, another tooltip type.

    Here is the selector (for the technical minded ):
    $('span[title!=""]')
    That will return all standard tooltips on the page, and from there it is easy using jQuery plug-ins to apply some behavior to each of the elements.

    Don't worrie if you are a graphical nerd - this coding related thread will soon relocate to some other place What I however hope to deliver to this forum are some easy-to-use new features for the program which we all love to use!
    Cheers,

    Sten
    "Everything has two sides"

  9. #9
    Join Date
    Aug 2000
    Location
    Skødstrup, Denmark
    Posts
    251

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Here is the first code - and at the same time the place to share the code in this project.
    It should be saved along with "roe.js" and included (manually/placeholder) into a HTML file generated by Xara. It does nothing much, just locks the calls made from Xara. Oh and I have tried to turn off all the "document.onmousemove" eventhandler... Here goes!
    http://gist.github.com/239092
    Cheers,

    Sten
    "Everything has two sides"

  10. #10
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Anyone interested in joining af project: jQuery integration with HTML generated X

    Why have you disabled onmousemove handler?
    John.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •