Isn't that kind of what WPF is?
Printable View
In the description yes, in application no; WPF uses XAML this mini-language would not have any kind of markup. JQuery would actually create the DOM elements and their styles.
Technically, you can do that anyways.
The bigger problem is what to do when JS isn't supported. Websites are generally designed to fail in somewhat graceful fashion, though a graceful fashion is becoming less fasionable as the fashion fascists fade from the scene. Still, sites are supposed to be at least semi-useable without JS enabled in a browser.
Right now, you could do that with JQuery, but you'd have to have one minimal piece of HTML with the document tags and probably a single span element with something like "This site is meaningless without JavaScript enabled."
That is a good point, there should be a property in the Document like this:
Code:Document.JavaScriptError = "This document is meaningless without JavaScript enabled."
You could just make that the default HTML that shows if the initial JS function to hide it fails.
I've only got one site that is really public facing - I wonder how ugly it is with JS disabled...
Yuk :(
omg gross!
lol jk my bff jill
Title.....
I have one that is almost entirely driven by JS. If that fails for any reason, the whole thing is a mess, because everything gets written at once. Normally, the JS hides most of the elements and only shows them on demand. Without JS, they ALL show.
og
http://og
And so the alarm clock thought... "Wheels within wheels.". "I unwind therefore I am."
I haven't used an alarm clock in about a year. If my clock could talk, it would be ticked.
Thanks for chiming in. ;)
Were you alarmed?
Attachment 135867
Lol on mendhak's age.. :-D
lol thank you for pointing that out!
That's one OLD frog!!
It's the frog of old age.