Jump to content

chibineku

Members
  • Posts

    1,278
  • Joined

  • Last visited

Posts posted by chibineku

  1. That may be the first, but it sure isn't the last. I have changed the line to the one you suggested but it had no effect. If it helps, the XML file is:<?xml version="1.0" encoding="utf-8"?><WELCOME><CONTENT>Chocolate is the most recent offering from visionary martial arts director Prachya Pinkaew and, like the two before it (Tom Yum Goong aka The Warrior King, and Ong Bak, which turned Tony Jaa into a household name - well, in households that have at least one Bruce Lee movie, anyway), it is, in a word, awesome. In a few more words, it's also breath-taking, stunning, painful, funny... I could go on, and I will, otherwise this wouldn't be much of a movie review, but I'll do it in fuller, more rounded sentences. Starring newcomer JeeJa Yanin, Chocolate tells the story of Zen, the autistic daughter of a cancer-stricken ex-gangster as she tries to pay for her mother's hospital bills. Aided and abetted by her friend Moom, she sets out to collect on some unpaid debts from a variety of unsavoury characters who, unperturbed by her youth, mental handicap and plight, attempt to beat the ###### out of her and Moom. What they haven't counted on, however, is that Zen is an autistic savant whose particular area of expertise is...beating the ###### out of people.</CONTENT><IMG></IMG></WELCOME>The blurb is just a placeholder and so I know if something is happening. The frustrating thing is that the javascript for the table on the right hand side of the page displays text in the maindiv in almost exactly the same manner, yet it doesn't work here.

  2. Hiya. I'm new to JavaScript and XML, but I have been cannabalizing and adapting code for about a week and I have a general idea of how things work. However, I'm having some trouble making a simple XML call and display script working. Here is a link:http://www.sinaesthesia.co.uk/divlayout3It's a scruffy practice site, so forgive the layout, colours, etc. etc.I am attempting to make the menu a series of onclicks that call functions in the header, which in turn call and display CONTENT elements from various XML files. I am pretty lost and won't even hazard guesses why it doesn't work, but any help or tips at all would be great.It will probably wind up being easier creating new pages for each of the menu items, as is traditional, but I like the sleekness of javascripts because the page doesn't have to reload. It's quick and it looks smooth. However, I'd rather be sane than smooth.Thanks in advance for any help,Jonathon

×
×
  • Create New...