Page 1 of 1
Can't scroll megapixel picture (1600x1200) in firefox.
Posted: Thu Nov 22, 2007 5:16 pm
by Acadien
I use an AXIS 221 1600x1200 camera, the capture is fine. When I try to define zones, of course a pop-up window occurs in FireFox. However the image is so large, i can't define zone, some buttons are missing. Can I force Pop-ups in new windows or zoom the window to work with the entire image?
Posted: Thu Nov 22, 2007 7:30 pm
by jameswilson
YOu can tab through the controls thats how i do it, or use a bigger desktop.
Posted: Fri Nov 23, 2007 5:18 am
by W.
or hack ZM a little.
find code
Code: Select all
function newWindow(Url,Name,Width,Height)
{
var Win = window.open(Url,Name,"resizable,width="+Width+",height="+Height);
}
in zm_html_view_zones.php and change it to
Code: Select all
function newWindow(Url,Name,Width,Height)
{
var Win = window.open(Url,Name,"resizable,scrollbars,width="+Width+",height="+Height);
}
and you will have scrollbars. I used the same tab trick as
jameswilson described.
Posted: Fri Nov 23, 2007 2:03 pm
by Acadien
I added "scrollbars" to the newWindow function in
zm_html_view_zone.php
zm_html_view_zones.php
zm_html_view_monitor.php
I can't find which file is the main console window, this is because from the main console when I select one of my monitor, I would also like scrollbars.
Posted: Fri Nov 23, 2007 4:07 pm
by W.
zm_html_view_console.php
Posted: Tue Nov 27, 2007 4:57 pm
by Acadien
Scrollbars works nicely, howabout a new tab in FF instead of a new window?
Posted: Tue Nov 27, 2007 8:41 pm
by W.
tabs are not part of document object model and there is no standard way to manipulate them from js. it is a function of browser, so i suggest you look for some add-on that could take care of your problem.
Posted: Tue May 27, 2008 10:49 am
by henke
I wonder what i am doing wrong, i added the scrollbars text to the files
zm_html_view_zone.php
zm_html_view_zones.php
zm_html_view_monitor.php
zm_html_view_console.php
I dont get scrollbars whatever I do and which ever browser I use.
Hmm... Now I got scrollbars in the Zone window when I open it from the monitor window but not from the console.
Posted: Tue May 27, 2008 12:43 pm
by henke
Now I got scrollbars in the zone window but not in the monitor window when clicked from the console. Where can the scrollbars in the monitor window be added?
Tnx, for any help!