Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » help for custom widget resourse file path in js?
help for custom widget resourse file path in js? [message #764992] Tue, 13 December 2011 08:36
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
hi all,
I will write a custom widget to display chart with open flash chart. but I get in trouble in the path of flash swf file path in JS code.

var swf = '<object width="100%" height="100%">'+
	  '<param value="open-flash-chart.swf" name="movie"></param>'+
	  '<embed src="copen-flash-chart.swf" width="100%" height="100%"'+
	  ' type="application/x-shockwave-flash">'+
	  '</embed></object>';
document.getElementById(this._id).innerHTML = swf;


it doesn't work. how to express the path of swf file?
Thank you a lot;

David
Previous Topic:Deep Linking to a page, using existing session.
Next Topic:help for custom widget resourse file path in js?
Goto Forum:
  


Current Time: Mon Oct 25 10:36:32 GMT 2021

Powered by FUDForum. Page generated in 0.01545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top