By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,142 Members | 1,831 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,142 IT Pros & Developers. It's quick & easy.

New window from url in xml file using Simile Timeline

P: 21
Hi everyone,
I have a xml file that Simile Timeline uses to call events...Some of the events have links in them and I need to have those links open a new window. As it stands now the links replace the timeline. Simile Timeline uses DHTML and AJAX. Any suggestions?

Sample of code:

<data>
<event start="Jun 02 2008 09:00:00 GMT" end="Aug 02 2008 16:00:00 GMT" isDuration="true" title="Internship at LMC" image="http://i134.photobucket.com/albums/q82/djdoublestack/efa4ad6a.jpg">Documentation and links for new hires at &lt;a href ="https://passport.global.lmco.com/irj/portal/"&gt;Passport&lt;/a&gt;. </event>
<event start="Jul 01 2008 11:00:00 GMT" end="Aug 02 2008 13:00:00 GMT" isDuration="true" title="BSA Site Redesign" image="https://sharepoint.global.lmco.com/sites/BSAGroup/Logo%20Options/Typo-%20Magnifying%20spelled%20wrong/bsa_logo_v1.GIF">Project updates and site improvements at &lt;a href="https://sharepoint.global.lmco.com/sites/BSAGroup/default.aspx"&gt;Team Site&lt;/a&gt;.</event>
<event start="July 02 2008 13:00:00 GMT-0500" title= "Implement changes to Sharepoint site to include Timeline" />
<event start="Aug 05 2008 05:00:00 GMT-0500" title= "Board plane to Bethesda MD" link="http://www.expedia.com/daily/flights/default.asp?rfrr=-409/">HQ here we come!</event>
<event start="Aug 05 2008 10:00:00 GMT-0500" title= "Meet with Sondra to discuss BSA changes" />
<event start="Sep 10 2008 12:00:00 GMT-0500" title= "Changes to eVCS servers" />
<event start="Sep 10 2008 14:00:00 GMT-0500" title= "Meet with BSA Leads to discuss new projects" />


</data>
Jul 4 '08 #1
Share this Question
Share on Google+
1 Reply


P: 21
just figured it out, and it's amazing how easy it was...here is what I added:"target=_new"

Expand|Select|Wrap|Line Numbers
  1. <event start="Jun 02 2008 09:00:00 GMT" end="Aug 02 2008 16:00:00 GMT" isDuration="true" title="Internship at LMC" image="http://i134.photobucket.com/albums/q82/djdoublestack/efa4ad6a.jpg">Documentation and links for new hires at <a target=_new href="https://passport.global.lmco.com/irj/portal/">Passport</a>. </event> 
It worked for that case but won't work for this one where "Board plane..." needs to be the link to open a new window. Any ideas?:

Expand|Select|Wrap|Line Numbers
  1. <event start="Aug 05 2008 05:00:00 GMT-0500" title= "Board plane to Bethesda MD" link="http://www.expedia.com/daily/flights/default.asp?rfrr=-409/">HQ here we come!</event> 
Jul 9 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.