PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > iframes, src parameters, and browsers
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
iframes, src parameters, and browsers

Réponse
 
LinkBack Outils de la discussion
Vieux 06/11/2007, 17h53   #1
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut iframes, src parameters, and browsers

I have this iframe on a page:

<IFRAME name="inlineframe" src="http://easyquestion.net/quiz/
quiz_source.php?code=thinkagain" width=400 height=285 marginwidth=0
marginheight=0 frameborder=0 scrolling=auto></IFRAME>

Note that the src has a parameter. This parameter can be is to be
found in $_GET[code] in the src program when I use Mozilla Firefox,
but not when I use IE6.

Can src parameters not be sent when IE is used?

Regards,

Jan Nordgreen

  Réponse avec citation
Vieux 06/11/2007, 18h31   #2
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

On Tue, 06 Nov 2007 17:53:07 +0100, damezumari <jannordgreen@gmail.com>
wrote:

> I have this iframe on a page:
>
> <IFRAME name="inlineframe" src="http://easyquestion.net/quiz/
> quiz_source.php?code=thinkagain" width=400 height=285 marginwidth=0
> marginheight=0 frameborder=0 scrolling=auto></IFRAME>
>
> Note that the src has a parameter. This parameter can be is to be
> found in $_GET[code] in the src program when I use Mozilla Firefox,
> but not when I use IE6.
>
> Can src parameters not be sent when IE is used?


It should (and normally does here). Have you got a live example/test
showing this problem?
--
Rik Wasmus
  Réponse avec citation
Vieux 06/11/2007, 19h04   #3
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

http://simpler-solutions.net/pmachin...thinkagain.php

The top part called Daily Puzzle does not work in IE6.

  Réponse avec citation
Vieux 06/11/2007, 19h20   #4
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

On Tue, 06 Nov 2007 19:04:59 +0100, damezumari <jannordgreen@gmail.com>
wrote:

> http://simpler-solutions.net/pmachin...thinkagain.php
>
> The top part called Daily Puzzle does not work in IE6.


<http://validator.w3.org/check?verbos...hinkagain.php?

Validate, fix, then check again (and an issue is probably best addressed
in alt.html). You're making it needlessly hard for yourself using XHTML
instead of HTML though.
--
Rik Wasmus
  Réponse avec citation
Vieux 06/11/2007, 19h44   #5
Sanders Kaufman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

"Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
newsp.t1duk1ik5bnjuv@metallium.lan...

<http://validator.w3.org/check?verbos...hinkagain.php?

Validate, fix, then check again (and an issue is probably best addressed
in alt.html). You're making it needlessly hard for yourself using XHTML
instead of HTML though.

What?!
But for *very* few differences - they're the same thing.
What about using XHTML makes this harder?


  Réponse avec citation
Vieux 06/11/2007, 20h28   #6
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

Thank you for your answer!

I created a simpler test page, and now it works in IE6:

http://easyquestion.net/quiz/quiz_test.html

Regards,

Jan Nordgreen

  Réponse avec citation
Vieux 06/11/2007, 21h28   #7
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

On Tue, 06 Nov 2007 19:44:22 +0100, Sanders Kaufman <bucky@kaufman.net>
wrote:

> "Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
> newsp.t1duk1ik5bnjuv@metallium.lan...
>
> <http://validator.w3.org/check?verbos...hinkagain.php?
>
> Validate, fix, then check again (and an issue is probably best addressed
> in alt.html). You're making it needlessly hard for yourself using XHTML
> instead of HTML though.


Hmm, quoting gone wrong?

> What?!
> But for *very* few differences - they're the same thing.
> What about using XHTML makes this harder?


Validating to true XHTML (i.e. CDATA in script/style etc., starting with
<?xml ?>). Now, XHTML intended and served as tagsoup HTML, that's not so
much harder, no.
--
Rik Wasmus
  Réponse avec citation
Vieux 07/11/2007, 14h37   #8
Sanders Kaufman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

"Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
newsp.t1d0h4x85bnjuv@metallium.lan...
On Tue, 06 Nov 2007 19:44:22 +0100, Sanders Kaufman <bucky@kaufman.net>
wrote:

> "Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
> newsp.t1duk1ik5bnjuv@metallium.lan...
>
> <http://validator.w3.org/check?verbos...hinkagain.php?
>
> Validate, fix, then check again (and an issue is probably best addressed
> in alt.html). You're making it needlessly hard for yourself using XHTML
> instead of HTML though.


Hmm, quoting gone wrong?

Yup - gave up trying to fix it every time I reply to one of your posts.
Just figgered - either you'd change your settings, or we'd learn to live
with it.
Kinda like top-posting.


> But for *very* few differences - they're the same thing.
> What about using XHTML makes this harder?


Validating to true XHTML (i.e. CDATA in script/style etc., starting with
<?xml ?>). Now, XHTML intended and served as tagsoup HTML, that's not so
much harder, no.

"Tagsoup HTML"?
I've been using XHTML (albeit - not as religiously as I mean to).
Scripting works; posts and gets work; spiders work.
I've had NO problem with validation.

