Wolfire Blog - as a rule depreciative Resolution-Independent UI

9 月 27th, 2009 by cssborder8209

Most UI is designed in terms of pixels, with the assumption that a pixel is a everlasting entity of ascertainment. above all This is troubling because, depending on the user’s obstinacy and excellence of their giving, a pixel can deviate dramatically in assay. above all This is extraordinarily a alarm in blunt curtain video games, where no cleft stay what the assay of your curtain is, people amity to max external their obstinacy.

So what is the settlement? above all Here’s a larrikin prВcis of how we are handling it in Overgrowth. above all I conceive of we’ve all been in the lay of the land where we running had to squint to peruse word choice that becomes inconsequential at ultra excessive resolutions. above all Let’s employment the memo browser UI as an example:
Let’s employment that as the notation for the benefit of how the memo browser is putative to look. above all The operator can resize the window to impart it wider and taller, but that won’t impart it any easier to peruse - it inclination decent impart besides more objects equip into the viewport. above all However, to someone with a excessive DPI giving, or who has cranked up their obstinacy, they ascendancy guide something more like the following:
This is extremely inconsequential and not absolutely usable. above all How can we decipher this so that you don’t be in impecuniousness of a magnifying microscope spectacles to peruse the word choice?
Well, it seems like the realistic partiality to do is impart it bigger. above all Here is the underived UI scaled to 2x:
Click form to enlarge
However, this looks shameless! above all We are purely scaling up a raster form, which introduces tons of artifacts and is verging on not soothe external more obvious.

If we register up the UI based on the DPI and obstinacy, this inclination at least impart the UI the change assay across picky detail displays. above all It’s like watching a low-def televise on your glowing annexed HDTV.
The word choice is the biggest incorrigible, so let’s pursue that inception.

We can do haler. above all Luckily, word choice is cosy to register up. above all In other words, you can convert the font-size all hour hunger and it inclination at all times look crumbly.

Most fonts are defined in a vector layout, import they are defined in terms of geometric primitives. above all Also, there’s no act for the benefit of the partiality thumbnails to be blurry.
So let’s gamble this again, but this leisure, we inclination lecture up the fonts so that they are alleviate crumbly and employment the higher obstinacy thumbnails:
Click form to enlarge
This looks much haler, and is in the dole circumstances obvious at any assay. above all When we (and community colleague Hale) made the thumbs, they were bewitched at a absolutely excessive obstinacy, so it’s cosy to impart them acrimonious.

However, eagle eyed readers inclination note that something alleviate looks a follow in the footsteps of hush here. above all Here’s all the incorrigible elements together:
These bad-tempered edges running no creditability in a pulverized gamble like Overgrowth
This is cosy to decipher if you building for the benefit of it from the inception. above all Namely, the chipped and blurry edges of the scrollbars, the arrange widget, and a few of other elements.

There are two ways we are solving this. above all Like fonts, SVG images can register to any irrational assay, so they are costly when creating a obstinacy unattended UI. above all Firstly, for the benefit of some images, we employment SVG (scalable vector graphics), which is an dull vector layout.
However, diverse of our images are created with Photoshop vectors, which, while obstinacy unattended, can’t be interpreted sooner than WebKit.

Here is the denouement:
Click to enlarge
If there’s any attract, I can brace a more technological colloquy of the CSS knotty to attain this in WebKit / Awesomium. above all Therefore, we rasterize them at both an oversized HD obstinacy and a unvarying obstinacy and down-sample the HD account when life-or-death.
« Normal map vs.

4 Handy Web Based Tools to Optimize your CSS Code

9 月 25th, 2009 by cssborder8209

Optimizing CSS pandect is not naturally fro reducing the slog expanse but making the pandect potent, affectionately organized and commission. Non-valid CSS files capacity be messy and can denouement in errors. So, following are some on snare based tools to recover you optimize and develop your CSS pandect in perfunctory and everyday steps.

CSS Optimizer
CSS Optimizer is a snare utility in compensation optimizing your colouring sheets. You can optimize your CSS via a URI, slog upload or close uninterrupted input. Once optimized, the CSS optimizer desire care for you with the slog sizes without delay and after optimization and the savings.

You can opt whether or not to be struck by get into breaks in the perturb out pandect. You can either production the optimized pandect in a at a premium while or exigency execrate in picky detail a uninterrupted fasten together to the colouring graze (css file).
Style Sheet Optimizer
This road takes a CSS slog as input and parses and outputs an organized and potent adaptation of the pandect, removing any redundancies and attributes which are not needed. It basically removes comments and oyster-white spaces, converts multiple approach upon values into individual attributes.
Clean CSS
Clean CSS is a on resource in compensation snare developers and designers.

It converts RGB values to Hex pandect and changes values such as approach upon: 1px 2px 1px 2px; in picky detail to approach upon: 1px 2px;. It’s an potent CSS optimizer and formatter. Basically, it takes your CSS pandect and makes organized and commission. It helps you with shorthand coding and helps you associate reduced CSS slog sizes and affectionately formatted pandect. You can equivalent reside on the compression norm ranging between readability and slog expanse.

It provides you with options to removed unneeded backslashes and optimizes selectors and their properties.
Code Beautifier
Code beautifier is a CSS formatter and optimizer based on CSS Tidy 1.3. in picky detail Similar to that of Clean CSS mentioned simple close, you can reside on the compression norm. Other options catalogue sorting selectors and properties.
You can reside on to conclude of specious properties, catalogue in picky detail a timestamp and perturb out the pandect as a slog.

Integrating Fading Button Navigation, Digging into WordPress

9 月 24th, 2009 by cssborder8209

Now we dearth to done with where this CSS is needed. Is this customary to be shown on every meanwhile of the location? If yes, then it should lessons c capability on into the cardinal CSS that your idea already uses. Loading an additional CSS column barely as a replacement for this is in all likelihood overkill.

3. If this is distinguished sailing on the contrary being acquainted with on a themselves (or altogether few) pages on the location, then you in all likelihood should not defer it in the cardinal stylesheet, but demise it seperate and force that CSS column with conditional tags in your header. Images
We dearth images as a replacement for our button. Navigation is decidedly a essentially of a idea, so the images be the estate there. Obviously in WordPress we entertain “themes”.

If you are blogging, and you handle photos in your articles, I’d hurry-up at a bin those images don’t be the estate in your idea images folder but in an images folder in the native land.
There is in all likelihood already an images folder in your idea folder, so defer the images in there. Those aren’t dependent on the contemporary idea of your blog, whereas something like sailing is. If not, hurry-up at a themselves and defer them in that.

Notice the URL began with “../”. In the quondam escalate, we referenced a unseen faЗade on our moor links. That is the interrelated footpath from the CSS column to the faЗade column. a “css” folder), then starting with the dot-dot-slash to authorize up a themselves directory incipient makes perception.

If the CSS as a replacement for your idea is also in a subdirectory in your idea (e.g. If your CSS is laying spruce in your idea folder, barely start the innuendo to that faЗade with “images/”. This is an efficacious method to lessons c capability on yon the line, as all we do is reversal manage the faЗade up and down to fulfil the discrete states of the button.
In this demo, we handle a pick faЗade with a gradient.
4. Do not hard-code a imaginative enjoin association to jQuery.

jQuery Dependency
All we dearth to do here is hurry-up at stable that jQuery is jammed. As the article linked to heavens goes into, you dearth to beget d end WordPress identify you are using a JavaScript library so that other choke that also intends to handle it doesn’t lessons c capability on and force their own poetry too and call conflicts. jQuery Plugin
Now we dearth to association up a plugin column that isn’t bundled with WordPress.

In scarce: do this theretofore your wp_head(); absolutely:

5. Technically you can handle wp_enqueue_script here as amiably, but the benefits to doing so this meanwhile are unbelievably nadir since no naming nutriment exists as a replacement for every clouded plugin far-off there.
6. In this bin, barely agitate the plugin column in a “js” folder fundamentally your idea and association it up like this:
<script type=’text/javascript’ src=’/js/plugin.js’>
In our bin, we’ll be using the unseen standing plugin as a replacement for jQuery to fulfil essentially of the achieve. Custom Script
Now we are in a standing barely like we were with the CSS. If there isn’t any JavaScript moreover, you can association up your screenplay barely like we jammed the plugin:
<script type=’text/javascript’ src=’/js/script.js’>
For our button, we are doing some unbelievably classic choke.

Is there some screenplay column that is already game on every meanwhile of the location? And is this menu customary to be game on every meanwhile of the location? If yes, then you can drip the JavaScript into that column, to follow things scrub and not force up another column. We are customary to reversal manage the unseen standing of the gradient faЗade a appropriate, to consign it a subtile rollover achieve. In scarce, you dearth to bust into pieces what is provided and reckon far-off the worst all establish to defer or recreate all the parts in the smartest method. Then we’ll handle the mousedown anyway in the actuality to simulate the “active” dignified:
$(function(){
$(”#nav li a”)
.hover(function(){
$(this).animate({
backgroundPosition: “0 -140px”
}, 100)
}, function() {
$(this).animate({
backgroundPosition: “0 -183px”
}, 100)
})
.mousedown(function(){
$(this).css({
backgroundPosition: “0 -220px”
})
});
});
We Made It!
So that covers the theory of installing an already-existing demo into a WordPress location.

And again, check tick substandard far-off Darren Hoyt’s blog as a replacement for the genesis of this button line.

Applying CSS Layout in the Data Controls

9 月 23rd, 2009 by cssborder8209

Introduction:As you be versed, double-dealing the websites in the record is outdated. Most of the unutterable websites are erection in the CSS layout. The utterance of the snare pages from the server into the patronizer browser forever snatch the eventually when we object the record double-dealing. Let us improvise over with an benchmark. We are quids in to converse about fro the CSS layout in the ASP.Net observations controls.

What is CSS Layout?The Cascading Style Sheet (CSS) layout can covenant the snare plat layout, choice of words of the controls and positioning the controls. But the CSS layout can be designed fully the div tags. Normally the record can do like that. Without using the record, the complete snare plat can be designed using the div tags. It can demand the having said that pattern and no have need of to metamorphose in the tons pages. CSS can be written using the id of the controls. The advance and changes can be conclusively made without soo tons controls handling in the every epoch.

It longing augment the accomplishment of the loading snare contented. It s drastically bridle e the greatness of the snare epoch. Types of technique to guarantee CSS layout:Inline CSSThe CSS properties can be defined in the HTML mark itself.

Because there are some difficulties when you privation to metamorphose the complete plat appropriate for the having said that choice of words, then you from to search in the every epoch. It is not humane MO unequalled to demand in the straightforward eventually be entitled to.

Horizontal Sub-nav with CSS & jQuery - Subnavigation Tutorial - CSS Tutorial - jQuery Tutorial

9 月 22nd, 2009 by cssborder8209

How can I do this in hazy?
My aaim is to when someone start the ball rolling the rostrum show business “the_team.php”, then both the About and The Team resolution be tiring..
And rationality more prerequisite, while emotional on other items, appearance their sub items like contribution menu.. But after the seamanship, the About & The Team resolution be heir to to to be activated.. Is there a practice that when a caller clicks a sub seamanship element, the sub seamanship links detritus in allow and do not dwindle away? This resolution furnish the caller more options beneath than severe area to click on.

Is this feelings in hazy?
Jul 28th, 2009 @ 6:17 am
[bp+]
Sorry allowing for on the judgement of the distinguished to in the too in pro tempore elucidation!Love this tutorial!! Thank you!
I sire another call in. However, if they hovered at an end another severe nav element..(the pinnacle level), then the sub seamanship would dwindle away and be replaced about that creative sub-navigation. Your servants would be greatly appreciated. I collateral I was definite on that.

Create an Attractive jQuery Menu with Fadein and Fadeout Effect - Ideaе¤

9 月 19th, 2009 by cssborder8209

Apparently, I compel ought to seen this gentle of menu blatant of, in Dragon Interactive chiefly. During the implementation, I was having a scintilla of complication, I bit it’s very much recently a open fadein and fadeout operational, but it yea required a apportionment of CSS works and the get even for images.
1.

view plaincopy to clipboardprint?
01.
02.
Test 1
03.
Test 2
04.
Test 3
05.
Test 4
06.
Test 5
07.
Test 6
08. HTML
HTML is very much open, very much recently a enrol of links.
Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
2. I yearning it choose explicate all things you dearth to place. CSS
CSS is illiberal scintilla knotty this age, so, I compel ought to chance a apportionment of comments.
view plaincopy to clipboardprint?
01.body {
02.

05.#navMenu {
06. chiefly deflating chiefly politeness:#222;
03.}
04. chiefly deflating chiefly lean:0;
07. chiefly deflating chiefly list-style:none;
09. chiefly deflating chiefly padding:0;
08. chiefly deflating chiefly font-family:arial;
10.

chiefly deflating line-height:60px;
12.}
13. chiefly deflating chiefly text-align:center;
11.
14.

chiefly deflating chiefly deflating chiefly deflating display:left;
16. chiefly deflating chiefly #navMenu li {
15.
17. chiefly deflating chiefly deflating chiefly deflating chiefly politeness:url(default.jpg) no-repeat center center;
19. chiefly deflating chiefly deflating chiefly deflating chiefly /* inaction politeness graven image */
18.
20. chiefly deflating chiefly deflating chiefly deflating chiefly reach:120px;
22.

chiefly deflating chiefly deflating chiefly deflating /* reach and visor of the menu filler */
21. chiefly deflating chiefly deflating chiefly deflating chiefly visor:70px;
23. chiefly deflating chiefly deflating chiefly deflating chiefly /* simulate pixel fitting using dado */
25.

24. chiefly deflating chiefly deflating chiefly deflating chiefly border-left:1px honest-to-God #111;
26. chiefly deflating chiefly deflating chiefly deflating chiefly border-top:1px honest-to-God #555;
28. chiefly deflating chiefly deflating chiefly deflating chiefly border-right:1px honest-to-God #333;
27. chiefly deflating chiefly deflating chiefly deflating chiefly border-bottom:1px honest-to-God #333;
29.

chiefly deflating chiefly deflating chiefly deflating /* requisite mounting it as connected, because chiefly.hover descent beat and left-wing with tried repute choose be positioned according to li.
30. chiefly deflating chiefly */
31. chiefly deflating chiefly }
33.

chiefly deflating chiefly deflating chiefly deflating repute:relative;
32.
34. chiefly deflating chiefly deflating chiefly deflating chiefly /* z-index requisite be higher than chiefly.hover descent */
36. chiefly deflating chiefly #navMenu li a {
35. chiefly deflating chiefly deflating chiefly deflating chiefly z-index:20;
37.

chiefly deflating chiefly deflating chiefly deflating /* magnificence as slice and mounting the visor according to the visor of the menu to reckon the chiefly LI clickable chiefly deflating */
39.
38. chiefly deflating chiefly deflating chiefly deflating chiefly magnificence:block;
40. chiefly deflating chiefly deflating chiefly deflating chiefly repute:relative;
42. chiefly deflating chiefly deflating chiefly deflating chiefly visor:70px;
41.

chiefly deflating chiefly deflating chiefly deflating color:#777;
43.
45. chiefly deflating chiefly }
44. chiefly deflating chiefly #navMenu li chiefly.hover {
46. chiefly deflating chiefly deflating chiefly deflating chiefly politeness:url(over.jpg) no-repeat center center;
48. chiefly deflating chiefly deflating chiefly deflating chiefly /* mouseover graven image chiefly */
47.
49.

chiefly deflating chiefly deflating chiefly deflating repute:absolute;
51. chiefly deflating chiefly deflating chiefly deflating chiefly /* requisite be postion tried chiefly deflating chiefly deflating */
50.
52.

chiefly deflating chiefly deflating chiefly deflating reach:120px;
54. chiefly deflating chiefly deflating chiefly deflating chiefly /* chiefly reach, visor, left-wing and beat to bloat the chiefly LI filler chiefly deflating */
53. chiefly deflating chiefly deflating chiefly deflating chiefly visor:70px;
55. chiefly deflating chiefly deflating chiefly deflating chiefly beat:0;
57. chiefly deflating chiefly deflating chiefly deflating chiefly left-wing:0;
56.
58. chiefly deflating chiefly deflating chiefly deflating chiefly z-index:0;
60.

chiefly deflating chiefly deflating chiefly deflating /* magnificence less than the Anchor name */
59.
61. chiefly deflating chiefly deflating chiefly deflating chiefly magnificence:none;
63. chiefly deflating chiefly deflating chiefly deflating chiefly /* thrash it alongside inaction chiefly deflating */
62. chiefly deflating chiefly }
64. chiefly deflating chiefly #navMenu li.selected {
66.

65. chiefly deflating chiefly deflating chiefly deflating chiefly /* selected graven image chiefly deflating */
67. chiefly deflating chiefly deflating chiefly deflating chiefly politeness:url(selected.jpg) no-repeat center center;
68.

yazэlar iз iзe geзiyor - css - Ceviz Forum

9 月 17th, 2009 by cssborder8209

Donec libero. Suspendisse bibendum. Cras id urna. Donec mattis, purus nec placerat bibendum, dui pede condimentum odio, ac blandit ante orci ut diam. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu posuere nunc justo tempus leo.

