Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2004
    Location
    Minnesota
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is this possible?

    Hiya.... I am looking to marry a "menu.xml" file with a javascript engine that can parse through the xml and display as a vertical menu on the leftsid eof a page... this menu.xml file will change nearly hourly, so the XMl transversal needs to be dynamic and lightweight.

    I imagine this is possible, but can anyone point me in the right direction? I am coming from pretty much a actionscripting background, so I am failiar to js only by association!

    Thanks y'all!

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Besides looking through references for various info... basically, if you want the updating to occur without the browser pausing during a long loop, use setTimeout to repeatedly call a function. This takes longer, but may be less noticable to the client. How that's constructed depends on your xml and menu design, etc.

    btw, IE features Data Binding mechanisms, and then there's the whole Data Services section of MSDN at your disposal...
    Last edited by codegoboom; 12-14-2004 at 05:12 AM. Reason: nonsense
    *this message will self destruct in n-seconds*

  • #3
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you might also wanna check out Danny Glazman's HTML Overlays.
    *keep it simple (TM)

  • #4
    New Coder
    Join Date
    Dec 2004
    Location
    Minnesota
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OK, for the DATA BINDING issues I think that its strictly IE only correct? If so that won't do. I think only IE supports data islands and the such, but i could be very wrong.

    As far as the HTML overlays that jbot mentioned, they are indeed very very cool, but I am not sure how that fits my needs?!

  • #5
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by pixelEngine
    As far as the HTML overlays that jbot mentioned, they are indeed very very cool, but I am not sure how that fits my needs?!
    you already answered that question in your first post. use the menu.xml (your HTML overlay) and parse it using JS. use the link tag to import it, and then follow DannyG's methodology. use JS to poll the XML file every so often, and then re-apply your HTML overlay parser to it.
    *keep it simple (TM)


  •  

    Posting Permissions

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