TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Intention.js: Rewrites your HTML based on the user's context.

12 pointsby mildweedabout 12 years ago

2 comments

mildweedabout 12 years ago
Allows you to do two things:<p><pre><code> * change around attributes on tags, usually src, href or class * move HTML elements around the page </code></pre> Based on whatever you want (Context.js):<p><pre><code> * Window width * touch capabilities * pixel ratio * [code your own here]</code></pre>
drivebyacct2about 12 years ago
Is this more appropriate than doing the same thing in CSS/@media?
评论 #5592237 未加载
评论 #5592231 未加载