Layering GE pluggin in website
-
Hi guys. I am NOT a website designer so am not sure if this should be posted on a dreamweaver forum or here. I was very pleased with myself when I managed to embed a GE window into my site. I have however got a problem with layering. I have been round all the various google forums and have found nothing.
The code I am using is something like this;
<iframe width="950" height="410" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=en&ie=UTF8&ll=59.91757,10.729909&spn=0.009196,0.033023&t=m&z=16&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?hl=en&ie=UTF8&ll=59.91757,10.729909&spn=0.009196,0.033023&t=m&z=16&source=embed" style="color;#0000FF;text-align;left"></a></small>
The code works fine apart from the fact that the GE window always remains at the front, even when I have images opening larger on the screen using a "light box"
The best example is on this page
http://www.langlidesign.com/index-news.html#!prettyPhoto
I am losing the will to live trying to solve this problem. Help would be greatly appreciated.
-
A browser plugin is a different program that takes over to render to that rectangular area on the screen. That means the browser is not in charge to render anything there. You can only outrule a browser plugin by using an "iframe shim", an iframe that acquires an area above the plugin so that the browser can render inside and on top of the iframe.
If you don't find a lightbox plugin that has an option for an iframe shim and if you don't want to build it yourself, you could also just move the GE plugin away (to hide it, margin-left:-1000px) and display a default image instead.
https://groups.google.com/d/topic/google-earth-browser-plugin/M-2GZ0rcm9I/discussion
http://lineandpixel.com/blog/iframe-shim-for-google-earth -
It is official. I hate web design. I am too much of an idiot. First of all thanks for the advise. Much, much appreciated. Unfortunately I am struggling to get the code to do as it is told. I shall prevail though (cough cough, sob sob)
Advertisement