Diff for Using javascript with DITA

Tue, 2010-03-09 04:24 by Team Ferrari22Tue, 2010-03-09 08:44 by Team Ferrari22
Changes to Body
Line 19Line 19
 
</ul>
 
</ul>
 
<p>
 
<p>
-
Please guide us how to use .js files with DITA.
+
Before converting the DITA files into html using DITA toolkit,if we want to add JAVASCRIPT functionality which can be later used in html files, how it can be done? Please guide us.
 
</p>
 
</p>
 
<p>
 
<p>
Current revision:

Using javascript with DITA

Hi All,

How to use javascript with DITA

  • We can give 'javascript:URL'  to the 'href' attribute of <xref>,<link> and <lq> elements and it will execute it properly.
  • We tried to execute javascript user defined functions from href attribute but build fails.
  • We added .js files to .dita file resources and tried to refer a function from that file by href attribute.It is also not working.

Before converting the DITA files into html using DITA toolkit,if we want to add JAVASCRIPT functionality which can be later used in html files, how it can be done? Please guide us.

Regards.

 

 

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I