Displaying 6 results from an estimated 6 matches for "resizeto".
Did you mean:
resize_to
2008 May 27
6
IE7 Problems
...mainly Google Maps and
Microsoft''s Virtual Earth. However, I seem to be running into a lot of
errors when trying to use Mapstraction with IE7 and Virtual Earth.
As an example, I get a "Not Implemented" error when I load the many of
the demos. This appears to be happening in the resizeTo method on the
line that reads "self = this;". It appears that this was fixed in
revision 164 by ajturner, but was re-introduced with the changes in
revision 175 with the namespaced changes by Derek Fowler. Changing the
variable references back to "myself" in the resizeTo functio...
2006 Jun 14
1
Cross Browser Popups
Hi,
Does anybody have a little cross-browser piece of code
to resize a popup ?
Excatly, I don''t know if it is possible ?, I would like to open
a popup on the side of an existing window like if it would be a tabpane.
So reducing window width by the width of the popup, set the popup on
the side of the window. And the best of the best: when the window is
resize, resizing the popup also
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...var map = this.maps[this.api];
+ var myOptions = [];
+ if (this.options.enableDragging) {
+ myOptions.draggable = true;
+ }
+ if (this.options.enableScrollWheelZoom){
+ myOptions.scrollwheel = true;
+ }
+ map.setOptions(myOptions);
},
resizeTo: function(width, height){
@@ -50,11 +62,20 @@
this.addSmallControls();
}
}
+ if (args.scale){
+ var myOptions = {
+ scaleControl:true,
+ scaleControlOptions: {style:google.maps.ScaleControlStyle....
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...een.width,screen.height);
},
setWindowSize:function(size){
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
top.outerWidth=size.width;
top.outerHeight=size.height;
}
else top.resizeTo(size.width,size.height);
}
},
setWindowPosition:function(pos){
top.window.moveTo(pos.x,pos.y);
},
getWindowPosition:function(){
if(document.all){ //IE
return new
Geometry.Position(window.screenLeft,window.screenTop);
}
else{...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...this.loaded[api] = true;
-
},
applyOptions: function(){
var map = this.maps[this.api];
- // TODO: Add provider code
+ if(this.options.enableScrollWheelZoom){
+ map.enableScrollWheelZoom();
+ }
},
resizeTo: function(width, height){
// TODO: Add provider code
+ this.maps[this.api].checkResize();
},
addControls: function( args ) {
var map = this.maps[this.api];
- // TODO: Add provider code
+ var c = this.addControlsArgs;
+...
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications.
I know this has been mentioned before and is on the Wish List, but it''s very frustrating.
If you look at this other Javascript library called "Drag''nDrop & DHTML Library"