Can I create custom HTML attributes and have Jquery/DOM support in IE6+ ? Example: <a class="utilityLinks" href="index.html" xmlVal="topNavLinkHome">Home</a> | <a class="utilityLinks" href="#" xmlVal="topNavLinkLogin">Login</a> The idea here is that I would fire a function on load that would traverse the entire HTML document doing a unique lookup everywhere it finds the xmlVal attribute and replacing the elements text value (with a foreign language). The lookup would access a separate XML document for the foreign language values. I know this is not 100% jquery based, but once I determine what I want to do is possible. I plan to learn how to do it using my existing jQuery library in the web application. Advice appreciated.
Agreed, doing something database driven with server-side code would be faster and the solution as we move to an enterprise readiness. The task I have been asigned with is the mockup of a multi-lingual site yet still portable, will run in any browser after being unzipped into a folder. etc... I was hoping to make it less "chatty" by firing the function on load or init and then replacing all the text values in the beggining. As opposed to firing the functions as the xmlVal attributes are encountered... Any hurdles I am going to encounter? I mean if it loads in 10-20 seconds in a demo.. it will get the "VALUE" across to the powers that be...
Leave a comment on dlcacuff's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic