Announcement

Collapse
No announcement yet.

Navbar Dissapearing when using iframes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Navbar Dissapearing when using iframes

    Hi,

    I am having a bit of trouble with iframes and the nav bar.

    Your gonna ask why am i using iframes.

    Im trying to get a google map to work on my site, but for some reason it doesnt like it. So im resorting to using the map in an iframe.

    But when i include the iframe in the page as a fragment using !!< and >!! the navbar dissapears?


    URLS:

    Page with iframe

    Page without iframe

    Can anyone help?
    Nineplus.com - Surfboards, Longboards, Wetsuits and Accessories.

    #2
    I think you need to sort out the div tags - you have probably 80% of your divs opening and closing with no content inside them. Try looking at both pages in IE7 with the Developers toolbar installed and select the menu option Outline - Div Elements.

    On the clean page, you have content cleanly surrounded by div tags - on the iframe page, you have divs opening and closing randomly all over the shop.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Ok, i have had a look at that, and i can see the DIV - tags in IE7 but where and how i sort them out?

      The ONLY difference betweek the two pages is that one has a fragment with this code in:

      !!<
      <iframe src="http://www.thebunkerwarehouse.co.uk/acatalog/google_map.htm" width="400" height="300">
      >!!

      and the other does not.

      where does it mess up the DIV tags?

      Im confused

      Thanks

      Dan
      Nineplus.com - Surfboards, Longboards, Wetsuits and Accessories.

      Comment


        #4
        If the only difference is the google_map.htm page then that's a good place to look for the differences.

        From one search I found this little snippet

        The code needs to go on the BOTTOM of the page before the body close tag (after your last div) so the HTML is parsed before the javascript file is called. Not doing this will cause your site to be unviewable in IE and other browsers.
        Could this be your problem?
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment

        Working...
        X