• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Layering GE pluggin in website

Scheduled Pinned Locked Moved Newbie Forum
sketchup
3 Posts 2 Posters 95 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    kingsi
    last edited by 12 Apr 2012, 20:04

    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&amp;ie=UTF8&amp;ll=59.91757,10.729909&amp;spn=0.009196,0.033023&amp;t=m&amp;z=16&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?hl=en&amp;ie=UTF8&amp;ll=59.91757,10.729909&amp;spn=0.009196,0.033023&amp;t=m&amp;z=16&amp;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.

    Noobtastic

    1 Reply Last reply Reply Quote 0
    • A Offline
      Aerilius
      last edited by 12 Apr 2012, 22:11

      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

      1 Reply Last reply Reply Quote 0
      • K Offline
        kingsi
        last edited by 16 Apr 2012, 23:44

        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)

        Noobtastic

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement