FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to transfer value to iframe?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: resolved?? Re: How to transfer value to iframe? [message #183162 is a reply to message #183138] Fri, 11 October 2013 11:05 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Norman Peelman wrote:

> On 10/10/2013 07:43 PM, richard wrote:
>> On Thu, 10 Oct 2013 18:13:30 -0400, Norman Peelman wrote:
>>> On 10/10/2013 01:01 PM, richard wrote:
>>>> On Wed, 9 Oct 2013 22:32:22 -0400, richard wrote:
>>>> > http://mroldies.net/200/audiox.php
>>>> >
>>>> > First, the sound will work only in firefox.
>>>> > So don't go bashing me for that.
>>>>
>>>> <?php
>>>> $number=$numbers[0];
>>>> echo '<iframe id="x1" src="audiox1.php?asong='.$number.'"
>>>> name="alpha"></iframe>';
>>>> ?>
>>>> […]
>>> No need to quote the *values*, they are sent as text. Not sure what
>>> you're doing with -alpha-, I assume it is a variable as well...
>>
>> BULLSHIT!
>> target="alpha" is a valid attribute, it is not a value.

It is a Valid attribute with a value specified.

>> And there is no $ needed in the values section.

What is the “values section”?

> What in the world are you talking about? This has nothing to do with
> the -target- attribute. You said 'At least the first number is now
> displayed.' so I thought you would eventually substitute "alpha" with
> some variable content so I suggested it that way, also fixing your URL
> by adding the '&' between them.

You would use “target="alpha"” to display the result of navigation or form
submission in an “iframe” element with “name="alpha"” instead of the source
window, as the OP apparently intended. ISTM you need to brush up on your
HTML knowledge quite a bit.

< http://www.w3.org/TR/2012/CR-html5-20121217/links.html#attr-hyperlink-targe t>
<http://www.w3.org/TR/2012/CR-html5-20121217/forms.html#attr-fs-target>
< http://www.w3.org/TR/2012/CR-html5-20121217/embedded-content-0.html#attr-if rame-name>


PointedEars
--
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
-- Richard Cornford, comp.lang.javascript, 2011-11-14
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: please unsubscribe me
Next Topic: Can't change upload_max_filesize
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 08:24:44 GMT 2024

Total time taken to generate the page: 0.04925 seconds