Jump to content

I this possible... (Js and XML)


Recommended Posts

I have a mysql query that gets some info that is stored in a variable... The variable is written to an XML file then read by a Javascript and used in an info box for Google Maps... Example variable contents...

 

<font color=#009933></font><font color=#DD7700>EGSS</font> - <font color=#EE0000>BPK</font></font> - SAM</font> - GIBSO</font> - EGTE

 

That is called in the Javascript and in theory should have different coloured sections in it... is it possible to do what i am trrying to do... i am having some trouble with making it work and am trying to narrow down the problem... all i need to know is whether the above is possible...

 

Thanks in advance...

Link to comment
Share on other sites

Sorry for lack of clarity/existance.. i was in a hurry... Basically...

 

Can you store a section of html tags in an xml file then call then in a section of javascript and have them still working...?

 

i.e. if i used the font example... would the font colour still be different... i just realised that the notation i gave in the first post is a load of ****...

 

i hope thats clearer... HTML->XML->Java->Functioning Tags...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.