FusionCharts Forum: JavaScript Menu hiding behind the FusionCharts object - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

JavaScript Menu hiding behind the FusionCharts object JavaScript Menu hiding behind the FusionCharts object -- Urgent

#1 User is offline   Vamsi 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 19-March 07

Posted 19 March 2007 - 08:30 AM

Hi All,

I have a problem like my JavaScript menu is hiding behind the FusionCharts object. Pls help its very urgent.

Thanks in advance.

Vamsi

Vamsi Krishna B
0

Other Replies To This Topic

#2 User is offline   Pallav 

  • FusionCharts Team
  • Group: Administrators
  • Posts: 2386
  • Joined: 08-December 06

Posted 20 March 2007 - 01:26 AM

FusionCharts is a set of Flash movies, and as kind of plugins, are rendered in a special way by the browsers (a method known as "windowed"), making them the topmost objects in a page. At this moment there's no way to display any kind of HTML element (tables, images, paragraphs, etc..) above plugins 

Macromedia has a solution for Internet Explorer for Windows and all Mozilla-based browsers:

To allow DHTML objects appear over a Flash movie just add this parameter:

WMode=Transparent
to the Flash <object> tag.

It should look like this:
 
<param name="WMode" value="Transparent">

In order to support Mozilla-based browsers and other browsers, such as Safari, you should also include the wmode parameter in the <embed> tag, like this:
 
<embed wmode="transparent" .......></embed>

If you're using FusionCharts.js (JavaScript class), you can use the attached JS file.

Attached File(s)


Thanks,
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
0

Other Replies To This Topic

#3 User is offline   taragdes 

  • Forum Newbie
  • Group: Members
  • Posts: 9
  • Joined: 30-April 07

Posted 30 April 2007 - 11:04 AM

I am having the same issue, however I am using ASP.NET/C# and rendering the chart's Flash tags with the FusionCharts.RenderChart method. How do I compensate for this problem in this case and set the WMODE for the chart? Thank you!!
Tara G Deschenes
0

Other Replies To This Topic

#4 User is offline   Pallav 

  • FusionCharts Team
  • Group: Administrators
  • Posts: 2386
  • Joined: 08-December 06

Posted 02 May 2007 - 11:10 AM

Replace the existing FusionCharts.js file with the new one (link above). That alone should take care of it.

You would NOT need to change anything in your .NET code.

Thanks,
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
0

Other Replies To This Topic

#5 User is offline   taragdes 

  • Forum Newbie
  • Group: Members
  • Posts: 9
  • Joined: 30-April 07

Posted 02 May 2007 - 11:14 AM

Quote

Pallav (5/2/2007)
Replace the existing FusionCharts.js file with the new one (link above). That alone should take care of it.



You would NOT need to change anything in your .NET code.




Thank you for your reply.
Tara G Deschenes
0

Other Replies To This Topic

#6 User is offline   tonyHarris 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 28-April 08

Posted 29 April 2008 - 01:35 PM

Hi,

  I'm using the CalendarExtender from the AjaxControlToolKit and it appears behind the flash chart.  I replaced the FusionCharts.js with the one recommended to fix this problem but it still persists.  Any other suggestions or tips?

0

Other Replies To This Topic

#7 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1919
  • Joined: 19-March 07

Posted 30 April 2008 - 03:13 AM

Hi,

It might be that when the final HTML is renderded to the user agent (Browser) the chart's HTML is renderdered after the HTML of the Menu. Could you please check if there is some option in the Ajax Toolkit's property to set its style property or it's style's z-index property? If you get option to set style please set : z-index:9999 or set the z-index to 9999?

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#8 User is offline   tonyHarris 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 28-April 08

Posted 30 April 2008 - 09:13 AM

I changed the z-index of the calendar extender using this css class:

<style type="text/css">

.calStyle

{

z-index: 9999;

}

</style>

And the calendar extender background turned transparent and was still behind the flash chart.


0

Other Replies To This Topic

#9 User is offline   tonyHarris 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 28-April 08

Posted 30 April 2008 - 09:23 AM

I also checked the .js param list that is written to the HTML page once the chart is rendered and these are the only params that are set:

<param name="allowScriptAccess" value="always" />
<param name="movie" value="../FusionCharts/FCF_Column3D.swf?ChartNoDataText=There is no data in the date range chosen, please choose another date range."/>
<param name="FlashVars" value="&chartWidth=600&chartHeight=300&debugMode=0&dataXML=<graph></graph>" />
<param name="quality" value="high" />

Should the <param name="wmode" value="transparent" /> tags be in there?  I have them in the FusionCharts.js file I'm using.

EDIT* I noticed that the .js file works when I use the FusionCharts.RenderChart() rather than the FusionCharts.RenderChartHTML().  But I have to use the FusionCharts.RenderChartHTML() function because I'm using an UpdatePanel.

EDIT* Problem fixed, I updated the .dll to the newest version and used the RenderChartHTML() function with the additional parameter for transparency.  Works like a charm now.

0

Other Replies To This Topic

#10 User is offline   nnxcoder 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 06-May 08

Posted 06 May 2008 - 10:28 AM

I am using a modal window which pops up over charts. But the modal window disappears behind the charts. Any clue what needs to be done?



Thanks,



--Narasimha
--N
0

Other Replies To This Topic

#11 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1919
  • Joined: 19-March 07