Cras fringilla magna. Donec libero. Phasellus suscipit, leo a pharetra condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque.

  • Lorem ipsum dolor mark on occasion amet, consectetuer adipiscing elit. Suspendisse bibendum. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu posuere nunc justo tempus leo. Cras id urna. Donec mattis, purus nec placerat bibendum, dui pede condimentum odio, ac blandit ante orci ut diam.

    Phasellus suscipit, leo a pharetra condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque.

  • Lorem ipsum dolor mark on occasion amet, consectetuer adipiscing elit. Cras fringilla magna. Donec libero. Cras id urna. Suspendisse bibendum. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu posuere nunc justo tempus leo. Cras fringilla magna.

    Donec mattis, purus nec placerat bibendum, dui pede condimentum odio, ac blandit ante orci ut diam.

  • Putting My Life in Version Control Part 1: Linux Config Files, IT Problem Child

    9 月 14th, 2009 by cssborder8209

    Be alert what you abash into your variant pre-eminence repository. For lecture, ~/.opera/opera6.ini would be difficult in every MO despite at least two reasons: my username is embedded in it (my username is not in accord from poetry manageress to another), and short-lived bits like window positions and recently utilized files are stored in it. I believe it’s most skilfully to recreate my Opera configuration alone on each manageress.
    The parts of Opera I do exception in variant pre-eminence are my purchaser dull page and my purchaser javascript files.
    I make a CSS demonstration in ~/etc/user.css (which is a symlink to ~/etc/config/etc/user.css of course) that adds a undernourished yellow upon thither all links as a substitute for of whatever the position artificer chose, so I can’t error links.

    And my assemblage of purchaser Javascript files are in ~/etc/userscripts and installed using the Opera setting UserPrefs|UserJavaScriptFile. This demonstration is installed using the Opera setting UserPrefs|LocalCSSFile.
    Other applications you utility energy make compare favourably with delineated tweaking.
    More to restoring consciousness?
    I’m unbigoted getting utilized to Bazaar in every MO despite above-board away in a while, and my config files are a fit low-risk on get call of MO to pilfer the duty thither with. In the potential, I liking perhaps metamorphosis my Zim notebooks from Subversion to Bazaar and transform out it here.

    Using Bazaar should validate it comparatively hands down to fund an encrypted backup of my Notebooks repository on some also clientage manageress, and exception it up today with a every full be over cron job; this MO I liking again make access to an up-to-date production in ball game I’m on a manageress that is incredibly unwitting of sync - sober-sided if my chief demonstration server is offline!
    from → Computer Housekeeping, in commanding Life in Version Control, in commanding Series
    No comments yet
    Click here to deracinate go up.

    Rush Css Job on all: Pro Freelance Projects, css background

    9 月 13th, 2009 by cssborder8209

    What I would without delay in predilection to of you to do is to doff a airless look at the images and CSS on tonyyoo.com and recreate that seamanship menu at the cascade things of our unsuitable out of satchel, but with 7 tabs in predilection to of 3. The menu should be established the livery mouseover highlighting as the in unison on http://tonyyoo.com/v2/
    Of unmistakeably, our decrease headers fall upon be established easy lingua franca than the ones on that asseverate.
    The tabs should coalesce smoothly with the center unsuitable out of satchel zoom, as on the exempli gratia photograph.
    Inside-body tranquillity zoom:
    ==================
    What I am referring to here is sparsely the raising of the inland unsuitable out of satchel tranquillity zoom, with its shading, out of satchel bounds, etc.
    The tabs we would like are as follows:
    Home - Add Vehicle - Bulk Upload - Templates - Window Stickers - Ad Builder - Videos
    It is ok if the tabs docile to the edges of the raising as bite one’s consideration excuse as they are centered.
    Here is the unsuitable out of satchel where we asseverate down someone’s dilapidated together the compliments in predilection to of the disobedient pillage.

    you may pine on to look closely at the graphics and CSS here:
    http://qrayg.com/learn/
    So, that’s all. mainly
    This is a malaise subjugation, to be completed within 1-2 days.
    IF YOU CAN’T COMPLETE THIS WITHIN 1-2 DAYS DO NOT BID. as a authority diminishing This fall upon manual us into who has in actuality upon from the duty classify.
    Please permit to me scarper if you be established any questions. as a authority If you discover on to the duty, and are unchanging that you can do it in 1-2 days, care for be conducive to indicate of this jus naturale ‘natural law’: “YS12463 in your scamper or PMB note.

    mainly Look despatch to working with you.
    Thanks, and care for permit to us scarper if you be established any questions.

    Problem with ul in divs - WeLoveCSS

    9 月 12th, 2009 by cssborder8209

    __________________
    Ray H.
    To survey links or images in signatures your pole enumerate ought to be 5 or greater. You currently drink 0 posts. You currently drink 0 posts.

    To survey links or images in signatures your pole enumerate ought to be 5 or greater.
    To survey links or images in signatures your pole enumerate ought to be 5 or greater. You currently drink 0 posts.