Shortwav | style multi-station radio simulation
kandi X-RAY | Shortwav Summary
kandi X-RAY | Shortwav Summary
A GTA-style multi-station radio simulation and playback engine for Unity. Shortwav allows you to build stations, control transition sound effects, chain together multiple files to create longer stations with ad breaks, and more.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Shortwav
Shortwav Key Features
Shortwav Examples and Code Snippets
Community Discussions
Trending Discussions on Shortwav
QUESTION
I am using pvlib to calculate diffuse and direct incoming solar radiation at the surface and this works well. I account for clouds, albedo, sea-ice etc. when calculating the total incoming shortwave radiation at the surface.
...ANSWER
Answered 2020-Dec-02 at 16:26I don't recognize a conceptual error. What do you get when you integrate the spectral direct irradiance? I'd expect to recover the sw_dr broadband value. Something to check. The line of code that calculates uvi looks odd. sw_dr from total_irrad is a Series, sw_dr(λ[280:400]) indicates that sw_dr is a function.
QUESTION
I am using Arch Linux with cartopy version 0.17.0 installed on the system through packagemanager. I am trying to plot a simple satellite image from hdf5 file with cartopy as plotting tool. Following is the sample code I am trying to do to produce image:-
...ANSWER
Answered 2020-Mar-31 at 21:37Does your data file have information about the original projection? This looks like it could be an issue with a globe mismatch (CartoPy defaults to WGS84) or missing some kind of projection parameter, like latitude at origin.
Edited based on other answer
So now with the proper projection information, this is how I would plot your data:
QUESTION
I'm using Wavesurfer.js to visualize waveforms from . Is there a way to use jQuery or Javascript to dynamically change the loaded audio file when I click on an HTML element?
I'm able to visualize a single file, but don't know how to change the loaded file dynamically.
Here's the Wavesurfer.js instance in my footer
...ANSWER
Answered 2019-Oct-04 at 15:21In your PHP loop... maybe you can put the urls in a data attribute
play
play
QUESTION
I've got a fixed height div with a list of clickable list items. In the middle of the div, I have an absolute positioned line that is meant to signify a selected item. Right now, it's just a static line.
Is there a way to add an active class to the list item as it is "selected" by the line?
...ANSWER
Answered 2019-Jul-23 at 01:52You could compare the rects of the line and each option to find which is selected:
QUESTION
I have styled my select items using JQuery, which outputs the items in an unordered list. This is working. I've used some javascript to create in infinite scroll effect on the unordered list. The infinite scroll basically repeats the entire list resulting in two identical sets of list items. However, the cloned set list items are not clickable and thus the form does not render any results when clicking the cloned list items.
Link to the select in question (try the Emotional Quality Select) - http://dev.chrislamdesign.com/shortwave/sample-page/
Link to codepen infinite scroll - https://codepen.io/doctorlam/pen/oKgRvO
Here's my PHP
...ANSWER
Answered 2019-Jul-20 at 04:11Changing your ajax call to the below suggested way should make the click work for you:
QUESTION
I am using gridMET (http://www.climatologylab.org/gridmet.html) and MACA (http://thredds.northwestknowledge.net:8080/thredds/reacch_climate_CMIP5_macav2_catalog2.html) NetCDF files for a project and facing a performance issue. Implementation of a simple function on the gridMET NetCDF files (time duration: 1979-2015) is around 0.01sec/grid cell. However, processing of MACA NetCDF files (time duration: 2016-2050) with the same function as used for gridMET data is around 0.3sec/grid cell. Processing time over large areas is drastically different for both datasets.
Header information of gridMET file is:
...ANSWER
Answered 2019-Jun-17 at 09:26Interestingly, reordering of dimensions reduced processing time to 0.05sec/grid cell. I used the following command line operation to reorder dimensions:
QUESTION
I have 365 daily netCDF files for the year 1980. These files are located in a folder that has data from multiple years (1979-2013).
When I open the 1980 files using,
...ANSWER
Answered 2018-Mar-22 at 02:14Are you sure that your use of glob.glob()
is only returning netCDF files with times in 1980?
I would suggest a spot-check with an explicit loop (skipping open_mfdataset
):
QUESTION
I'm new; thank you so much for helping me :)
I have a long paragraph I want to output, given a certain value.
I tried to make a line break in a case switch with \n and < br > and tried the methods from here -- all of which I put inside the quotations where I wanted my breaks to occur. None of them seem to work. However, there might be a way to create a line break with overflow and CSS? I'm not sure, let me know.
Here's my code so far. Basically, it appears on one long line that goes outside my browser and I don't know why:
...ANSWER
Answered 2017-May-25 at 06:29The problem is that the field you're putting the text into is an , and these can only display one line.
Change it to </code> and it will automatically wrap.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>// VAL SCORE -> WORD
var determineWord = function(value) {
var word = "";
//console.log(value);
switch (value) {
case 1:
word = "Radio waves";
break;
case 2:
word = "Microwaves";
break;
case 3:
word = "Infrared radiation";
break;
case 4:
word = "Visible light";
break;
case 5:
word = "Ultraviolet radiation";
break;
case 6:
word = "X-ray";
break;
case 7:
word = "Gamma ray";
break;
}
//console.log(word);
return word;
};
var determineInfo = function(value) {
var info = "";
//console.log(value);
switch (value) {
case 1:
info = "Radio waves have long and largely varying wavelengths, from 1mm to more than 100km. They are emitted by planets, stars, pulsars, and other celestial ongoings. Man-made sources of radio waves include television signals, cell phones, and wifi. These waves are used for communication via shortwave radio and FM stereo. A small dose of radio waves exposure is not too harmful, but with large and unprotected doses, radio waves can cause cancer. Exposure to radio waves can also cause retinal degeneration, increase the metabolic rate, increase the blood flow, cause cell death and DNA damage, which can lead to necrosis (organ failure).";
break;
case 2:
info = "Microwaves are high frequency waves with a wavelength between 0.1 and 5 cm. Microwaves are used in cell phone transmitters and, shockingly, in microwave ovens. Microwaves are used to cook food because they cause certain molecules to vibrate strongly, resulting in heat. However, this can cause burns on bare human skin. Long exposure to microwaves has also been shown to cause cataracts.";
break;
case 3:
info = "Infrared waves are produced by any source of heat or energy. Infrared waves are often used in sensors. Since all living things emit heat, these sensors can be used to detect the presence of people. Infrared waves have wavelengths between 10 microns and 30 cm. Most infrared radiation that we are exposed to on a daily basis is too weak to do any significant harm. However, long-term exposure to high intensity radiation can cause wrinkles and premature aging. ";
break;
case 4:
info = "Visible light";
break;
case 5:
info = "Ultraviolet radiation";
break;
case 6:
info = "X-ray";
break;
case 7:
info = "Gamma ray";
break;
}
//console.log(word);
return info;
};
// SLIDER
$(function() {
$("#slider").slider({
value: 1,
min: 1,
max: 7,
step: 1,
slide: function(event, ui) {
$("#amount").val(determineWord(ui.value));
$("#waves").val(determineInfo(ui.value));
}
});
$("#amount").val(determineWord($("#slider").slider("value")));
$("#waves").val(determineInfo($("#slider").slider("value")));
});
// dropdown
function DropDown(el) {
this.dd = el;
this.placeholder = this.dd.children('span');
this.opts = this.dd.find('ul.dropdown > li');
this.val = '';
this.index = -1;
this.initEvents();
}
DropDown.prototype = {
initEvents: function() {
var obj = this;
obj.dd.on('click', function(event) {
$(this).toggleClass('active');
return false;
});
obj.opts.on('click', function() {
var opt = $(this);
obj.val = opt.text();
obj.index = opt.index();
obj.placeholder.text('+ PROTECTION: ' + obj.val);
});
},
getValue: function() {
return this.val;
},
getIndex: function() {
return this.index;
}
}
$(function() {
var dd = new DropDown($('#dd'));
$(document).click(function() {
// all dropdowns
$('.wrapper-dropdown-1').removeClass('active');
});
});
// scores
$(document).ready(function() {
var scoreConstants = {
'Air': 1,
'Hat': 2,
'Sunscreen':3,
'Sweater':4,
'Glass':5,
'Brick': 6,
'Steel': 7,
'Lead': 8,
'Radio waves': 10,
'Microwaves': 20,
'Infrared radiation': 30,
'Visible light': 40,
'Ultraviolet radiation': 50,
'X-ray':60,
'Gamma ray':70
};
var evalScore = function(selectedValues) {
var totalScore = 0;
$.each(selectedValues, function(k, v) {
totalScore += scoreConstants[v];
});
return totalScore;
}
var getScoreInfo = function(score) {
var scoreInfo = 'Info: ';
if (score >= 10) {
scoreInfo += 'You have been hit by a radio wave';
} else if (score >= 20) {
scoreValue += 'You have been hit by a microwave';
} else if (score >= 30) {
scoreValue += 'You have been hit by infrared radiation';
} else if (score >= 40) {
scoreValue += 'You have been hit by A';
} else if (score >= 50) {
scoreValue += 'You have been hit by B';
} else if (score >= 60) {
scoreValue += 'You have been hit by C';
} else if (score >= 70) {
scoreValue += 'You have been hit by D';
}
return scoreInfo;
}
var getScoreLabel = function(score) {
var scoreValue = 'Score: ';
if (score == 11) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 12) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 13) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 14) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 15) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 16) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 17) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 18) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 21) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 22) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 23) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 24) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 25) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 26) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 27) {
scoreValue += 'You have been hit by a microwave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 28) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 31) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 32) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 33) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 34) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 35) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 36) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 37) {
scoreValue += 'You have been hit by infrared radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 38) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 41) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 42) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 43) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 44) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 45) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 46) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 47) {
scoreValue += 'You have been hit by visible light';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 48) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 51) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 52) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 53) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 54) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 55) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 56) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 57) {
scoreValue += 'You have been hit by ultraviolet radiation';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 58) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 61) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 62) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 63) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 64) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 65) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 66) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 67) {
scoreValue += 'You have been hit by an X-ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 68) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 71) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 72) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 73) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 74) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/eMkFqk/149496258477050.png";
} else if (score == 75) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 76) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 77) {
scoreValue += 'You have been hit by a gamma ray';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
} else if (score == 78) {
scoreValue += 'You have been hit by a radio wave';
fate.src = "https://image.ibb.co/kNLgVk/149496258477050_1.png";
}
return scoreValue;
}
$('body').on('click', '#evaluate', function(e) {
var amount = $('#amount').val();
var dropdown = $.trim($('.wrapper-dropdown-1').children('span').text().split(':')[1]);
var selectedValues = [amount,dropdown];
var score = evalScore(selectedValues);
var scoreLabel = getScoreLabel(score);
var valueString = 'Selected: ';
if (selectedValues.length > 0) {
$.each(selectedValues, function(k, v) {
if (k === (selectedValues.length - 1)) {
valueString += v;
} else {
valueString += v + ', '
}
});
} else {
valueString += 'None';
}
var $result = $('#result');
$result.html(scoreLabel);
var $displayValues = $('#values');
$displayValues.html(valueString);
var $info = $('#info');
$info.html(scoreInfo);
});
});</code></pre>
<pre class="snippet-code-css lang-css prettyprint-override"><code>body {
background:transparent;
}
::selection {
background: #ffffcc;
}
::-moz-selection {
background: #ffffcc;
}
/* protection */
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.wrapper {
margin: 40px 0 0 -260px;
font-weight: 400;
}
.wrapper:after {
clear: both;
content: "";
display: table;
}
.wrapper-dropdown-1 {
position: relative;
/* Enable absolute positionning for children and pseudo elements */
width: 200px;
padding: 10px;
margin: 0 auto;
/* Styles */
background: #ffcccc;
color: #000;
outline: none;
cursor: pointer;
font-family: helvetica;
font-size: 12px;
letter-spacing: 1px;
}
.wrapper-dropdown-1 .dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
/* Styles */
list-style: none;
border-top: 1px solid #000;
background: #fff;
opacity: 0;
pointer-events: none;
}
.wrapper-dropdown-1 .dropdown li a {
display: block;
text-decoration: none;
color: #9e9e9e;
padding: 10px 20px;
}
.wrapper-dropdown-1 .dropdown li:hover a {
background: #ffe6e6;
}
.wrapper-dropdown-1.active .dropdown {
opacity: 1;
pointer-events: auto;
}
.wrapper-dropdown-1.active:after {
border-color: #9bc7de transparent;
border-width: 6px 6px 0 6px;
margin-top: -3px;
}
.no-opacity .wrapper-dropdown-1 .dropdown,
.no-pointerevents .wrapper-dropdown-1 .dropdown {
display: none;
opacity: 1;
/* If opacity support but no pointer-events support */
pointer-events: auto;
/* If pointer-events support but no pointer-events support */
}
.no-opacity .wrapper-dropdown-1.active .dropdown,
.no-pointerevents .wrapper-dropdown-1.active .dropdown {
display: block;
}
/** slider **/
.text {
font-family: helvetica;
font-size: 12px;
margin: 10px;
background: transparent;
letter-spacing: 1px;
}
select {
margin-top: 20px;
margin-left: 5px;
}
option {
text-decoration: none;
display: block;
opacity: 1;
padding: 5px;
color: black;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
option:hover,
option:focus,
option:active {
background: #ffe6e6;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
p {
font-family: helvetica;
font-size: 12px;
margin: 10px;
letter-spacing: 2px;
background: #fff;
padding-left: 5px;
margin-left: 25px;
width: 305px;
}
#wavescontainer {
font-family: helvetica;
font-size: 12px;
margin: 10px;
letter-spacing: 2px;
background: #fff;
padding-left: 5px;
margin-left: 425px;
width: 105px;
position:relative;
}
#waves {
color: black;
font-size: 12px;
padding: 5px;
margin: 5px;
position:relative;
}
#amount {
color: black;
font-size: 12px;
padding: 5px;
margin: 5px;
}
#slider {
width: 320px;
height: 2px;
border-color: transparent;
background-color: black;
margin: 20px;
}
#slider .wavelengths {
width: 350px;
background-color: transparent;
margin-top: 10px;
margin-left: -5px;
font-size: 10px;
}
dub {
margin: 0px 15px;
}
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 25px;
height: 10px;
cursor: default;
border-radius: 2px;
-ms-touch-action: none;
touch-action: none;
}
.ui-slider-horizontal .ui-slider-handle {
top: -.3em;
margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
border: 1px solid #000;
background: #000;
font-weight: normal;
color: #fff;
margin-top: 0px;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited,
a.ui-button,
a:link.ui-button,
a:visited.ui-button,
.ui-button {
color: #fff;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
border: 1px solid #000;
background: #000;
font-weight: normal;
color: #fff;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
border: 1px solid #000;
background: #000;
font-weight: normal;
color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #ffffff;
text-decoration: none;
}
.ui-dialog-title {
font-size: 110% !important;
color: #FFFFFF !important;
background: #000000 !important;
}
/* results */
button {
background: #ccffcc;
height: 100px;
width: 100px;
border-radius: 100%;
border: 2px double white;
font-size: 12px;
font-family: helvetica;
letter-spacing: 2px;
color: black;
margin-left: 70%;
}
button:active {
background: #e6ffe6;
}
h4 {
margin-left:100px;
margin-top:60px;
font-family:helvetica;
font-size:12px;
font-weight:normal;
}
h5 {
margin-left:100px;
font-family:helvetica;
font-size:12px;
font-weight:normal;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code><link href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet"/>
<link href="http://jsfiddle.net/resources/demos/style.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div class="text">
For [10 sec] exposure and [100 watts] of given wavelength. All fields are required.
<hr>
</div>
<!-- colors: #ffffcc, #ccffcc, #ffcc99, #ffcccc -->
<p>
<label for="amount">WAVELENGTH:</label>
<input type="text" id="amount" readonly style="border:0; color:#000; font-weight:normal; width:150px; background:#ccffcc; letter-spacing:1px; text-align:center;">
</p>
<p>
<label for="waves">INFO:</label>
<textarea id="waves" readonly style="border:0; background:#ffffcc; width:200px; height:100px;">
103
10-2
10-5
.5x10-6
10-8
10-10
10-12
+ PROTECTION (2 feet)
READY
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Shortwav
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page