Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 26th, 2004, 04:26 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old March 26th, 2004, 04:36 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
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
Reply With Quote
  #3 (permalink)  
Old September 14th, 2004, 07:32 AM
Registered User
 
Join Date: Sep 2004
Location: , , Singapore.
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);
}
Reply With Quote
  #4 (permalink)  
Old September 14th, 2004, 07:33 AM
Registered User
 
Join Date: Sep 2004
Location: , , Singapore.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please help!!!

Thank you.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:41 PM.


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