HTML shit

Mostly dank memes.
kirk
Posts: 2436
Joined: Fri Feb 04, 2011 3:46 pm
Clans: feat6, aids, x[m], ptm, snowmen, NoGo, GI, 50cal, moNster, te amo, gameslaves, winnfield, koala, iwa
Contact:

HTML shit

Post by kirk »

Who can do basic HTML?

I need a code that can calculate a basic probability equation when users enter two numbers.

EH? EH?
Beas
Posts: 533
Joined: Wed Nov 16, 2011 2:24 pm
Clans: Highball, TEC, pandemic, 63rd, 85th, nG, mvpz, k^3

Re: HTML shit

Post by Beas »

Image
sevEN
Posts: 1141
Joined: Thu Mar 17, 2011 7:52 pm
Clans: THUNDER

Re: HTML shit

Post by sevEN »

i used to do a lot of HTML in my younger days as a website designer (not as a profession, just as a hobby). i can remember how to make basic tables, color the tables, make colored outlines around the table, change font settings, insert images, pretty basic stuff at this point. But what you are asking for does not sound like basic html. it sounds like a script, that usually are not written by hand unless you are experienced in writing scripts.

but the nice thing is i used to be able to search different websites that offered different types of scripts so that you can copy the open source and insert the scripts into your own coding. if you google HTML scripts, i am sure you can find a website that could possibly have that script on there.
wintehs
Posts: 578
Joined: Wed May 25, 2011 12:12 am
Clans: pineriders, deadboLT, mafia', DaNiNjA, BuBbLeS

Re: HTML shit

Post by wintehs »

I used to have a pretty damn sweet myspace page back in the day. That's my only experience with HTML, but my God I had the most glorious straight up 90's page EVER.
kirk
Posts: 2436
Joined: Fri Feb 04, 2011 3:46 pm
Clans: feat6, aids, x[m], ptm, snowmen, NoGo, GI, 50cal, moNster, te amo, gameslaves, winnfield, koala, iwa
Contact:

Re: HTML shit

Post by kirk »

It'd be simple equations, just basic algebra sort of stuff. But I need something where someone can enter two separate values in two separate boxes, click OK, and get a newly calculated value based on what they entered. I just need someone who knows how to write up algebraic equations in html, I guess?
sevEN wrote:i used to do a lot of HTML in my younger days as a website designer (not as a profession, just as a hobby). i can remember how to make basic tables, color the tables, make colored outlines around the table, change font settings, insert images, pretty basic stuff at this point. But what you are asking for does not sound like basic html. it sounds like a script, that usually are not written by hand unless you are experienced in writing scripts.

but the nice thing is i used to be able to search different websites that offered different types of scripts so that you can copy the open source and insert the scripts into your own coding. if you google HTML scripts, i am sure you can find a website that could possibly have that script on there.
I guess they seem like they'd be simple? It'd take a value the person entered, multiplies it by something else, multiplies that by something else, etc. I'm obviously not HTML savvy but I assumed something like that would be relatively simple?

I've found a site that does exactly what I'm looking for, but I don't know how to access the script like you're describing :[
dogfire
Posts: 262
Joined: Wed Sep 21, 2011 1:56 am
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: HTML shit

Post by dogfire »

Maybe an easy way to do it in HTML5 but why not just use a little javascript?

That should get you started, have fun learning.

Code: Select all

<!DOCTYPE html>
<html>
<body>


First Val<input type="text" id="num1" name="First Val" ><br>
Second Val <input type="text" id="num2"name="Second Val" ><br>
<button type="button" onclick="calculate('num1','num2')">Calculate</button><br>
Result: <input type="text" id="result" name="result" >


<script>
function calculate(num1,num2)
{
//do something with the numbers
num1 = parseInt(****.getElementById("num1").value);
num2 = parseInt(****.getElementById("num2").value);

****.getElementById("result").value=num1+num2;
}
</script>

</body>
</html>
kirk
Posts: 2436
Joined: Fri Feb 04, 2011 3:46 pm
Clans: feat6, aids, x[m], ptm, snowmen, NoGo, GI, 50cal, moNster, te amo, gameslaves, winnfield, koala, iwa
Contact:

Re: HTML shit

Post by kirk »

dogfire wrote:Maybe an easy way to do it in HTML5 but why not just use a little javascript?

That should get you started, have fun learning.

Code: Select all

<!DOCTYPE html>
<html>
<body>


First Val<input type="text" id="num1" name="First Val" ><br>
Second Val <input type="text" id="num2"name="Second Val" ><br>
<button type="button" onclick="calculate('num1','num2')">Calculate</button><br>
Result: <input type="text" id="result" name="result" >


<script>
function calculate(num1,num2)
{
//do something with the numbers
num1 = parseInt(****.getElementById("num1").value);
num2 = parseInt(****.getElementById("num2").value);

****.getElementById("result").value=num1+num2;
}
</script>

</body>
</html>
Want to just help me out instead since I don't really have time to learn? :]
knockout
Posts: 1112
Joined: Sun Mar 25, 2012 2:22 pm
Clans: gomi - dicE - revamped - dodod - gskiLL
Location: up your butt and around the corner

Re: HTML shit

Post by knockout »

wintehs wrote:I used to have a pretty damn sweet myspace page back in the day. That's my only experience with HTML, but my God I had the most glorious straight up 90's page EVER.
I demand a screenshot
believe
Posts: 61
Joined: Thu Dec 05, 2013 11:49 am

Re: HTML shit

Post by believe »

I can help you




















but....















I don't give a shit!
Cage
Posts: 663
Joined: Mon Mar 26, 2012 8:20 am
Clans: FurY, ( s )ttR. sQ , toggles, [38th], vVv
Location: Sweden

Re: HTML shit

Post by Cage »

believe wrote:I can help you




















but....















I don't give a shit!
You could die today


























and

































no one would give a flying ****
Post Reply