News:

See you space cowboy...

Main Menu

The Webpage design topic

Started by SuperFireKirby, January 12, 2011, 10:11:01 AM

Previous topic - Next topic

WiiMan96

Coolio. I do C++ in Visual Express though, can't be bothered setting up a compiler on my mac. :P

master_gamer38

Whooo! I updated my random colour thing. I coded it idiotically the first time around. It had around 950 lines and wasn't the most functional. This version has 201 lines and is more functional. (And validated as XHTML 1.0 Transitional!)

Anyways, opinions and thoughts? www.reamtech.net/random.php
Avid user of NFNet IRC network.

Winter

I just stayed up doing tutorials on CSS, Javascript, and XHTML.

1) that's a lot of crap to remember

2) still less information than I expected.

NOW I NEED SLEEP AHHHHHHHHH

SuperFireKirby

Javascript is, in my opinion, the most annoying programming language ever.

I'm alright with C but nowhere near an expert with it or anything like that.

I mush better with HTML/ XHTML(seeing as it's the easiest to learn)

Quote from: Mashi on March 26, 2013, 05:54:37 PMAfter viewing both FMA:Brotherhood and Naruto Shippuden, it would be frivolous to even consider watching an anime as unbearably mediocre as Melancholy. NARUTOxHINATA 4 LYFE!!!

DrP

#19
HTML is probably the favorite I like to use. It's easy and you can do a lot of stuff.

CSS is something I still have to learn a bit more. I know some stuff.

And I agree with SFK, even though I havent had the chance to work with Javascript a lot... but I can tell, it seems like a pain in the ass.

So, my unanswered question from earlier... anyone know a good, free website hosting provider/domain name provider??

master_gamer38

Quote from: drpamplemousse on January 17, 2011, 10:23:57 AMHTML is probably the favorite I like to use. It's easy and you can do a lot of stuff.

CSS is something I still have to learn a bit more. I know some stuff.

And I agree with SFK, even though I havent had the chance to work with Java a lot... but I can tell, it seems like a pain in the ass.

So, my unanswered question from earlier... anyone know a good, free website hosting provider/domain name provider??

I don't know of any good free ones.

But, HTML is so limited. You can't do anything dynamic. Using PHP really makes things so much better. CSS is something I suck with kinda, just from lack of using it.

And Java is completely different than Javascript. You cannot compare the two.. They are completely different.
Avid user of NFNet IRC network.

DrP

Quote from: master_gamer38 on January 17, 2011, 12:00:43 PMI don't know of any good free ones.

But, HTML is so limited. You can't do anything dynamic. Using PHP really makes things so much better. CSS is something I suck with kinda, just from lack of using it.

And Java is completely different than Javascript. You cannot compare the two.. They are completely different.

That's true about HTML... I need to learn how to use PHP

AND! I completely forgot Java was something else... I was referring to Javascript... whoops.

KefkaticFanatic




me irl
[close]

master_gamer38

Avid user of NFNet IRC network.

Winter

I experimented with DHTML a bit, I would put little snippets of JavaScript in my style area.

Also I'm REALLY enjoying the Cascading Style Sheets.

I don't wanna abbreviate it cause it sounds cool.

Jub3r7

Javascript question: How would I code the following 4 lines into one single command?



javascript:(function(){document.getElementById('actor2').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor3').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor4').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor5').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
It's dangerous to go alone, take me with you! [JUB has joined the party.]

master_gamer38

Quote from: Jub3r7 on January 23, 2011, 03:47:55 PMJavascript question: How would I code the following 4 lines into one single command?



javascript:(function(){document.getElementById('actor2').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor3').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor4').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()
javascript:(function(){document.getElementById('actor5').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()

Since that's basically just 4 different functions. Combine it into one.

javascript:(function(){document.getElementById('actor2').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor3').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor4').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor5').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()

I think that should work. If it doesn't I'll try again.
Avid user of NFNet IRC network.

Jub3r7

For some reason it runs every single one except the first one... :P

javascript:(function(){document.getElementById('actor1').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor2').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor3').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor4').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()

Oh, cool! It turns out that the code I originally gave you would make the ghosts from Pacman in two player invisible...
so I just changed a few of the numbers around from the code you gave for one player. Thanks!

So if you go to http://www.google.com/pacman and paste/enter the code above, it makes the ghosts mostly invisible!
Thanks again for the help, MG. Now maybe I can replace the ghosts with Mystery Dungeon sprites or something...
It's dangerous to go alone, take me with you! [JUB has joined the party.]

Winter

I was looking for a CSS script that would give me a box that had buttons lining the right side in which clicking those would make different material appear inside the box.

If it's too much of a hassle, don't worry about it.

master_gamer38

You'd need more than just CSS to do that. Javascript is needed.
Avid user of NFNet IRC network.