How do I add targets to links defined in an XML file?
-
A client's site uses a Flash object to display news and events updates with the information and links being defined in an XML file. I am trying to have one of those links open in a new window - where and how do I define this target?
-
Answer:
you need to do the following; In XML, set uppercase targ="_blank" to TARG="_blank" and set different variables like this - subBtn.targ = this.subfolder[i].attributes.TARG; and this getURL(this.link, this.targ) that should do it. http://www.liquid-technologies.com/xml-editor.aspx
ahsheb at Yahoo! Answers Visit the source
Related Q & A:
- How do I add custom attributes to javascript tags in Wordpress?Best solution by WordPress
- How do I scan multiple pages and email them into one file?Best solution by h30434.www3.hp.com
- I want to add my personal photos. how can i add it.
- How can I add local whether everytime I open the yahoo page?Best solution by Yahoo! Answers
- How can I add free links to my site?Best solution by searchengineguide.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.