Tony A. <you.dont (AT) need (DOT) to.know> scripsit:
Quote:
Quick question - would I be right in saying that urls in for example
css content or background-image elements cannot be a javascript: or
data: type urls? Doesn't seem to work in Firefox 1.5, just wondering
if that's explicitly specified anywhere. |
The javascript
: pseudo-URL format is not specified in any published
specification. Most current browsers support this hack in HTML links but
hardly elsewhere.
The data: URL format is in principle standardized, but browser support to it
is limited in HTML and might be nonexistent in CSS constructs. Use http:
URLs instead, making them refer to server-side scripts when needed. (You can
embed data into such a URL, into the query part, naturally assuming that the
script is written to process and use the data to generate the resource it
sends back to the browser.)
--
Yucca,
http://www.cs.tut.fi/~jkorpela/