Reply to Re: FF compatible for IE attribute contentEditable

Your name:

Reply:


Posted by Toby Inkster on 09/25/05 19:27

Dung Ping wrote:
> Toby Inkster wrote:
>
>> <iframe id="myelement"
>> src="data:Blah%20%3Cb%3Eblah%3C%2Fb%3E"></iframe>
>
> In above line, is the word 'data' mandatory? What does the
> Blah%20%3Cb%3Eblah%3C%2Fb%3E stand for? I know the the percentage
> symbol plus a number stands for something, but don't remeber what.

IFRAME needs a SRC attribute to tell it where to get its contents.

Normally the source attribute will be "http://...something...", but could
also be "ftp://...something..." or "gopher://...something...". Basically
these are different URL-schemes, which indicate to the browser it should
recieve the file in different ways: using Hyper-Text Transfer Protocol,
using File Transfer Protocol, using Gopher, etc.

In this example, I've chosen to use "data:...something...". This tells the
browser it should retrieve the file by continuting to read the URL.

In this case, it will read:

Blah <b>blah</b>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация