0.8.6c, firefox 3.5 and broken zoom

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jlg
Posts: 39
Joined: Thu Feb 16, 2006 7:39 pm

0.8.6c, firefox 3.5 and broken zoom

Post by jlg »

hi everyone, i'm just sharing this solution for anyone who might be stuck with an old version like mine for whatever reason and running into this problem.

PROBLEM:
after upgrading to firefox 3.5 from firefox 3.0.10, the zoom box would overlay a blue box that was obscuring the graph such that you could not see the data but you could still zoom.

CAUSE:
something was causing problems with "-moz-opacity", which ultimately caused the opacity for the overlay to be "1" instead of zero. and the zoomBox was also "1" instead of 0.5.

SOLUTION:
hack your graph.php to look like this for the indicated div ids:

Code: Select all

        <div id='zoomBox' style='position:absolute; overflow:none; left:0px; top:0px; width:0px; height:0px; visibility:visible; background:red; opacity:0.50; -moz-opacity:0.5; -khtml-opacity:0.5; filter:alpha(opacity=50)' ></div>
        <div id='zoomSensitiveZone' style='position:absolute; overflow:none; left:0px; top:0px; width:0px; height:0px; visibility:visible; cursor:crosshair; background:blue; opacity:0.00; -moz-opacity:0; -khtml-opacity:0; filter:alpha(opacity=0)' oncontextmenu='return false'></div>
CAVEATS:
it's possible that this will break browsers other than the ones that i tested which were: IE8, firefox 3.5, chrome 2.0.172.37.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Yah, upgrade your Cacti.. :)

0.8.6 is no longer being updated. 0.8.7 is the current stable version.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest