Download presentation
Presentation is loading. Please wait.
Published byAmberly Cross Modified over 9 years ago
1
Flaps The technology and its variations across browsers
2
Flaps XHTML Compliant CSS V2 Uniform elements Multilayer components JavaScript Dynamically updating elements Redrawing maps Placing data such as pictures Authenticating users Requesting Geo Data via XML-RPC SVG Rendering complex menus (To be done with Layering)
3
Flaps Google Maps API (javascript classes and object literals) GMap2(container) GEvent() GLatLang(x,y) GMapTypeControl() GMarker() Flickr API (XML-RPC Calls) flickr.photos.getWithGeoData flickr.photos.search
4
SVG Scalable Vector Graphics Defines geometric shapes directly on browser Included using,, or Namespace http://www.w3.org/2000/svg Browser Support Firefox (Gecko), Opera, Safari: Capable of rendering some with limited support Internet Explorer: Needs adobe viewer Thus, could not be used in Flaps effectively
5
XHTML, HTML DOM, CSS Internet Explorer: No XHTML Support, reads as HTML. No issue here (XHTML more restrictive-move to CSS). W3C API’s not fully implemented by browsers; some browsers have own extensions IE: Object.style.backgroundPosition. Alternative: CSS position, left, top, right Map Sizing Many other examples…
6
Resizing in Flaps function get_new_dims(){ if (navigator.appName=="Netscape") { width = window.innerWidth; height = window.innerHeight-80; //compensate for bottom stuff } else if (navigator.appName.indexOf("Microsoft")!=-1) { width = document.body.offsetWidth; height = document.body.offsetHeight; } if(isLoaded == true){ window.onresize = null; document.getElementById("map").style.height=height+'px'; window.onresize = get_new_dims; } Window.onresize=get_new_dims();
7
Effects Firefox Resizing of map done after releasing of browser window Safari Resizing of map done as window is resized Opera Same action as Firefox Internet Explorer Infinite loop – web browser becomes unstable
8
Flaps With limited developing resources, this is an example of a web application that would not work well across all browsers
9
Result Widely used applications mean user is locked into a browser No competition inhibits innovation Tabbed Browsing, Convenient Search, RSS, etc. Greater risk of attacks Recent.INI vulnerability of IE
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.