Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 26th, 2004, 04:26 AM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Prb with js function call inside flash using XSL

Hi,

I am rendering an HTML page via XSL. The HTML page contains a flash file that has some buttons. Normally, when these buttons are clicked, a javascript function is called using the getURL() function in flash.

The flash file works fine when it is embedded inside the HTML page. My problem is that when I try to render this HTML file using XSL, the javascript function call from flash does not work. I keep getting an "object expected" error.

Can somebody help me?

Thanks
 
Old March 26th, 2004, 04:36 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Your problem is on line 32.

In other words can you show (minimal) examples of source xml, your xslt and what it produces?

--

Joe
 
Old September 14th, 2004, 07:32 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am in a similar situation and facing the same problem as mentioned above.

In the flash,
getURL("Javascript:MM_openBrWindow('public_profile .jsp?sub_id="+id+"','public_profile','toolbar=no,s tatus=no,menubar=no,resizable=yes,scrollbars=no,wi dth=452,height=365')");

In the xsl,
<script language="JavaScript" src="scripts/flashcontrol.js" type="text/JavaScript"></script>

In flashcontrol.js,
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 
Old September 14th, 2004, 07:33 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please help!!!

Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
differnce between xsl:apply-templates and xsl:call chandu.mca007 XSLT 2 June 12th, 2007 04:12 AM
How to call normal "write" function inside a class jonen C++ Programming 3 May 25th, 2006 02:19 PM
asp inside js crmpicco Classic ASP Basics 2 July 6th, 2005 09:49 PM
use a JS-variable/function inside a tag cybermaarten Javascript 3 January 20th, 2005 05:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.