ky

Sulfur-doped g-C3N4/V2C MXene Schottky junctions for superior photocatalytic H2 evolution

J. Mater. Chem. A, 2024, 12,30429-30441
DOI: 10.1039/D4TA05929H, Paper
Haitao Wang, Jipeng Fan, Jing Zou, Yujie Zheng, Dingsheng Wang, Jizhou Jiang
An advanced sulfur-doped g-C3N4/V2C MXene (SCN/V2C) Schottky junction HER photocatalyst was prepared via vacuum ball milling and subsequent annealing.
The content of this RSS Feed (c) The Royal Society of Chemistry




ky

Kyle Hamilton, Isaiah Likely not spotted at Tuesday practice

After defeating the Bengals last Thursday, the Ravens got back on the field for an extra practice on Tuesday in advance of their Week 11 matchup with the Steelers.




ky

How to play Ricky Casino Slots

  Table of Contents The main features of running slot machines Ricky Casino Ricky Casino Gaming 5 best practices for successful gaming at online casinos Slot machines are different from previous models While in old slot machines 3, 5 reels are available, in new games there are often Every Monday you’ll get a portion of […]




ky

Ducky Luck Casino Deposit Options

  Table of Contents Rules for choosing an online Ducky Luck Casino Playing at the casino for money prefers every second Ducky Luck Casino Attractive starter promotions, a commendable loyalty program Roulette with a live dealer The main sign of a casino with payback Other selection criteria Customer service and contact details Ducky Luck Casino […]




ky

Are You Really Going to Get Paid at Skycrown Casino?

  Contents Latest Skycrown Casino offering prompt payouts and withdrawals What do you mean by games? Explain to me how a cryptocurrency casino is different from a traditional casino Depositing money and taking it out Best casinos available to play at online in 2023 Bonuses that are being offered A look back at the history […]




ky

How India’s first woman mining engineer cut a rocky path for herself

From braving ‘roof collapses’ to the lack of basic amenities in coal mines designed for men, engineer Akanksha Kumari scripts an inspiring tale of passion and grit




ky

Whisky emerges as top choice for younger consumers in India

Trend driven by youth in the workforce; Indian whisky market is projected to reach ₹2,45,180 crore by FY 2028




ky

Scientists uncover Milky Way’s ancient building blocks, Shakti and Shiva

Shakti and Shiva are comprised of stars with similar chemical compositions, formed 12-13 billion years ago, and each structure has a mass about 10 million times greater than our sun




ky

Sky is the limit for India’s space technology story

In 2023, Chandrayaan-3 and Aditya L-1 missions highlighted India’s global space prominence




ky

position: sticky, draft 1

I’m writing the position: sticky part of my book, and since I never worked with sticky before I’m not totally sure if what I’m saying is correct.

This is made worse by the fact that there are no very clear tutorials on sticky. That’s partly because it works pretty intuitively in most cases, and partly because the details can be complicated.

So here’s my draft 1 of position: sticky. There will be something wrong with it; please correct me where needed.

The inset properties are top, right, bottom and left. (I already introduced this terminology earlier in the chapter.)

Introduction

position: sticky is a mix of relative and fixed. A sticky box takes its normal position in the flow, as if it had position: relative, but if that position scrolls out of view the sticky box remains in a position defined by its inset properties, as if it has position: fixed. A sticky box never escapes its container, though. If the container start or end scrolls past the sticky box abandons its fixed position and sticks to the top or the bottom of its container.

It is typically used to make sure that headers remain in view no matter how the user scrolls. It is also useful for tables on narrow screens: you can keep headers or the leftmost table cells in view while the user scrolls.

Scroll box and container

A sticky box needs a scroll box: a box that is able to scroll. By default this is the browser window — or, more correctly, the layout viewport — but you can define another scroll box by setting overflow on the desired element. The sticky box takes the first ancestor that could scroll as its scroll box and calculates all its coordinates relative to it.

A sticky box needs at least one inset property. These properties contain vital instructions, and if the sticky box doesn’t receive them it doesn’t know what to do.

A sticky box may also have a container: a regular HTML element that contains the sticky box. The sticky box will never be positioned outside this container, which thus serves as a constraint.

The first example shows this set-up. The sticky <h2> is in a perfectly normal <div>, its container, and that container is in a <section> that is the scroll box because it has overflow: auto. The sticky box has an inset property to provide instructions. The relevant styles are:

section.scroll-container {
	border: 1px solid black;
	width: 300px;
	height: 300px;
	overflow: auto;
	padding: 1em;
}

div.container {
	border: 1px solid black;
	padding: 1em;
}

section.scroll-container h2 {
	position: sticky;
	top: 0;
}

The rules

Sticky header

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Now let’s see exactly what’s going on.

A sticky box never escapes its containing box. If it cannot obey the rules that follow without escaping from its container, it instead remains at the edge. Scroll down until the container disappears to see this in action.

A sticky box starts in its natural position in the flow, as if it has position: relative. It thus participates in the default flow: if it becomes higher it pushes the paragraphs below it downwards, just like any other regular HTML element. Also, the space it takes in the normal flow is kept open, even if it is currently in fixed position. Scroll down a little bit to see this in action: an empty space is kept open for the header.

A sticky box compares two positions: its natural position in the flow and its fixed position according to its inset properties. It does so in the coordinate frame of its scroll box. That is, any given coordinate such as top: 20px, as well as its default coordinates, is resolved against the content box of the scroll box. (In other words, the scroll box’s padding also constrains the sticky box; it will never move up into that padding.)

A sticky box with top takes the higher value of its top and its natural position in the flow, and positions its top border at that value. Scroll down slowly to see this in action: the sticky box starts at its natural position (let’s call it 20px), which is higher than its defined top (0). Thus it rests at its position in the natural flow. Scrolling up a few pixels doesn’t change this, but once its natural position becomes less than 0, the sticky box switches to a fixed layout and stays at that position.

The sticky box has bottom: 0

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Sticky header

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

It does the same for bottom, but remember that a bottom is calculated relative to the scroll box’s bottom, and not its top. Thus, a larger bottom coordinate means the box is positioned more to the top. Now the sticky box compares its default bottom with the defined bottom and uses the higher value to position its bottom border, just as before.

With left, it uses the higher value of its natural position and to position its left border; with right, it does the same for its right border, bearing in mind once more that a higher right value positions the box more to the left.

If any of these steps would position the sticky box outside its containing box it takes the position that just barely keeps it within its containing box.

Details

Sticky header

Very, very long line of content to stretch up the container quite a bit

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

The four inset properties act independently of one another. For instance the following box will calculate the position of its top and left edge independently. They can be relative or fixed, depending on how the user scrolls.

p.testbox {
	position: sticky;
	top: 0;
	left: 0;
}

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

The sticky box has top: 0; bottom: 0

Regular content

Regular content

Regular content

Regular content

Sticky header

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Setting both a top and a bottom, or both a left and a right, gives the sticky box a bandwidth to move in. It will always attempt to obey all the rules described above. So the following box will vary between 0 from the top of the screen to 0 from the bottom, taking its default position in the flow between these two positions.

p.testbox {
	position: sticky;
	top: 0;
	bottom: 0;
}

No container

Regular content

Regular content

Sticky header

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

So far we put the sticky box in a container separate from the scroll box. But that’s not necessary. You can also make the scroll box itself the container if you wish. The sticky element is still positioned with respect to the scroll box (which is now also its container) and everything works fine.

Several containers

Sticky header

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside outer container

Content outside outer container

Or the sticky item can be several containers removed from its scroll box. That’s fine as well; the positions are still calculated relative to the scroll box, and the sticky box will never leave its innermost container.

Changing the scroll box

Sticky header

The container has overflow: auto.

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside container

One feature that catches many people (including me) unaware is giving the container an overflow: auto or hidden. All of a sudden it seems the sticky header doesn’t work any more.

What’s going on here? An overflow value of auto, hidden, or scroll makes an element into a scroll box. So now the sticky box’s scroll box is no longer the outer element, but the inner one, since that is now the closest ancestor that is able to scroll.

The sticky box appears to be static, but it isn’t. The crux here is that the scroll box could scroll, thanks to its overflow value, but doesn’t actually do so because we didn’t give it a height, and therefore it stretches up to accomodate all of its contents.

Thus we have a non-scrolling scroll box, and that is the root cause of our problems.

As before, the sticky box calculates its position by comparing its natural position relative to its scroll box with the one given by its inset properties. Point is: the sticky box doesn’t scroll relative to its scroll box, so its position always remains the same. Where in earlier examples the position of the sticky element relative to the scroll box changed when we scrolled, it no longer does so, because the scroll box doesn’t scroll. Thus there is no reason for it to switch to fixed positioning, and it stays where it is relative to its scroll box.

The fact that the scroll box itself scrolls upward is irrelevant; this doesn’t influence the sticky box in the slightest.

Sticky header

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Regular content

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

Content outside container

One solution is to give the new scroll box a height that is too little for its contents. Now the scroll box generates a scrollbar and becomes a scrolling scroll box. When we scroll it the position of the sticky box relative to its scroll box changes once more, and it switches from fixed to relative or vice versa as required.

Minor items

Finally a few minor items:

  • It is no longer necessary to use position: -webkit-sticky. All modern browsers support regular position: sticky. (But if you need to cater to a few older browsers, retaining the double syntax doesn’t hurt.)
  • Chrome (Mac) does weird things to the borders of the sticky items in these examples. I don’t know what’s going on and am not going to investigate.



  • CSS for JavaScripters

ky

‘Bedurulanka 2012’ movie review: A quirky social satire that’s partly amusing, partly patience testing

Written and directed by first-timer Clax, the Telugu dramedy ‘Bedurulanka 2012,’ starring Kartikeya Gummakonda and Neha Shetty, is an indie-spirited narrative that’s delightful in parts 




ky

Ricky Kej’s anthem for Bengaluru airport captures the emotions of departures and homecomings

Ricky Kej’s BLR Airport Anthem, featuring fellow Grammy-winner Lonnie Park, tells stories of travel and connection




ky

Hybrid Schottky and heterojunction vertical β-Ga2O3 rectifiers

J. Mater. Chem. C, 2024, 12,17563-17573
DOI: 10.1039/D4TC03046J, Paper
Jian-Sian Li, Chiao-Ching Chiang, Hsiao-Hsuan Wan, Madani Labed, Jang Hyeok Park, You Seung Rim, Meng-Hsun Yu, Fan Ren, Yu-Te Liao, Stephen J. Pearton
Schematic of hybrid Schottky and Junction Barrier Schottky Ga2O3 rectifiers. Breakdown voltage increased as the proportion of heterojunction area did, from 1.2 kV for Schottky rectifiers to 6.2 kV for pure heterojunction devices.
The content of this RSS Feed (c) The Royal Society of Chemistry




ky

Why Kajol REFUSED To Do Salaam Venky

Revathy's new film Salaam Venky tells an emotional story of a caring mother looking after her terminally-ill son.But as much as the trailer is a tear-jerker, the trailer launch was full of laughs.




ky

Medicine wheels of the Plains and Rocky Mountains / an update[d] compendium (Reeves and Kennedy) and edited collection of works by John Brumley, Ted Birmie, Rebecca Kallevig, Barry Dau, Trevor Peck, and Dean Wetzel ; overall editors, Brian O. K. Reeves, M

xxv, 359 pages : illustrations, maps ; 28 cm. + 1 folded map




ky

Rocky IV (1985) / starring, written and directed by Sylvester Stallone [DVD].

[U.K.] : Warner Bros, [2020]




ky

Khodorkovsky : how the richest man in Russia became its most famous political prisoner (2011) / written, produced and directed by Cyril Tuschi [DVD].

[U.K.] : Trinity film, [2012]




ky

Floating skyscrapers (2013) / written and directed by Tomasz Wasilewski [DVD].

[U.K.] : Matchbox Films, [2014]




ky

Injured Osaka pulls out of Pan Pacific Open in Tokyo

Naomi Osaka, representing Japan, withdraws from Pan Pacific Open due to back injury, missing out on tournament in Tokyo




ky

‘The Statue’ podcast thrills listeners with the legend of Philadelphia’s 10ft Rocky Balboa bronze sculpture

The statue draws an estimated four million visitors every year, and has become a cultural icon




ky

Connecting the dots in the Kyiv visit

There are firm reasons why the Prime Minister Modi’s visit to Ukraine could have had some sort of peace initiative on the agenda




ky

Ricky Kej, Anoushka Shankar nominated for 67th Grammy Awards

Ricky Kej, a three-time Grammy winner, has been nominated for his album Break of Dawn in the Best New Age, Ambient, or Chant Album category, while sitarist and composer Anoushka Shankar has been nominated for her album Chapter II: How Dark It Is Before Dawn




ky

Value of Risky Lifestyle Choices [electronic journal].




ky

Unlucky Cohorts: Estimating the Long-term Effects of Entering the Labor Market in a Recession in Large Cross-sectional Data Sets [electronic journal].

National Bureau of Economic Research




ky

A Sticky-Price View of Hoarding [electronic journal].

National Bureau of Economic Research




ky

Sticky Expectations and the Profitability Anomaly [electronic journal].




ky

Skylark Holdings Co. Ltd. MarketLine Company Profile [electronic journal].

Marketline




ky

Risky moms, risky kids? Fertility and crime after the fall of the wall [electronic journal].




ky

Risky Choices and Solidarity: Why Experimental Design Matters [electronic journal].




ky

Risky Bank Guarantees [electronic journal].




ky

Real Keynesian Models and Sticky Prices [electronic journal].

National Bureau of Economic Research




ky

More than Words: Leaders' Speech and Risky Behavior During a Pandemic [electronic journal].




ky

Modigliani Meets Minsky: Inequality, Debt, and Financial Fragility in America, 1950-2016 [electronic journal].




ky

Kyiv-Mohyla Law and Politics Journal [electronic journal].




ky

The economics of skyscrapers: A synthesis [electronic journal].




ky

Demand for safety, risky loans: A model of securitization [electronic journal].




ky

Benchmark Interest Rates When the Government is Risky [electronic journal].

National Bureau of Economic Research




ky

Becker Meets Kyle: Inside Insider Trading [electronic journal].




ky

Anisotropic ZSM-5 nanorod assemblies: facile synthesis, epitaxial growth, and strikingly enhanced stability in benzene alkylation

Inorg. Chem. Front., 2024, Advance Article
DOI: 10.1039/D4QI00287C, Research Article
Peng Zhu, Yiren Yu, Guoshu Gao, Yumeng Zhao, Yuting Jiao, Haiou Liu, Guodong Liu, Xiongfu Zhang, Guohui Yang
A novel bundle-like ZSM-5 nanorod assembly was facilely synthesized by adopting a CTAB-aided seed-induced strategy for highly efficient alkylation of benzene with ethanol.
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




ky

Skye Air intensifies quick-commerce partnerships, targets expansion to six cities within two years

The firm focuses on delivering consignments within 10 minutes for quick-commerce clients and within four hours for e-commerce clients




ky

Substituent effect in determining the total structure of an all-alkynyl-protected Ag98 nanocluster for methanol tolerant oxygen reduction reaction

Chem. Sci., 2024, 15,18161-18169
DOI: 10.1039/D4SC04318A, Edge Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Xiaoqin Cui, Xuehuan Zhang, Ting Li, Sheng Zhu, Gaoyi Han, Huan Li
A sterically demanding ortho-CF3 substituent defines not only the arrangement of ligands on a Ag98(2-CF3PhCC)48Cl4 nanocluster (Ag98) but also the inter-cluster interactions. Ag98 shows excellent methanol tolerance in the oxygen reduction reaction.
The content of this RSS Feed (c) The Royal Society of Chemistry




ky

Electrochemical trifluoromethylation of alkynes: the unique role of DMSO as a masking auxiliary

Chem. Sci., 2024, Advance Article
DOI: 10.1039/D4SC06780K, Edge Article
Open Access
Jihoon Jang, Ho Seong Hwang, Haeryeong Jeong, Eun Jin Cho
An electrochemical trifluoromethylation method for terminal alkynes has been developed, facilitating the synthesis of CF3-alkynes with DMSO as a masking auxiliary.
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




ky

Structural constraint at a P–P bond: phosphinophosphination of alkenes, alkynes, and carbonyls by a concerted mechanism

Chem. Sci., 2024, Advance Article
DOI: 10.1039/D4SC06581F, Edge Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Lijun You, Daniel Roth, Lutz Greb
A structural constraint approach at a P–P bond is presented that enables the phosphinophosphination of alkynes, alkenes, and carbonyls with high regio- and diastereoselectivity. The apolar nature of the P–P bond facilitates a concerted mechanism.
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




ky

Dual ligand-enabled iron and halogen-containing carboxylate-based photocatalysis for chloro/fluoro-polyhaloalkylation of alkenes

Chem. Sci., 2024, Advance Article
DOI: 10.1039/D4SC04038D, Edge Article
Open Access
Wanru Han, Zhenyan Zhao, Kui Jiang, Yu Lan, Xuehan Yu, Xiaoyu Jiang, Wei Yang, Donghui Wei, Shi-Jun Li, Linbin Niu
Dual ligand-enabled iron photocatalysis for the conversion of all kinds of halogen-containing carboxylates (CnXmCOO, X: F, Cl, Br) to CnXm radicals is disclosed for chloro/fluoro-polyhaloalkylation of non-activated alkenes.
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




ky

Pathway control in metallosupramolecular polymerization of a monoalkynylplatinum(II) terpyridine complex through competitive complex formation

Chem. Sci., 2024, Advance Article
DOI: 10.1039/D4SC06083K, Edge Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Minhye Kim, Heekyoung Choi, Minjoo Kim, Seonghan Kim, Seohyeon Yun, Eunji Lee, Jaeheung Cho, Sung Ho Jung, Jong Hwa Jung
The modification of metalloligands based on bis-type amideterpyridine platinum(II) complexes not only induces the formation of helical supramolecular polymers but also introduces a kinetic trapping strategy in competitive conditions.
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




ky

Consumer Affairs Ministry releases draft guidelines to curb pesky promotional calls, messages

Draft guidelines released by DoCA protect consumers from unsolicited and unwarranted communications business communication




ky

New MCA rule allows Directors to update KYC details throughout the year

This change offers more flexibility compared to the previous system, which only allowed updates during the annual KYC filing




ky

Fish, meat, and vegetable prices skyrocket in Kolkata on eve of Bhai Dooj




ky

‘Lucky’ Arjun tastes another win




ky

A novel in situ method for linear alkylbenzene sulfonate quantification in environmental samples using a digital image-based method

Anal. Methods, 2024, 16,2009-2018
DOI: 10.1039/D4AY00073K, Paper
Helayne S. de Sousa, Roxanny Arruda-Santos, Eliete Zanardi-Lamardo, Willian T. Suarez, Josiane L. de Oliveira, Renata A. Farias, Vagner Bezerra dos Santos
Surfactants spilled in water resulting in the contamination of aquatic environments being in situ monitored using a smartphone.
The content of this RSS Feed (c) The Royal Society of Chemistry