Welcome to TalkGraphics.com
Results 1 to 10 of 22

Hybrid View

  1. #1
    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.

  2. #2
    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 covoxer View Post
    Why have you disabled onmousemove handler?
    Hi John,
    For starters - this first upload is done late last night and at this state I am only trying to get an overview of what is going on in the Xara javascript library.

    I find it bad practice to attach code to global code, unless you cannot do it smarter. Every time the mouse is moved a call is made to the global eventhandler (potentially slowing the page down).

    I expect that the elements on the page which needs attention should hook onto events as a situation occures. Like if you move over an element which shows a popup, at that time register a mousemove listener. When the mousemove listener is no longer relevant for that element, remove it again.

    Oh and please let me stress that I have not tried to do such collaborative coding before accross the web. I do not expect the discussion on how it should be done/implemented to take place here. Anyone have any experience how to do that?
    Cheers,

    Sten
    "Everything has two sides"

  3. #3

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

    Quote Originally Posted by netsi View Post
    Anyone have any experience how to do that?
    Bugzilla is server software designed to help you manage software development.

    Could be a useful discussion/collaboration tool

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

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

    I have decided to try another approach. I have created a Xara document which serves an a test page, project description and version history page.
    That also means that for now the github online source library will not be used (for now).

    The actual javascript library has a working title "XXExt.js" and resides beside the exported HTML files and is called "XXExt.js". A ZIP file containing everything you need to run it locally can be found here: http://www.netsi.dk/xara/xxext.zip

    You can view the alpha version () of the library here:
    http://www.netsi.dk/xara/xxext/index.html

    If you wish to add some code or have comments you are welcome to send them to me.
    Cheers,

    Sten
    "Everything has two sides"

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    472

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

    Hi

    Did this idea die a death? Personally I think it would be fantastic to use jQuery to inject rich content into Xtreme pages.

    I used jQuery myself on my first Xara web effort to add a simple screen fade-in when displaying popup layers. This was a straight forward enough once I'd got a basic grasp of the markup structure output by Xara.

    If anything can be done to make the next version of Web Designer output HTML even more suited to manipulation / traversal by jQuery then all the better (my technical know how is far too limited to suggest what this would be, maybe the existing markup is quite jQuery 'friendly' enough already!).

    Grant

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    472

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

    Thinking about this some more, what would probably help to make Xara generated markup easier to use with jQuery would be the ability to control certain tag attributes.

    jQuery relies on being able to look through the markup for the bits of the page that you want to manipulate. This would be made easier if Xara was to allow you to put 'markers' in the markup to help identify what your after. By this I would mean the ID, CLASS or even user-defined tag attributes.

 

 

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
  •