What about XHTML makes that harder?
For what sinkhole am I headed?


  Réponse avec citation
Vieux 08/11/2007, 19h28   #9
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

http://validator.w3.org/check?uri=ht...up=0&verbose=1

I used XHTML 1.0 Transitional and am down to 1 error. (When I started
I had 246 errors!)

The last error is:

Line 380, Column 266: there is no attribute "onerror".

....his page" id="clustrMapsImg" onerror="this.onerror=null;
this.src='http://clu

An image tag with attribute onerror creates an error. Why?

However, http://simpler-solutions.net/pmachin...thinkagain.php
still does not work with its iframe in IE6. That was my initial
question, and I still don't know why. It works in Mozilla Firefox.

Regards,

Jan Nordgreen

  Réponse avec citation
Vieux 08/11/2007, 20h05   #10
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

"However, http://simpler-solutions.net/pmachin...thinkagain.php
still does not work with its iframe in IE6. That was my initial
question, and I still don't know why. It works in Mozilla Firefox. "

That problem has now been solved!

IE6 allows parameters in the src argument in the iframe tag. The
reason why it did not work in IE6 was that I stored the argument in a
session variable and only checked the value the second time the file
was run and I ran Privacy on Medium so , that is the session
variables, were not stored.

Now I have to find out how to store the session variables on the
server so I do not depend on browser settings for .

Regards,

Jan Nordgreen


  Réponse avec citation
Vieux 09/11/2007, 09h27   #11
Pavel Lepin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers


damezumari <jannordgreen@gmail.com> wrote in
<1194546511.776488.72270@t8g2000prg.googlegroups.c om>:
> I used XHTML 1.0 Transitional and am down to 1 error.
> (When I started I had 246 errors!)


Using XHTML in WWW context is an overplay.

Using Transitional-anything for new content leaves a lot of
bad aji.

--
"DAD! DID YOU KNOW THERE WERE RATS UP HERE?"
"'s a'ight, Mortin dun' bite."
  Réponse avec citation
Vieux 09/11/2007, 11h06   #12
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

> Using XHTML in WWW context is an overplay.

What is "WWW context"?
When is XTHML doc type used?

Regards,

Jan Nordgreen

  Réponse avec citation
Vieux 09/11/2007, 11h16   #13
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

On Fri, 09 Nov 2007 11:06:21 +0100, damezumari <jannordgreen@gmail.com>
wrote:
>> Using XHTML in WWW context is an overplay.

>
> What is "WWW context"?
> When is XTHML doc type used?


In environments you can be sure the UA can cope with real XHTML, so no
MSIE6 (haven't checked MSIE7's coping with text/xhtml+xml yet). That would
be limited to intranets and/or specialised sites able to require
particular UA's from their users in a limited access site (user
credentials are checked, with username/password, known static IP, or any
other means).

The only time I apply pseudo XHTML for the WWW is when a client wants to
incorporate Google maps with directions, which pretends to require XHTML.
--
Rik Wasmus
  Réponse avec citation
Vieux 09/11/2007, 11h23   #14
damezumari
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

What is UA?

  Réponse avec citation
Vieux 09/11/2007, 12h08   #15
Pavel Lepin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers


damezumari <jannordgreen@gmail.com> wrote in
<1194602781.103012.31610@z9g2000hsf.googlegroups.c om>:
>> Using XHTML in WWW context is an overplay.

>
> What is "WWW context"?


Publicly available content deployed on the internet and
served over HTTP. As opposed to something deployed in a
closed, controlled environment, such as an application on a
web platform used internally by company employees.

> When is XTHML doc type used?


XHTML is sometimes used as a backend representation of the
content served to the end-users as HTML, or for exchanging
markup between web services. If it is possible to ensure
that only XHTML-aware UA's are used for accessing the
documents, XHTML is occasionally used in web applications
similar to what I mentioned earlier in the post.

The reasons for this have been discussed unto death many
times in the past. GIYF.

--
....also, I submit that we all must honourably commit seppuku
right now rather than serve the Dark Side by producing the
HTML 5 spec.
  Réponse avec citation
Vieux 09/11/2007, 14h01   #16
Kim André Akerø
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

damezumari wrote:

> What is UA?


UA = User Agent, ie. your browser.

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
  Réponse avec citation
Vieux 09/11/2007, 14h44   #17
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

On Fri, 09 Nov 2007 14:01:29 +0100, Kim André Akerø
<kimandre@NOSPAMbetadome.com> wrote:

> damezumari wrote:
>
>> What is UA?

>
> UA = User Agent, ie. your browser.


In most HTTP/PHP cases on the www a browser, it might be something else
though...
--
Rik Wasmus
  Réponse avec citation
Vieux 09/11/2007, 15h35   #18
John Dunlop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: iframes, src parameters, and browsers

Sanders Kaufman:

> "Tagsoup HTML"?


Also 'tag salad'.

A healthy diet would seem to be as acquired a taste as a good dram.

http://www.cs.tut.fi/~jkorpela/www.html#essential

--
Jock

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h40.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18993 seconds with 26 queries