Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ <h2 class="label" id="general">General</h2>
<br>
</div>

<div class="container">
<select>
<option>Questions about Scratch</option><option>Requests</option><option>Suggestions</option>
<option>New Scratchers</option><option>Help With Scripts</option><option>Show and Tell</option>
<option>Project Ideas</option><option>Bugs and Glitches</option><option>Advanced Topics</option>
<option>Things I'm Making and Creating</option><option>Things I'm Reading and Playing</option><option>Other Languages</option>
<option>Open Source Projects</option><option>Developing Scratch Extensions</option><option>Connecting to the Physical World</option>
</select><br>
<textarea class="CopyText" id="Text12" readonly>I think topic this would fit better in the "Questions about Scratch" subforum. I'll ask to have it moved for you.</textarea>
<button onclick="myFunction(2)">Copy Text</button>
<br>
<br>
</div>

<br>

<h2 class="label" id="suggestions">Suggestions</h2>
Expand Down Expand Up @@ -116,6 +130,9 @@ <h2 class="label" id="bag">Bugs And Glitches</h2>
copyText.select();
document.execCommand("copy");
}
document.getElementsByTagName('select')[0].onchange = function() {
document.getElementById('Text12').innerHTML = `I think topic this would fit better in the "` + document.getElementsByTagName('select')[0].value + `" subforum. I'll ask to have it moved for you.`;
}
</script>
</body>
</html>
47 changes: 47 additions & 0 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,54 @@ button {
border-radius: 10px;
background-color: #96ff9f;
font-family: Helvetica, Arial, sans-serif;
body {
background: #bceae8
}

.container {
margin-bottom: 40px;
margin-left: 10px;
}

.CopyText {
float: left;
width: 50%;
height: 40px;
padding: 10px 20px;
border: 2px solid #ccc;
border-radius: 10px;
background-color: #f8f8f8;
font-family: Helvetica, Arial, sans-serif;
resize: none;
}

button {
margin-left: 5px;
margin-top: 7px;
float: left;
padding: 15px 15px;
border: 2px solid #ccc;
border-radius: 10px;
background-color: #96ff9f;
font-family: Helvetica, Arial, sans-serif;
}

select {
transition: border .5s ease;
margin-bottom: .75rem;
border: 2px solid #ccc;
border-radius: 10px;
width: 50%;
background: #fafafa url(data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9IkxheWVyIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ4IiBoZWlnaHQ9IjY0Ij48cGF0aCBkPSJNMjQgMzcuNDNhMS44OCAxLjg4IDAgMCAxLTEuMzMtLjU1bC01LjExLTUuMTFhMS44NyAxLjg3IDAgMCAxIDAtMi42NGMuNzMtLjczIDEyLjE0LS43MyAxMi44NyAwYTEuODcgMS44NyAwIDAgMSAwIDIuNjRsLTUuMTEgNS4xMWExLjg2IDEuODYgMCAwIDEtMS4zMi41NXoiIGZpbGw9IiNiM2IzYjMiLz48cGF0aCBzdHlsZT0iaXNvbGF0aW9uOmlzb2xhdGUiIGZpbGw9IiMyMzFmMjAiIG9wYWNpdHk9Ii4xIiBkPSJNLjAxIDBoMXY2NGgtMXoiLz48L3N2Zz4=) no-repeat right center;
padding: 10px 20px;
font-size: .875rem;
-webkit-appearance: none;
}

select:hover {
border: 2px solid #aaa;
cursor: pointer;
}

.TOC {
float: left;
Expand Down