us

Displaying hidden elements like `<head>` using CSS

By default, only the html and the body element (plus its children) of a web page are actually rendered. All information within the head element might be parsed and used by the browser, but most of the time it doesn’t get displayed. If you want to, you can use CSS to display these ‘hidden’ elements.




us

Bulletproof HTML5 `<details>` fallback using jQuery

The HTML5

element is currently not natively supported in any browser natively supported in Chrome 12 and up. This makes it a little hard to guess how exactly this new element will behave, but reading the spec gives us a pretty good idea. While we wait for browsers to implement it, how about we create a fallback/polyfill for browsers who don’t understand
(yet)?




us

Using Showdown/PageDown with and without jQuery

Showdown (also known as PageDown) is a JavaScript parser for Markdown-formatted text. It’s used on this site to generate a formatted preview of your comment as you type it. Showdown is library-agnostic, but fortunately, using it with jQuery isn’t much of a problem.




us

The three levels of HTML5 usage

I was asked to give an introductory talk on HTML5 for the latest Adobe User Group Belgium Web SIG Event. The presentation I ended up with is entitled “HTML5: It goes to ELEVEN” and can be viewed on Slideshare. In this article, I’ll try to write down some of the things I talked about.




us

Using `setTimeout` to speed up `window.onload`

A few days ago, Martín Borthiry contacted me with a question. He had been using the optimized asynchronous Google Analytics snippet for a while, and noticed an additional speed gain when wrapping it inside a setTimeout() with a delay of 0 milliseconds. His tests made it pretty clear that this technique was indeed slightly faster, but Martín had no clue why.




us

Using CSS without HTML

The following article was published on CSS-Tricks as a guest post.




us

Using the `oninput` event handler with `onkeyup`/`onkeydown` as its fallback

HTML5 standardizes the oninput event handler, which should be used to detect user input in JavaScript. Sure, you could use onkeydown or onkeyup instead, but those were never really designed for this particular use case, and it shows.




us

How I detect and use `localStorage`: a simple JavaScript pattern

By now, everyone knows how to detect and use localStorage. However, I’ve been using a seemingly unconventional (but slightly more efficient) technique to do so. Since I haven’t seen it documented anywhere else, here goes!




us

Ambiguous ampersands

In this post, we’ll take a closer look at what happens if there’s an unencoded ampersand that’s not part of a character reference in your HTML code. Is it valid? Is it invalid? And what do “ambiguous ampersands” have to do with all this?




us

Asynchronous stack traces: why `await` beats `Promise#then()`

Compared to using promises directly, not only can async and await make code more readable for developers — they enable some interesting optimizations in JavaScript engines, too! This write-up is about one such optimization involving stack traces for asynchronous code.




us

View: Panic must not blind India to the horror story about to unfold

Since companies even in orange and green zones require components from red zones, the economic disruption has remained, and will remain, massive. The virus is still spreading fast, so economist Neelkanth Mishra estimates that red zones will expand from 130 districts to 181. The answer can’t be to keep shutting down more and more districts.




us

Pfizer to outsource some drug production, focus on coronavirus vaccine

Pfizer and German partner BioNTech SE (22UAy.F) said on Tuesday they have begun delivering doses of their coronavirus vaccine candidates for initial human testing in the United States.




us

166 stranded passengers in Jammu sent to native states in buses




us

Air India issues advisory for US-bound Indian students holding F or M visa




us

Delhi Police nab husband-wife duo involved in snatching




us

Excise duty on liquor increased by 25pc : Assam Industries and Commerce Minister




us

14-day home quarantine must for all returnees: Kerala CM




us

Ajit Jogi's condition extremely serious: Son




us

AMU's academic session to begin in August




us

Congress flays govt on 'confusion' over corona situation




us

Uttarakhand police donates Rs 3 crore to CM relief fund to fight coronavirus




us

Home Minister Amit Shah writes to Mamata Banerjee, says trains with migrants labourers not being allowed into state, "Injustice with West Bengal migrant labourers"




us

JKSRTC bus carrying migrant workers, students leave from Chandigarh on Friday




us

MoooFarm wins Start-up India's Animal Husbandry Grand Challenge




us

Immediate stimulus package of Rs 15 lakh crore needed to overcome Covid-19 impact: CII




us

Woman thrashed over husband’s affair; dies

A woman died during treatment at Patna Medical College and Hospital (PMCH) on Saturday after she was allegedly thrashed by her husband Vinay Ram and other in-laws for opposing his illicit relationship with his aunt and brother’s wife (sister-in-law).




us

No corona cases so far, but para forces cautious

Even as a large number of cases are being reported from para-military forces in other states, Bihar is yet to record any Covid-19 case among the personnel posted in the state.




us

West Bengal reports 92 coronavirus cases today, tally reaches 1,548




us

Two sailors of INS Netaji Subhash in Kolkata tested for coronavirus




us

Injustice to migrants: Shah slams Mamata for not allowing rescue trains




us

Tamil Nadu's coronavirus cases soar to 600




us

TN govt allows tea shops, pvt businesses to open from Monday




us

Coronavirus | Trump praises Texas Governor for rolling back restrictions

‘I am not sure we even have a choice’




us

Coronavirus | Russia virus surge mutes V-Day celebrations

It is now the fifth hardest-hit country with 200,000 infections; Putin hails ‘unity’ in speech marking Second World War win




us

Mizoram becomes coronavirus-free state with recovery of lone patient

Mizoram Health Minister Dr R Lalthangliana said the state's lone Covid-19 patient, a pastor, was discharged from Zoram Medical College (ZMC) on Saturday afternoon after 45 days of intense treatment




us

ICMR teams up with Bharat Biotech Limited to develop coronavirus vaccine

The vaccine will be developed using the virus strain isolated at the ICMR's National Institute of Virology (NIV), Pune, a statement said.




us

Covid-19 Factoid: 80 per cent of cases in lockdown 3.0 from just 5 states

Five nations witness an upward trajectory in new Covid-19 cases while Iran might be seeing a second wave




us

India coronavirus dispatch: States don't have enough money in this battle

From reviving a struggling financial sector, to a spike in cases in Odisha, to making India a Covid-19 testing superpower




us

Covid-19: 25,000 Indians to be repatriated from US, says Ambassador Sandhu

The first flight will be from San Francisco to Mumbai and Hyderabad on Saturday with 200 passengers on board




us

Vizag tragedy aftermath: NDMA issues guidelines for restarting industries

The NDMA guidelines said while restarting a unit, the first week should be considered as the trial or test run period after ensuring all safety protocols




us

Coronavirus LIVE: Five Air India pilots test positive, all are asymptomatic

Coronavirus India update: Stay tuned with Business Standard for latest news on Covid-19, world death toll, and cases across the world and in India




us

Watch Kartik Aaryan's hilarious performance

Kartik Aaryan has been quite active on social media in raising awareness about the pandemic and at the same time requesting all his fans to stay indoors. Not only that but the talented star has also come out in support of the government and contributed to the PM's CARES Fund as well.




us

Virat-Anushka's adorable throwback picture

Anushka Sharma might be away from the silver screen but she is definitely grabbing a lot of attention on social media for all the right reasons. The talented actress is spending quality time with her husband Virat Kohli at home and the two are making the most of the quarantine period.




us

Tusshar on dating advice he got from his mum

On the special occasion of Mother's Day, the 'Golmaal Again' actor opened up about the bond that he shares with his mother and how he plans to spend the special day with his son in an exclusive interview with ETimes.




us

Two buses to ferry stranded people of Naoriya Pakhanglakpa AC

Two buses to ferry stranded people of Naoriya Pakhanglakpa AC




us

Minor sexually assaulted, accused held

Minor sexually assaulted, accused held




us

Coronavirus | Contract workers from Ambur Municipality seek special pay, insurance coverage

AITUC District vice-president S.R. Devadass said though order were passed by the State government for additional incentives for those on the front lines in the fight against COVID-19, this was ‘conveniently ignored’ by municipal officials.




us

Patients housed in Corpn. care centres stage protests

Asymptomatic persons demand better facilities




us

Coronavirus | Andhra’s dire finances drive it to seek Central help

Revenue deficit, COVID-19 burden and industry distress leave State on edge




us

Coronavirus | Delhi government reports less COVID-19 deaths than hospitals

While the Delhi government’s statement says 68 coronavirus-related deaths have occurred in the national capital till Friday, the number of such deaths in just two hospitals in the city that The Hindu accessed was 107