Results 1 to 4 of 4
  1. #1
    Join Date
    May 2002
    Location
    Deltona, FL
    Posts
    9

    <IFRAME> - Good or Bad?

    Any opinions or experiences with them? Not sure if I want to use one, but seems like a good idea, as do many ideas at first...

    Just looking for some feedback as to any drawbacks, etc.
    Patrick Hartnett
    http://www.e-dbapps.com
    patrick@e-dbapps.com

  2. #2
    Join Date
    May 2002
    Posts
    6
    personally, netscape is terrible, but I feel bad excluding them, so i don't use them. but i have seen them done incredibly well. so remeber who you're engineering the site for, and perhaps redirect to a netscape page

  3. #3
    Join Date
    May 2002
    Location
    Stockholm, Sweden
    Posts
    6
    There are work-arounds to dealing with Netscape, but they can create another whole series of new coding issues you'll need to deal with. Basically, the concept is that instead of loading a new page into an <iframe>, you instead load it into a <div>. If you want automated scrolling though, now you have to "roll your own" with a DHTML scroller, which is a heavy enterprise if you don't know your DHTML/Javascript too well yet. See Eddie Travers nice tutorial for the page loading at http://www.dhtmlnirvana.com/alchemy/externalload.htm - and then if you're still feeling very ambitious I offer one of my DHTML scrollers for download at http://www.znippets.com/ - have fun with it!

    (Warning! Even though that scroller is relatively simple to modify, it's still not "easy", heh. :) If you'd like to see examples of this script in action, with dynamic page loading, here's a few to scope out...

    http://www.ozones.com/
    http://ozones.tk/ <- this one does not handle Netscape. Yet. ;)
    http://www.grymdesign.com/

    Have fun now!

    Your pal, -doc-

  4. #4
    Join Date
    May 2002
    Location
    Shanghai
    Posts
    974
    if you wanna combine iFrame with divs on a single page, you should also pay attention. i experienced some unexpected results with those two tags. iFrames are always (like most plug-ins are) on "top" of the page. means: you can set the z-index of a div as high as you want, it will always be under your iFrame if they collidate. at least i couldn't find any workaround for this problem.
    to make it more clear:
    i wanted to have at the top of a page a navigation with "drop-down" divs-menues. and below i wantend an iFrame where i could load new html-pages. the problem i had was: when i rollovered over a navigation-entry and my menu should appear, it was always overlayed by the iFrame and i couldn't acces the sub-navigation-points.

    --------------------------------
    added note:
    ok, i'm using IE 5.0. that's why i'm experience these problems. i just found out, that from IE5.5 on, you can overlay iFrames.
    Last edited by schyzomaniac; 07-08-2002 at 01:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •