ip

No regrets, my action was in public interest: IPS officer

DM granted bail after cops tell court he gave all the required info in one day




ip

IPS officer sticks to his stand; out on bail, DM told to go on leave

IG, Law and order Anuj Sharma was also present in the meeting.




ip

Trinamool to contest LS polls in Assam, Tripura: Roy

Many leaders and workers of Forward Bloc joined the TMC in Jalpaiguri, a stronghold of the prominent constituent of the Left Front.




ip

Ganguly took pvt case, NGO paid for Pak trip: Mamata to Pranab

This is not the first time that the West Bengal government has raised the issue of Ganguly''s visit to Pakistan.




ip

Mamata strips Partha of industry portfolio

Cabinet reshuffle : Replaces senior leader with Amit Mitra; inducts 2 new faces




ip

HC advocates help AAP membership swell, 15,000 join in Kolkata so far

The cell would be formally set up after January 26, as the membership drive is going on, Bhattacharjee said.




ip

Dip in inflation makes case for rate cut

Survey says global financial conditions continued to remain too fragile to provide any external growth stimulus to the economy




ip

Assam in grip of First Monsoon Fury

The first round of floods that hit Lakhimpur district in eastern Assam last week has already wreaked havoc on the farmers of that district...




ip

Gum at your fingertips!

The exhaustive Dictionary of Indian Plant Gums, Resins, Dyes and Related Products by Dr M I H Farooqi is a unique effort...




ip

No cold chain, litchi trade dips in Bihar

Come litchi season this summer, the Bihar Chief Minister Nitish Kumar would be ready with the customary packets of the fruit...




ip

Punjab tides over dip, with 5.08 pc agri growth

After slipping into the league of least-growing states in agriculture, Punjab has made a turnaround in the last two years....




ip

How Philippines mountain slopes were converted into rich Bt Corn fields

The gentle mountain slopes in this fascinatingly beautiful place at once catch the attention not merely for their idyllic setting and extremely hospitable people....




ip

Saving the day, drip by drip

At Ratu village in Ranchi district, farmers use buckets to pull water from wells to irrigate their fields. Repeating the work in...




ip

Valley''s tulip garden may not bloom this season

Asia''s largest tulip garden, which could also become the world''s largest, is feeling the heat of global warming and the changing weather pattern of the Valley.




ip

Emu rearing takes wing in Manipur

Poultry farmers in the remote hills of Manipur have found two new birds Australian emu (Dromaius novaehollandiae) and turkey.




ip

Punjab tries drip system to water its paddy fields

If successful, it would save paddy growers from depending on erratic monsoon and rapidly depleting ground water.




ip

Basmati needs recipe for exports

Pesticide residue, marketing bottlenecks likely to lead to a decline in exports.




ip

Inspired by Tripura, Assam looks at rubber

The inspiration comes from Tripura, which is second only to Kerala in rubber production in the country.




ip

Assam aims double harvest with multiple cropping

Farmers in Assam, who have traditionally remained content with a single crop per year, now have reasons to go for two or more crops beginning the current rabi season




ip

Dripping with irrigation success

Drip irrigation growing year by year in Maharashtra, bringing rich rewards to farmers and helping save water




ip

Drip irrigation powered by the sun

Punjab launches solar-powered pumps for drip irrigation to save water and power, draws in farmers with 70% subsidy




ip

What is Inzamam doing in England, asks ex-Pakistan skipper

Following Pakistan's dismal performance in the ongoing World Cup so far, the country's former skipper Intikhab Alam has questioned the presence of chief selector Inzamam-ul-Haq in England and said it was the Pakistan Cricket Board's (PCB) mistake to allow him to stay in England at its expense.




ip

Rising costs, political unrest, Covid-19: Triple whammy for tea industry

The tea industry, hit by rising costs, falling prices and political unrest in the North Bengal plantations, is especially vulnerable to the Covid-19 lockdown




ip

AMC stocks turn vulnerable as SIP closure rises to 70% in March

Equity funds account for 42 per cent and 52 per cent of AUMs for HDFC AMC and Nippon AMC, respectively




ip

Statsguru: Why crude oil went berserk last week and is it just a blip?

Oil traded at a negative price on a one-month West Texas Intermediate futures contract, but it didn't for successive months' futures contracts




ip

Varun Beverages extends fall, slips 7% on weak volume growth in March qtr

Organic volumes for the company got severely impacted in the last 10 days of March due to the spread of Covid-19 and the subsequent lockdown restrictions, the company said.




ip

AU Small Finance hits new low, slips 14% in 4 days post March qtr results

Analysts believe the bank will be unable to maintain high AUM growth and will likely see a sharp rise in credit cost & deterioration in incremental deposit mix, amid the current lockdown




ip

HCL provides protective equipment to healthcare workers in Coimbatore

HCL has provided 7,000 PPE kits complying to the SITRA and HLL specifications, 20,000 three-ply masks, 55 liters of sanitizer and two hands-free wash basins to the district administration.




ip

Engineering circuit analysis / William H. Hayt, Jr. (deceased) (Purdue University), Jack E. Kemmerly (deceased) (California State University), Jamie D. Phillips (University of Michigan), Steven M. Durbin (Western Michigan University)

Hayt, William Hart, 1920- author




ip

Fuzzy techniques : theory and techniques : proceedings of the 2019 Joint World Congress of the International Fuzzy Systems Association and the Annual Conference of the North American Fuzzy Information Processing Society IFSA/NAFIPS'2019 (Lafayette, Lo




ip

Difference equations for scientists and engineering : interdisciplinary difference equations / Michael A. Radin (Rochester Institute of Technology, USA)

Radin, Michael A. (Michael Alexander), author




ip

Applied electrochemistry : principles, practices and applications / contributors, Bao-Lin Xiao, Ying-Xue Zhao, et al

Xiao, Bao-Lin, author




ip

Is it all about hips? : around the world with Bollywood dance / Sangita Shresthova

Shresthova, Sangita




ip

Director and actor [videorecording] : passions, process and intimacy / with Dalip Sondhi




ip

Theatricality, dark tourism and ethical spectatorship : absent others / Emma Willis

Willis, Emma, author




ip

Disability, public space performance and spectatorship : unconscious performers / Bree Hadley

Hadley, Bree, author




ip

Feminist visions and queer futures in postcolonial drama : community, kinship, and citizenship / Kanika Batra

Batra, Kanika, 1972-




ip

The Dramatica® dictionary : a compendium of commonly used vocabulary and phrases / developed and edited by Melanie Anne Phillips & Chris Huntley




ip

Beyond the script : take 3 : drama in the English and literacy classroom / Robyn Ewing and Jennifer Simons with Margery Hertzberg and Victoria Campbell

Ewing, Robyn (Robyn Ann), 1955- author




ip

Performance and participation : practices, audiences, politics / edited by Anna Harpin & Helen Nicholson




ip

Real-Time Search in JavaScript

What I meant was scanning the DOM of a page for text equivalents and showing the actual parts of the page, as well as hiding the irrelevant ones. I came up with the technique when I was designing Readerrr’s FAQ page. Take a look at the example:

I have also implemented the solution here on my blog.

How it works

All simple. Let’s take the FAQ page as an example. Here’s a typical markup:

<h1>FAQ</h1>
<div class="faq">
	<input type="search" value="" placeholder="Type some keywords (e.g. giza, babylon, colossus)" />
	<ul>
		<li id="faq-1">
			<h2><a href="#faq-1">Great Pyramid of Giza</a></h2>
			<div>
				<p>The Great Pyramid of Giza <!-- ... --></p>
				<!-- ... -->
			</div>
		</li>
		<li id="faq-2">
			<h2><a href="#faq-2">Hanging Gardens of Babylon</a></h2>
			<div>
				<p>The Hanging Gardens of Babylon <!-- ... --></p>
				<!-- ... -->
			</div>
		</li>
		<!-- ... -->
	</ul>
	<div class="faq__notfound"><p>No matches were found.</p></div>
</div>

I wrote a tiny piece of JavaScript code to handle the interaction and this is how it works:

  1. When the page loads, the script indexes the content of all li’s into browser’s memory.
  2. When a user types text into the search field, the script searches for equivalents among the indexed data and hides the corresponding li’s where no equivalents were found. If nothing found, a message is shown.
  3. The script highlights the text equivalents by replacing phases, for example, babylon becomes <span class="highlight">babylon</span>.

Now, try it yourself:

Demo

Taking it further

Since I chose FAQ page as an example, there are some issues to deal with.

Toggling the answers

It is a good practice to hide the answers by default and show them only when user needs them, that is to say when they press the question:

.faq > ul > li:not( .is-active ) > div
{
	display: none;
}
$( document ).on( 'click', '.faq h2 a', function( e )
{
	e.preventDefault();
	$( this ).parents( 'li' ).toggleClass( 'is-active' );
});

In the CSS part I use child combinator selector > because I don’t want to select and, therefore, to hide the elements of an answer, which may contain lists and div’s.

What if JavaScript is disabled

The user won’t be able to see the answers. Unless you show them by default or develop a JavaScript-less solution. To do this, take a closer look at these fragments of the markup:

  • <li id="faq-1">
  • <a href="#faq-1">

The usage of fragment identifiers enables us to take the advantage of CSS’s pseudo selector :target:

.faq > ul > li:not( :target ) > div
{
	display: none;
}

Furthermore, the real-time search is not possible as well. But you can either provide a sever-side search possibility or hide the search field and so as not to confuse the user:

<html class="no-js">
	<head>
		<!-- remove this if you use Modernizr -->
		<script>(function(e,t,n){var r=e.querySelectorAll("html")[0];r.className=r.className.replace(/(^|s)no-js(s|$)/,"$1$2")})(document,window,0);</script>
	</head>
</html>

I added a class name no-js to <html> element. The <script> part removes that class name. If JavaScript support is disabled in a browser, the class name won’t be removed; therefore:

.no-js .faq input
{
	display: none;
}

The no-js is a very handy technique, you can use it site-wide.

Improving UX

If there is only one list item that matches user’s query, it is a good practice to automatically show the content of that item, without requiring to press the title. To see what I mean, head over the GIF at the beginning of the post.

Hidden keywords

Here on my blog I have a filterable list of blog post titles only. Each post has some related keywords assigned. So, during the search, how do I make an item discoverable even if the title does not consist of a particular keyword? For example, how can I make the entry “Real-Time Search in JavaScript” visible if a user entered “jquery”? Yes, exactly, that is adding keywords and hiding them with CSS:

<li>
	<h2><a href="/real-time-search-in-javascript">Real-Time Search in JavaScript</a></h2>
	<p class="hidden-keywords" aria-hidden="true">jquery filter input html css</p>
</li>
.hidden-keywords
{
	display: none;
}

A simple trick but not always that obvious.


You will find two versions of the code in the source of the demo: without dependencies and jQuery-dependent. These versions are also divided into three groups of code so you can adapt only what your project needs.

Demo




ip

Principles of nano-optics / Lukas Novotny, University of Rochester, New York, Bert Hecht, Universität Basel, Switzerland

Barker Library - TA418.9.N35 N68 2012




ip

Proceed with caution?: concept and application of the precautionary principle in nanobiotechnology / edited by Rainer Paslack, Johann S. Ach, Beate Lüttenberg, Klaus-Michael Weltring

Hayden Library - T174.7.P665 2012




ip

Proceedings of the 13th International Conference of the European Society for Precision Engineering and Nanotechnology: May 27th-31st, 2013, Berlin, Germany / editors, R. Leach, P. Shore ; proceedings compilation, T. Horwood, D. Nyman, D. Phillips, N. Will

Barker Library - T174.7.I59 2013




ip

Proceedings of the 14th International Conference of the European Society for Precision Engineering and Nanotechnology: June 2nd-6th, 2014, Dubrovnik, Croatia / editors, R. Leach ; proceedings compilation, N. Charlton, D. Nyman, D. Phillips

Barker Library - T174.7.I59 2014




ip

Fundamental principles of engineering nanometrology / Richard Leach

Online Resource




ip

Nanotechnology: synthesis to applications / edited by Sunipa Roy, Chandan Kumar Ghosh, and Chandan Kumar Sarkar

Hayden Library - T174.7.N345524 2018




ip

Sub-stoichiometric reductive etherification of carbohydrate substrates and one-pot protecting group manipulation

Org. Biomol. Chem., 2020, 18,3135-3141
DOI: 10.1039/D0OB00252F, Paper
Chiao Wen Chen, Ching Chi Wang, Xin Ru Li, Henryk Witek, Kwok-Kong Tony Mong
Polymethylhydrosiloxane (PMHS): a sub-stoichiometric reducing agent for reductive etherification of carbohydrate substrates and its application for one-pot protecting group manipulation
The content of this RSS Feed (c) The Royal Society of Chemistry




ip

Photocatalytic xanthate-based radical addition/cyclization reaction sequence toward 2-biphenyl isocyanides: synthesis of 6-alkylated phenanthridines

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00136H, Communication
Pedro López-Mendoza, Luis D. Miranda
A photocatalytic xanthate-based radical addition/cyclization reaction cascade toward 2-biphenylisocyanides is described as a practical and modular approach to 6-alkylated phenanthridines.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




ip

Discrimination of cellular developmental states focusing on glycan transformation and membrane dynamics by using BODIPY-tagged lactosyl ceramides

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00547A, Paper
Kenta Arai, Atsuko Ohtake, Shusaku Daikoku, Katsuhiko Suzuki, Yukishige Ito, Kazuya Kabayama, Koichi Fukase, Yoshimi Kanie, Osamu Kanie
Different cellular states were discriminated by analysing either the glycan transformation of exogenously introduced fluorescently tagged probe molecules or fluorescence recovery after photobleaching before conversion.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry