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


Groups > comp.lang.javascript > #19686

Re: Set iframe src without default.

X-Received by 10.224.200.202 with SMTP id ex10mr6860040qab.8.1367996027983; Tue, 07 May 2013 23:53:47 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!m7no3428087qam.0!news-out.google.com!y6ni20667qax.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail
NNTP-Posting-Date Wed, 08 May 2013 01:53:46 -0500
Date Wed, 08 May 2013 16:53:40 +1000
From Andrew Poulos <ap_prog@hotmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version 1.0
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>
In-Reply-To <kmcoju$v7q$1@dont-email.me>
Message-ID <aOCdnTSpDbHmaxTMnZ2dnUVZ_r-dnZ2d@westnet.com.au> (permalink)
Lines 28
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 124.169.145.212
X-Trace sv3-pA4dFSpVonuudR3BJFlQ5Ydtz9kCtdFAlFj/kwLhXV1bx/jVIgcSSvUVcmIk0TCVSA5Wv/5ym05m/OW!7EDht2pt0IyuBclr4dIjOW5y5PA5Pj9W6pGvNi27A/h11cPNG25hPesDREcehaMIh14DxuJ34fEk!73UZmgxGT1M3G/mHHlcEopw=
X-Complaints-To abuse@westnet.com.au
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2259
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Xref csiph.com comp.lang.javascript:19686

Show key headers only | 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