hellouthere Posted March 6, 2007 Share Posted March 6, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/41484-i-this-possible-js-and-xml/ Share on other sites More sharing options...
trq Posted March 6, 2007 Share Posted March 6, 2007 Is what possible? Your question is very unclear if not nonexistent. Quote Link to comment https://forums.phpfreaks.com/topic/41484-i-this-possible-js-and-xml/#findComment-201132 Share on other sites More sharing options...
hellouthere Posted March 6, 2007 Author Share Posted March 6, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/41484-i-this-possible-js-and-xml/#findComment-201177 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.