Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19686

Re: Set iframe src without default.

Date 2013-05-08 16:53 +1000
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: Set iframe src without default.
References <ouydnaJoPKrz5hTMnZ2dnUVZ_v2dnZ2d@westnet.com.au> <XnsA1BAC97A6977eejj99@194.109.133.133> <fMKdnYzEd8W-WRTMnZ2dnUVZ_q6dnZ2d@westnet.com.au> <kmcoju$v7q$1@dont-email.me>
Message-ID <aOCdnTSpDbHmaxTMnZ2dnUVZ_r-dnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


On 8/05/2013 3:45 PM, Jukka K. Korpela wrote:
> 2013-05-08 6:18, Andrew Poulos wrote:
>
>>> If you must, perhaps:
>>>
>>> <iframe id='myIframe' style='display:none;'></frame>
>>> <noscript><iframe src='blah.htm'></frame></noscript>
>>>
>>> and have script fill the source of the first iframe and change the
>>> display?
>>
>> I've not used NOSCRIPT much but it appears that I can use the same ID
>> for an element within the NOSCRIPT and without.
>
> No, you cannot; id attribute values must be unique within a document.

Ok, though my debugger does not complain.

> Using <noscript> is generally a bad move, except perhaps in simple cases
> where its only purpose is to tell users with scripting disabled that the
> page just won't work without scripting.

Google says that the only "bad" thing about NOSCRIPT is if you put links 
within a NOSCRIPT element Google will treat them with suspicion. What am 
I missing?

Andrew Poulos

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 08:08 +1000
  Re: Set iframe src without default. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-05-08 01:14 +0200
    Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 13:18 +1000
      Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 08:45 +0300
        Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 16:53 +1000
          Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 10:25 +0300
  Re: Set iframe src without default. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-05-08 08:50 +0300
  Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-08 10:25 +0200
    Re: Set iframe src without default. Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-05-09 00:12 +0200
      Re: Set iframe src without default. Christoph Becker <cmbecker69@gmx.de> - 2013-05-09 02:06 +0200
        Re: Set iframe src without default. Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-05-09 11:34 +0200
          Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-12 17:46 +0200
  Re: Set iframe src without default. Stefan Weiss <krewecherl@gmail.com> - 2013-05-08 11:35 +0200
    Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-08 20:58 +1000
      Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-08 14:33 +0200
        Re: Set iframe src without default. Andrew Poulos <ap_prog@hotmail.com> - 2013-05-09 10:10 +1000
          Re: Set iframe src without default. Tim Streater <timstreater@greenbee.net> - 2013-05-09 09:33 +0100
          Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-09 12:26 +0200
      Re: Set iframe src without default. Matt McDonald <matt@fortybelow.ca> - 2013-05-08 18:52 -0400
        Re: Set iframe src without default. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-09 12:30 +0200

csiph-web