Javascript anchor link not working
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Javascript anchor link not working Expand / Collapse
Author
Message
Posted 11/16/2007 1:22:21 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/16/2007 1:22:21 PM
Posts: 2, Visits: 4
Hi.

I'm facing a problem about the anchor's link of a scatter chart.

I'm using [syntax]: <set … link=javascript:alert(234)' ...>

It works on any "normal" enviroment.

But Im developing a firefox extension with this, so the main difference here is the chart is being displayed in a HTML Document on a window opened from XUL Window.

Maybe this should not affect at all the chart, but, could some one please point me some ideas about this.

Thanks a lot.

Ricardo

Post #3079
Posted 12/7/2007 9:59:10 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 2/14/2008 11:58:43 AM
Posts: 11, Visits: 33
Most obvious, i hope you used the right syntax and didn't forget the first " as you posted it..
<set x="9" ... link="JavaScript:updateFromGraphs(param1,param2,param3);" />

If that didn't work, i would say there is a problem with the rights of flash itself in this kind of environment. There are some nasty restrictions when flash should go out of the player. First, you are not allowed to link any file from another domain, maybe the JS with the function is from another domain?
Search in the options of your Browser for possible right restrictions and disable them....

Hope i could help,
greetings!


Post #3298
Posted 12/15/2007 7:38:26 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956, Visits: 468
Hi,

When you run it in Firefox as XUL, do you get any JS errors?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #3354
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 9:38pm


Execution: 0.188.