﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / JavaScript Problems / Product Forums  / wmode = "transparent"; where in the js file do I add this parameter? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 10 Mar 2010 06:46:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: wmode = "transparent"; where in the js file do I add this parameter?</title><link>http://www.fusioncharts.com/forum/Topic3891-35-1.aspx</link><description>...&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;I am attaching a small sample application using FusionCharts v3.1.1 to test the wMode related issues.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;The application shows three charts (all same chart) in wMode as "window", "transparent" and "opaque" respectively. There is also an active Overlay HTML division that moves around with the mouse pointer and shows the current mouse coordinate.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;Moving the mouse across the first chart reveals that the overlay HTML division does not get over the chart in "window" mode. But in other two charts, everyth&lt;/FONT&gt;&lt;FONT color=#111111&gt;ing seems fine. :hehe:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;Note: you will need to login in order to download this piece of code.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#111111&gt;PS: Thanks Sudipto for compiling this app.&lt;/FONT&gt;</description><pubDate>Thu, 23 Jul 2009 09:48:36 GMT</pubDate><dc:creator>shamasis</dc:creator></item><item><title>RE: wmode = "transparent"; where in the js file do I add this parameter?</title><link>http://www.fusioncharts.com/forum/Topic3891-35-1.aspx</link><description>I've found that the "vmode param" removes a little border round the chart movie in wich case in set into an object type (InternetExplorer "&lt;object&gt; Tag" and Firefox "&lt;embed&gt; Tag").&lt;br&gt;&lt;br&gt;In my case, I added addParam("vmode","transparent") as well but It looks like that is not all in some cases, also, you should try to modify the follow snippet code.&lt;br&gt;&lt;br&gt;** Into the FusionCharts.js file **&lt;br&gt;&lt;br&gt;Please, Can you identify the function infosoftglobal.FusionCharts = function(swf, id, w, h, debugMode, registerWithJS, c, scaleMode, lang, detectFlashVersion, autoInstallRedirect){&lt;br&gt;&lt;br&gt;// identify line 36/329&lt;br&gt;// ensure layers render on top&lt;br&gt;        this.addParam('wmode', 'opaque');&lt;br&gt;&lt;br&gt;&lt;&lt;&lt;&lt;action&gt;&gt;&gt;&gt;&lt;br&gt;//replace implicit&lt;br&gt;this.addParam('wmode', 'transparent');&lt;br&gt;&lt;br&gt;&lt;br&gt;// Please, Can you identify the function setTransparent?&lt;br&gt;// line 158/329&lt;br&gt;setTransparent: function(isTransparent){&lt;br&gt;        var varName = "WMode"; // property ie&lt;br&gt;&lt;br&gt;		//Sets chart to transparent mode when isTransparent is true (default)&lt;br&gt;		//When no parameter is passed, we assume transparent to be true.&lt;br&gt;		if(typeof isTransparent=="undefined") {&lt;br&gt;			isTransparent=true;&lt;br&gt;		}&lt;br&gt;&lt;br&gt;        if (navigator.appName.indexOf("Microsoft Internet")==-1) {&lt;br&gt;            varName = "vmode"; // property ff&lt;br&gt;        }&lt;br&gt;&lt;br&gt;        //Set the property ff&lt;br&gt;        if(isTransparent)&lt;br&gt;            this.addParam( varName, 'transparent');&lt;br&gt;        else&lt;br&gt;            this.addParam( varName, 'opaque');&lt;br&gt;	}&lt;br&gt;}&lt;br&gt;&lt;br&gt;Jorge Rivero</description><pubDate>Thu, 06 Nov 2008 14:07:44 GMT</pubDate><dc:creator>River</dc:creator></item><item><title>RE: wmode = "transparent"; where in the js file do I add this parameter?</title><link>http://www.fusioncharts.com/forum/Topic3891-35-1.aspx</link><description>var Chart1 = new FusionCharts(this.chart, "ChartId1", this.width, this.hight);&lt;BR&gt;      Chart1.addParam("WMode", "Transparent");&lt;BR&gt;      Chart1.setDataXML(this.dataxml);&lt;BR&gt;      Chart1.render(this.chart1div);&lt;BR&gt;&lt;BR&gt;this works for me.&lt;BR&gt;</description><pubDate>Fri, 24 Oct 2008 11:28:07 GMT</pubDate><dc:creator>efrenlugo</dc:creator></item><item><title>wmode = "transparent"; where in the js file do I add this parameter?</title><link>http://www.fusioncharts.com/forum/Topic3891-35-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;I've got a problem which has been mentioned in the [url=http://www.fusioncharts.com/KB/article.aspx?id=10033&amp;query=wmode]Knowledge Base[/url].&lt;br&gt;&lt;br&gt;However, as FusionCharts uses js functions to render the HTML required to show the flash, and my js skills are not what they could be, I'm unsure how to explicitly set 'wmode="transparent"'.&lt;br&gt;&lt;br&gt;Within FusionCharts.js, there is a section which is as follows:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;setTransparent: function(isTransparent){&lt;br&gt;   //Sets chart to transparent mode when isTransparent is true (default)&lt;br&gt;   //When no parameter is passed, we assume transparent to be true.&lt;br&gt;   if(typeof isTransparent=="undefined") {&lt;br&gt;      isTransparent=true;&lt;br&gt;   }			&lt;br&gt;   //Set the property&lt;br&gt;   if(isTransparent)&lt;br&gt;      this.addParam('WMode', 'transparent');&lt;br&gt;   else&lt;br&gt;      this.addParam('WMode', 'Opaque');&lt;br&gt;   },&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;If I view "rendered source" in Firefox though, I cannot see that this parameter is set at all.&lt;br&gt;&lt;br&gt;Any help much appreciated.&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Wed, 16 Jan 2008 10:02:10 GMT</pubDate><dc:creator>rbrown</dc:creator></item></channel></rss>