Posted 07 May 2008 - 12:41 AM

Hi,

Please try setting the chart's wmode to transparent and also check the z-index of the modal window.

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#12 User is offline   juss3pp3 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 15-May 08

Posted 20 May 2008 - 09:42 AM

where I can find the last dll?
0

Other Replies To This Topic

#13 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1919
  • Joined: 19-March 07

Posted 23 May 2008 - 06:29 AM

Hi,

Could you please download the latest pack from www.fusioncharts.com/download.asp ? This pack contains the DLL in Code folder?

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#14 User is offline   LIdya 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 06-July 09

Posted 01 September 2010 - 07:51 PM

wew.. This is brilliant! Thanks a lot :)
0

Other Replies To This Topic

#15 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 01 September 2010 - 11:40 PM

Hi,

Glad that your issue is resolved.

Keep smiling and keep FusionCharting. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#16 User is offline   sunilkrverma 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 05-July 11

Posted 05 July 2011 - 11:56 AM

View PostPallav, on 20 March 2007 - 01:26 AM, said:


FusionCharts is a set of Flash movies, and as kind of plugins, are rendered in a special way by the browsers (a method known as "windowed"), making them the topmost objects in a page. At this moment there's no way to display any kind of HTML element (tables, images, paragraphs, etc..) above plugins.


Macromedia has a solution for Internet Explorer for Windows and all Mozilla-based browsers:


To allow DHTML objects appear over a Flash movie just add this parameter:





WMode=Transparent
to the Flash <object> tag.

It should look like this:

<param name="WMode" value="Transparent">

In order to support Mozilla-based browsers and other browsers, such as Safari, you should also include the wmode parameter in the <embed> tag, like this:

<embed wmode="transparent" .......></embed>

If you're using FusionCharts.js (JavaScript class), you can use the attached JS file.






Hi

Is using the attached JS file still the only solution to work around this while using FusionCharts.js?

Thanks
Sunil
0

Other Replies To This Topic

#17 User is offline   edelcom 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 13-December 06

Posted 31 March 2012 - 12:33 PM

View PostPallav, on 20 March 2007 - 01:26 AM, said:

If you're using FusionCharts.js (JavaScript class), you can use the attached JS file.


Hi, just want to tell you that this works perfectly ! Thanks very much.

Do you have something similar for FusionMaps ?
My charts at stapijst.be all now are scrolling behind my top banner, but my maps aren't.
See one of the pages at this site : page with Charts and Maps.

Thanks in advance for any advice you might provide.
0

Other Replies To This Topic

#18 User is offline   Sumedh 

  • Supreme Being
  • Group: Administrators
  • Posts: 689
  • Joined: 21-December 11
  • LocationBangalore

Posted 02 April 2012 - 05:29 AM

Hi,

Could you please, try to set z-index property for the map container?

z-index property specifies the stack order of an element.

#JavaScriptMenu
{
z-index: 1000; ----------------------------> (setting positive z-index)
}

#mapContainer
{
background: #FFFFFF;
z-index: -1; ----------------------> (setting negative z-index ).
}

Hope this helps.
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sumedh

Follow us @Twitter!
0

Other Replies To This Topic

#19 User is offline   edelcom 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 13-December 06

Posted 02 April 2012 - 06:57 AM

View PostSumedh, on 02 April 2012 - 05:29 AM, said:

Hi,

Could you please, try to set z-index property for the map container?


I will try this, but if it behaves as the FusionCharts, this will not work.
I tried the z-index before I went looking on your site for a solution ( and found the above new Javascript file ).

This new Javascript file solves the problem, but the FusionMaps on the pages are still ABOVE anything else ( mostly my fixed header ).

You can see this here : http://www.staplijst...r-provincie.asp

Mind you: this is a page without the z-index for the FusionMaps ! I will try and change this at the end of the day ( it's now 9 AM here ).
0

Other Replies To This Topic

#20 User is offline   Sumedh 

  • Supreme Being
  • Group: Administrators
  • Posts: 689
  • Joined: 21-December 11
  • LocationBangalore

Posted 02 April 2012 - 07:27 AM

Hi,

For this issue, you can try using setTranparent method.

This method will set your map background as transparent in the HTML page.

The latest FusionMaps.js has the capability to get over with this issue.

Ref. Code:

mapObj.setTransparent(true);

Hope this helps
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sumedh

Follow us @Twitter!
0

Other Replies To This Topic

#21 User is offline   edelcom 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 13-December 06

Posted 04 April 2012 - 04:07 PM

View PostSumedh, on 02 April 2012 - 07:27 AM, said:

Hi,

For this issue, you can try using setTranparent method.

This method will set your map background as transparent in the HTML page.

The latest FusionMaps.js has the capability to get over with this issue.

Ref. Code:

mapObj.setTransparent(true);

Hope this helps


Hi,

Would you please be so kind to attach the Javascript file you mention in this post ?

I have downloaded the latest version 3.1.1 from the site, replace my fusionmaps.js with the new version, but while the modified fusioncharts seems to work, the fusionmaps.js does not.

Thanks in advance,
Erik
0

Other Replies To This Topic

#22 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1919
  • Joined: 19-March 07

Posted 05 April 2012 - 10:01 AM

Hi,

Please find the attached sample showing the use of setTransparent. The zip contains the required js file.

Attached File(s)


Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic