Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Question about Iframes

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  World Class Internet Services  
Author Message
janetandsam2

External


Since: Nov 26, 2004
Posts: 63



(Msg. 1) Posted: Fri Nov 26, 2004 4:35 pm
Post subject: Question about Iframes
Archived from groups: alt>www>webmaster (more info?)

Are Iframes supported by most browsers, or are they one of those IE specific
things?.....

The reason I'm asking is that I'm building an extremely basic impression
counter for one of my front pages, using a "0" sized Iframe containing an
asp page that retrieves a few server variables and writes them to a
database......It's very basic stuff, but good enough for what I
need......I'm just wondering if it will work across a range of browsers.....

Cheers

--
Sam.
www.fixaphoto.co.uk
www.doohickeys.co.uk

 >> Stay informed about: Question about Iframes 
Back to top
Login to vote
nothespacegirl

External


Since: Aug 11, 2004
Posts: 607



(Msg. 2) Posted: Fri Nov 26, 2004 4:35 pm
Post subject: Re: Question about Iframes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fat Sam wrote:
 > Are Iframes supported by most browsers, or are they one of those IE specific
 > things?.....
 >
 > The reason I'm asking is that I'm building an extremely basic impression
 > counter for one of my front pages, using a "0" sized Iframe containing an
 > asp page that retrieves a few server variables and writes them to a
 > database......It's very basic stuff, but good enough for what I
 > need......I'm just wondering if it will work across a range of browsers.....
 >
 > Cheers
 >

They are supported by all major browsers. You really should use them
with caution, and only then if there is no other way for you to achieve
the functionality desired. If possible, use server side includes (SSI).

You have to be careful too - some browsers (I've been told, I've not
tried) limit the minimum size of iframes to prevent abuse. By the sounds
of it, you could probably get the effect you want using session
variables or includes.

--


x theSpaceGirl (miranda)

# lead designer @ <a style='text-decoration: underline;' href="http://www.dhnewmedia.com" target="_blank">http://www.dhnewmedia.com</a> #
# remove NO SPAM to email, or use form on website #<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Question about Iframes 
Back to top
Login to vote
user295

External


Since: Nov 07, 2003
Posts: 366



(Msg. 3) Posted: Fri Nov 26, 2004 7:35 pm
Post subject: Re: Question about Iframes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fat Sam wrote:

 > Are Iframes supported by most browsers, or are they one of those IE
 > specific things?.....

"mscir" just posted the following in c.i.w.a.h.:

<quote>
Browser support for iframes:

<a style='text-decoration: underline;' href="http://www.websitegravy.com/pages/iframe/" target="_blank">http://www.websitegravy.com/pages/iframe/</a>

- IE: IE appears to support the iframe since v4 (Mac since v3)
- Netscape: v6 and later
- Opera: the 4.02 beta is said to support iframes (Mac and Unix since
v5; BeOS since v3.62)
- Mozilla: since v1
- Bezilla: since v1
- Galleon: since v1.2
- WarpZilla: since v1
- Lynx: support since 2.8.2


<a style='text-decoration: underline;' href="http://www.cs.tut.fi/~jkorpela/html/iframe.html" target="_blank">http://www.cs.tut.fi/~jkorpela/html/iframe.html</a>

- Internet Explorer has supported iframe since version 3. However, IE
as well other browsers have problems in the support, as discussed
later in this document.
- Netscape 6 supports iframe. It has been reported that Netscape 4.7
on Mac has iframe support, but all Netscape 4.x versions on Windows
probably lack support. And it has been reported that Mozilla M12
supports iframe.
- iCab supports it, with a user option to disable the support.
- WebTV Plus has iframe support, but the "small bugs" include failure
to comply with the fundamental idea of using the content of the
element only if the inline frame itself is not displayed.
- Lynx 2.8.2 handles iframe in a manner similar to its treatment of
normal frames: it provides a link (preceded by the text IFRAME:) to
the document specified in the src attribute of the iframe tag and then
renders the content of the iframe element. As the link text, it uses
the name attribute if present, otherwise the URL (the src attribute
value).
- Opera 4.0 beta supports iframe, with the option to turn the support
off (as independently of normal frame support), and the default
setting seems to be to have the support disabled.


<a style='text-decoration: underline;' href="http://www.quirksmode.org/" target="_blank">http://www.quirksmode.org/</a>

- iframes are not supported by Netscape 4.
- iframes inside layers are buggy in Opera 6 (solved in 7). Even
outside layers, they can be very buggy in Opera 5 on Mac.
- WebTV reloads the entire page when reloading an iframe.
- Using location.href in an iframe to change the page in the iframe
does not work in Explorer 4 and 5.0 on Windows and Opera 5 and 6.
</quote>

That said, I would be looking for some other way to do what you want.

 > The reason I'm asking is that I'm building an extremely basic
 > impression counter for one of my front pages, using a "0" sized
 > Iframe containing an asp page that retrieves a few server variables
 > and writes them to a database......It's very basic stuff, but good
 > enough for what I need......I'm just wondering if it will work
 > across a range of browsers.....

Why not just gather the info with asp code as you display the page?
Should be trivial.

--
-bts
-This space intentionally left blank.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Question about Iframes 
Back to top
Login to vote
janetandsam2

External


Since: Nov 26, 2004
Posts: 63



(Msg. 4) Posted: Fri Nov 26, 2004 8:35 pm
Post subject: Re: Question about Iframes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > Why not just gather the info with asp code as you display the page?
 > Should be trivial.

Pretty much because the page I'm wanting to gather the figures about is an
HTML page and it would cause some serious re-structuring of the site's
navigation across a hell of a lot of pages if I was to change this page to
an ASP one.....I wanted to insert a bit of asp code into the HTML page so it
would run and record an entry in a DB, and I figured this was one way of
doing it.....The results don't need to be highly accurate stats...Just ball
park figures......<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Question about Iframes 
Back to top
Login to vote
neilr1

External


Since: Oct 14, 2004
Posts: 17



(Msg. 5) Posted: Sat Nov 27, 2004 5:35 am
Post subject: Re: Question about Iframes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fat Sam wrote:
  >> Why not just gather the info with asp code as you display the page?
  >> Should be trivial.
 >
 > Pretty much because the page I'm wanting to gather the figures about
 > is an HTML page and it would cause some serious re-structuring of the
 > site's navigation across a hell of a lot of pages if I was to change
 > this page to an ASP one.....I wanted to insert a bit of asp code into
 > the HTML page so it would run and record an entry in a DB, and I
 > figured this was one way of doing it.....The results don't need to be
 > highly accurate stats...Just ball park figures......

Sam,
As Mir suggests - look into SSI
 > If possible, use server side includes (SSI)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Question about Iframes 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
iframes - Seeing how with iframes you can stick a site within a site, do webmasters worry that people are iframing (i.e. stealing) your site. Is there a way to keep someone from iframing your site?

frames and iframes - I'm a little out of date with webdesign fashions. Are FRAME / IFRAME a generally avoided thing nowadays? I can think of quite a few reasons why they should be avoided. (Cross-browser unreilability, printing problems, broken framesets, Back button..

Using PHP to rotate HTML code/iframes? - I have something I want to try on my site. But I don't know how to do it, so I was wondering if anyone did if they'd share. I have an account with Amazon Associates and would like to put a dynamic banner on a page. Amazon provides the code that will..

An is it possible question - Hi, I have a membership application form on the Animals in Distress website at http://www.animals-in-distress.net/memapp.htm for people to fill in then print and send with a cheque, I wonder if it is possible to have it place the amount in the Amount...

zip question - Hope someone can shed some light on this for me. Thing is im moving servers soon and need to transfer over my databases, I can create the accounts easy enough, and have no problem modifying the databases so things work ok. The problem i have is how do ...
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]