[QUOTE=TehWhale;32596429]Add a margin to the bottom of the content box?[/QUOTE]
I tried this, it doesn't work.
[QUOTE=nos217;32596451]I tried this, it doesn't work.[/QUOTE]That should work, are you sure you're doing it right?
I think you can add a margin to the bottom of the body or the html.
[QUOTE=Octave;32597230]I think you can add a margin to the bottom of the body or the html.[/QUOTE]Don't add it to the body, add it to the end of the content wrapper (you should have one)
[editline]3rd October 2011[/editline]
Adding it to the body might mess with a few things.
For security, i should $session the users username/password when they post it in the loginbox and every time check that with the database for when they does anything, right?
I should not $session the ID that they logged in with and use that for checking what they can and cant do because they can change that variable on their computer...
If i save the username/password they write and check with that every time, it wont be and less sequre than if they try to login with some other info, right?
[QUOTE=TBthegr81;32597537]For security, i should $session the users username/password when they post it in the loginbox and every time check that with the database for when they does anything, right?
I should not $session the ID that they logged in with and use that for checking what they can and cant do because they can change that variable on their computer...
If i save the username/password they write and check with that every time, it wont be and less sequre than if they try to login with some other info, right?[/QUOTE]No, you never save the users password in the session.
Working on iHome again. The website isn't so interesting, however, the technique behind it is. (Need to optimize it though...)
Edit: Lichtschalter => Lightswitch
Licht anschalten => Turn on light
[IMG]http://images.glua.info/?di=0131759910614[/IMG]
Well, I've decided to make a theme for wordpress and make it my blog. and other stuff like portfolio.
So i've started with the bolierplate from starkers theme and this is what i have right now
[url]http://zzlawlzz.com/blog/[/url]
It would be nice if you guys game me some feed back!
I hope the color sheme is a good choice :v:
[editline]3rd October 2011[/editline]
Oh ya, it's not done yet.
I'm still working on my web Minecraft clone, and have appeared to have extreme errors (as expected) with people disabling Javascript.
[url]http://mc.summerglaufc.org[/url]
I'm going to add a notice for non-JS users now.
If you don't want to make an account, login with:
Username: username
Password: password
I made my first blog using code igniter. Using a framework is so nice.
The blog has unique comment threads and requires users to be logged in to comment.
[img]http://dl.dropbox.com/u/9170163/petawebsite1.jpg[/img]
i used emboss on the webpage title like my teacher told me to
am i getting better???
[QUOTE=TropicalV2;32601778][img]http://dl.dropbox.com/u/9170163/petawebsite1.jpg[/img]
i used emboss on the webpage title like my teacher told me to
am i getting better???[/QUOTE]
Whoa man, slow down. This shit is beyond Apple quality design.
[QUOTE=RusselG;32599443]I'm still working on my web Minecraft clone, and have appeared to have extreme errors (as expected) with people disabling Javascript.
[url]http://mc.summerglaufc.org[/url]
I'm going to add a notice for non-JS users now.
If you don't want to make an account, login with:
Username: username
Password: password[/QUOTE]Are you planning to actually make minecraft or is this just a clone of the menu? :rolleyes:
[QUOTE=TerabyteS_;32602707]Are you planning to actually make minecraft or is this just a clone of the menu? :rolleyes:[/QUOTE]
I'm actually going to get started now.
Can you recommend a good JS game engine?
[QUOTE=Octave;32597625]No, you never save the users password in the session.[/QUOTE]
but i should save it somwhere so i can check it against the database right?
If i only check it one-time it whould not be very safe...
[QUOTE=amcfaggot;32602479]Whoa man, slow down. This shit is beyond Apple quality design.[/QUOTE]
I know.
[IMG]http://www.theapplecollection.com/design/macproto/images/pippinb.jpg[/IMG]
[QUOTE=amcfaggot;32602479]Whoa man, slow down. This shit is beyond Apple quality design.[/QUOTE]
I can still read the words, it needs less contrast before it can achieve iNirvana
The earlier design with the links that said "Visit Korea" and [i]"Leave in Shame"[/i] had me laughing so hard, the dogs barking in the street were telling me to be quiet.
[QUOTE=RusselG;32602722]I'm actually going to get started now.
Can you recommend a good JS game engine?[/QUOTE]It is not technically possiblre to make minecraft in Javascript. Forget about it.
[QUOTE=TBthegr81;32603442]but i should save it somwhere so i can check it against the database right?
If i only check it one-time it whould not be very safe...[/QUOTE]I think you can just check it once, when he or she logs in, and then use other security measures. For example, regenerate their session id anytime a change is made.
[QUOTE=TerabyteS_;32604024]It is not technically possiblre to make minecraft in Javascript. Forget about it.[/QUOTE]
Javascript + Canvas.
Seen this? [url]http://javascriptgaming.com[/url]
A lot is possible, I'll probably stumble, but it is possible.
[QUOTE=RusselG;32604176]Javascript + Canvas.
Seen this? [url]http://javascriptgaming.com[/url]
A lot is possible, I'll probably stumble, but it is possible.[/QUOTE]
That's like saying you can write Minecraft in Visual Basic by linking to a pong clone written in it.
[QUOTE=TerabyteS_;32604283][url]http://gabrielecirulli.com/pong[/url] :eng101:[/QUOTE]
This is actually fun :v:
I know a dude who had a functional block renderer working via three.js, with terrain generation via perlin noise.
I doubt Minecraft was made from any less humble beginnings either. Not to say it'll run well, mind, at least till you start getting better webgl support I'd think.
[QUOTE=Weiss;32604379]I know a dude who had a functional block renderer working via three.js, with terrain generation via perlin noise.
I doubt Minecraft was made from any less humble beginnings either. Not to say it'll run well, mind, at least till you start getting better webgl support I'd think.[/QUOTE]
Hi. [URL="http://zack0wack0.com/files/jscraft/index.html"]http://zack0wack0.com/files/jscraft/index.html[/URL] It's based off of [URL="http://mrdoob.github.com/three.js/examples/webgl_geometry_minecraft_ao.html"]this[/URL] example of three.js. I just added water and terrain generation, I tried to make trees.. but they were shit.
Hey, I'm working on my first website: [url]http://drluke.dr.funpic.de/index.php[/url] !
Any suggestions and criticism?
[QUOTE=DrLuke;32605093]Hey, I'm working on my first website: [url]http://drluke.dr.funpic.de/index.php[/url] !
Any suggestions and criticism?[/QUOTE]
Instead of doing .contenth1, .footercontent; do .content h1, .footer p.
There's my little suggestion.
[QUOTE=Zack0Wack0;32604483]Hi. [URL="http://zack0wack0.com/files/jscraft/index.html"]http://zack0wack0.com/files/jscraft/index.html[/URL] It's based off of [URL="http://mrdoob.github.com/three.js/examples/webgl_geometry_minecraft_ao.html"]this[/URL] example of three.js. I just added water and terrain generation, I tried to make trees.. but they were shit.[/QUOTE]
this runs better than original minecraft for me
[code]<?php
/* LatestJS by RusselG
* This is a stupid test I've wanted to do for ages.
*/
// Declare the function
function loadjs($name, $ver){
// if the JS is jquery and a version num is set, return the defined jQuery version.
if($name == 'jquery' && isset($ver)){
$return = '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/'. $ver .'/jquery.min.js"></script>';
}
echo $return;
}
function latestjs($name){
if($name == 'jquery'){
$return = '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>';
}
echo $return;
}
?>[/code]
I have this really shitty code to grab a defined (or latest) version of jQuery.
How would I go about ignoring $ver if you don't define it? (as in loadjs('jquery'); without the ver)
I am juggling multiple websites at the moment, the sites I am currently developing are:
[url]http://fineandcountrylifestylesmagazine.com/[/url]
[url]http://norwichcitycollection.com/dev/properties/[/url]
[url]http://chancerygate.com/[/url]
There is this one office management system I created, that manages a nationwide company that fit caravan accessories. It plans when and where the fitters are going to do, customer list, printable invoice+order forms, a google map showing locations of fits, etc. If anyone needs a web developer, I'm your guy ;]
[editline]3rd October 2011[/editline]
[QUOTE=RusselG;32605556][code]<?php
How would I go about ignoring $ver if you don't define it? (as in loadjs('jquery'); without the ver)[/QUOTE]
You can define a default variable for a function (if it hasn't been set) like this:
function loadjs($name, $ver = '1.6.6') {
Sorry, you need to Log In to post a reply to this thread.