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.
When it is wet out I wear a london frog overcoat.
I just wear the frog.
It's attached using ribbets.
Sounds like Your frogging a dead horse. Warts and all.
I hopped to avoid joining in but in the end I toad the line.
So I found the "Stop a Douchebag" YouTube videos.
They're funny.
Apparently a lot of people in Russia think that it's OK to drive on the sidewalk.
So these guys try to stop them and get them to back out, if they don't then they slap this huge sticker blocking the view of the driver that says something along the lines of "I'm inconsiderate and drive where I want to"
In Russia the sidewalk drives on you.
The guy who invented the email died... Thanks Bing!
A sidewalk is a strip of concrete where you must walk sideways and only sideways.
Oh, I always sidestep those.
We ought to tip toe around this subject.
You're all on crack!
All y'all*
I've seen the buffalo roam, and I've seen the deer and the antelope play, but the areas don't appear to overlap at all. This has been troubling me for a couple decades, now. I just don't know where to get me a home.
I saw a squirrel that had no hair except for a little 'soul patch' on it's neck. I realize that there's a trend, especially in America, of shaving off body hair, but when the squirrels start doing it...that's just going a bit too far, if you ask me. The thing looked like a naked mole rat. Some things are just a bit more appealing with a bit of hair.
Olympic divers photoshopped onto a toilet...
Attachment 135909