right so im using percentages to size that navbar, anyway I can make it fit all resolutions?
right so im using percentages to size that navbar, anyway I can make it fit all resolutions?
It's not even loading for me now I just get this:
As for your question you could use min-width
EDIT: Quickly messed around using Chrome inspect element and on the #navbar add:
min-width:240px;
min-height:50px;
Then you can tweak it to your liking
EDIT2: Your site seems to load now
i'm not new to web dev, but i am just getting started on working on this as a serious project. Anyways, I like to avoid using pixels but I guess I can try that.
-snip-
You use it as well as percentages it just makes it so it doesn't go really small.
Yeah forgot to mention thats a in-development screenshot, its been added now!
man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.
I'm currently in the process of creating a php login / registration system, its a lot more work than I first anticipated.
I followed this tutorial mainly:
http://tinsology.net/2009/06/creatin...the-right-way/
but I made a few changes such as not storing the password salt in the database and instead having it pick 3 fixed characters only I know the position of and salt these to hash the password with.
Its a decent base but I ran into problems using it too, the major one was 'how the hell do I get the error messages back to the form, I followed another tutorial on form validation for that which basically sent the form back to itself with the errors.
Just keep at it, the tutorial on tinsology is quite easy to get your head around, it does literally just drop you at the other end with an incredibly basic system though.
http://www.openwall.com/phpass/
You're welcome
On a serious note this is very secure, and pretty damn easy to use. Just read a tutorial like this
that tutorial doesn't seem to mysql escape the form input tut tut tut.
Yeah its by no means perfect, stores stuff like salts in the DB which isnt great, but it is a good starting point.
I just updated http://toaster468.com/bm/ with a new analytic API I found! Its called Flexpi and it is for games/web apps and they offer free real-time stats.
My game is just a simple button mashing game, but it is nice practice and getting the API working and everything was a breeze. I really recommend this. I sound like a spam bot but really, check it out.
Edited:
Wow already 4,661 mashes. Who the heck is doing it?
Do I win?Code:while(true){ IsKeyUp(); }
I'm kinda worried you guys are going to get me in trouble. Thanks to you guys the API usage counter went from 2k to 35k
Edited:
Holy fuck don't do that please. Oh Jesus I need to fix this.
Maybe you need to implement some sort of delay so that it can only be counted if the speed is below a certain speed - not sure if it's worth implementing that though.
Yeah I'll run the function in set interval.
or you could just wrap your code in an anonymous function which would stop outside tampering, although you could still write a script to trigger a button so it would be smart to add a limit also.
Reviewing and improving my design:
From:
To:
![]()
Much nicer. What does the star mean though?
It should represent the download to upload ratio (left number) and the required ratio that should be met (right number). That part is still problematic, I'm still thinking of how to make it represent the right message.
A downward and upward arrow with a colon separating them?
I think that would make more sense.
Edited:
Forgive the MSpaint.
Edited:
Or lose the colon even, make it look like a mobile data connection icon.
That's a good idea, thank you.
that doesnt really make sense
it would work for upload/download but not for required and ratio
cant you just make it show required on mouseover or something
A tooltip is already planned, yes.
Edited:
?
oh right i thought you meant an icon to seperate ratio and required
looks good now
The second one looks nicer, but the first one is easier to use. I would go with number one.
It's just easier to understand at first contact, but in the long run, once one knows what each number means, it would become bloated. Tooltips and possibly a feature tour should help learning about these numbers the first time you see them.
Here's an example tooltip, shown on hover:
![]()
An idea, could you show ratio percentage increase per day and a arrow indication if it is going up or down, sort of how stock exchange statistics work
Cant really explain it too well but hopefully you will understand, could be a nice feature
I'm not an expert on the mechanics of private trackers, but from what I understand having the exact current ratio and the required ratio always at hand is very important because the current ratio being below the required ratio for a period of time might lead to a ban.
Im fairly experienced, i run 3 seedboxes and yeas the required ratio is important and current, however when you are like me and have a ratio of over 20.0 being able to see the general direction of your ratio is nice.
I have seedboxes setup with RSS feeds so they auto download and seed stuff, occasionally you will get a few torrents that dont seed well and being able to know your ratio is going down rather than up would be cool, Im always under the impression that the more statistics the better
Excuse the crude example, but this is sort of what i meant
![]()
that's my isometry code, it's interesting if you can build the overall functions by yourself.Code:<?php include("database.php"); include("world.php"); include("player.php"); include("items.php"); include("defines.php"); Class Engine { // Initialize the Engine (runs when client opens the game) function init() { $dbcon = new Database; $dbcon->connect(); print "Engine Initiated.<Br />"; } // Read map from file (.txt) function readMap($mapFile) { $tiles = new World; $map = file_get_contents("maps/".$mapFile.".txt"); $mapArray = explode("\n", $map); $rowBlock = 0; $rowPos = 24; foreach($mapArray as $block) { if($rowBlock == 0) { $block = str_replace("[,0,]",$tiles->tileBlock(grass,"$rowBlock"),$block); $block = str_replace("[,1,]",$tiles->tileBlock(dirt,"$rowBlock"),$block); $block = str_replace("[,b,]","<br>",$block); $block = "<div id='a'>".$block."</div>"; $rowBlock++; } else if($rowBlock == 1) { $block = str_replace("[,0,]",$tiles->tileBlock(grass,"2"),$block); $block = str_replace("[,1,]",$tiles->tileBlock(dirt,"2"),$block); $block = str_replace("[,b,]","<br>",$block); $block = "<div id='b'>".$block."</div>"; $rowBlock++; } else { if($rowBlock % 2) { $block = str_replace("[,0,]",$tiles->tileBlock(grass,"3a"),$block); $block = str_replace("[,1,]",$tiles->tileBlock(dirt,"3a"),$block); $block = str_replace("[,b,]","<br>",$block); $block = "<div id='c' style='top:$rowPos px;'>".$block."</div>"; } else { $block = str_replace("[,0,]",$tiles->tileBlock(grass,"3b"),$block); $block = str_replace("[,1,]",$tiles->tileBlock(dirt,"3b"),$block); $block = str_replace("[,b,]","<br>",$block); $block = "<div id='d' style='top:$rowPos px;'>".$block."</div>"; } $rowPos = $rowPos + 12; $rowBlock++; } print $block; } } } ?>
Looks nice on a puny 320x480 iPod touch screen too.
I'm not entirely sure on how I'm going to implement a "home" button, I don't think tapping the "planB" title is obvious enough.
Put a house icon next to it and it would be fairly obvious
I'll stuff it on the right hand side, that should be okay for now.
Edited:
Hmm, I think I need to either use vector graphics, or have separate images for different display densities.
Hi all. I've thrown together a little farm shop mock up and am looking for some constructive criticism or ideas.
http://numyspace.co.uk/~unn_w10020799/welch/site/index.html (The logo is temporary!)
Be gentle, I'm no pro! :)
That doesn't look bad at all! The background gets a little distracting when scrolling because it's static and the white/grey plant part has a very attention-grabbing shape and color. I would dim it down.
Didn't expect a positive response but I suppose everyone is their worst critic! Thanks. I'll quickly dim it as you said.
Edit:
Done!
To be honest that ain't bad looking for a noobie but I think you should base the design more around farm elements. I have some pretty good ideas from those photos in the slider.
Also, you have a few errors in your HTML.
Meta tags need to go inside the head element, you have one outside at the top.
You've miss typed all of the anchor closing tag in the navigation div.
The </br> tag should be <br /> and you need to close the <hr /> tag in the footer.
Really you should be using HTML5, you can read up on it here: https://developer.mozilla.org/en/HTML/HTML5
On last thing. Include jQuery from the Google CDN here: http://ajax.googleapis.com/ajax/libs.../jquery.min.js
there's a good chance a visitor will have downloaded and cached it already on another website.
Not going to lie, I really didn't want to W3Standards check it because I knew it'd be atrocious. I'll get on that anyway. Thanks jaybuz.
Edit:
All but the data-transition is validated now (Not HTML5!) and I'm using Googles jQuery file.