-
Posts
2,491 -
Joined
-
Last visited
-
Days Won
196
Content Type
Profiles
Forums
Events
Everything posted by Dayo
-
[align=center]Basics Of Desiging a Template[/align] Latley i have seen several designs that TBH would be very hard to code to html / very easy if you use millions of images and slow the browser down an example of this would be http://i55.tinypic.com/10ngxlg.gif (sorry shinobi but listen to whats said in here ... it will help you) Right the first thing that you need to forget is fansy fonts and effects the font has - with CSS you can get a shadow and thats it, also take the size of the text into account, if everything is 20px the user dont know where to look for every image you dont use your game will load faster and your bandwitdth will go alot further Size of canvas and Background - i see so many designs 900px wide when i design a layout i do it a min of 1600px wide so i can account for the bigger screen resolutions. Backgrounds - i see so many designs with backgrounds like mnist/pattern along the top, for a background use something that can be repeated across the x-axis and align with one and another Images - Try to avoid using big images as you are waisting browser load time ill add more as i think ...
-
I have the older version dw8 but on my laptop I always have the latest version as I reset my laptop monthly and keep files on a hard drive.
-
You will find it alot easier learning yourself, most if not everyone I know taught themselfs (via tutorials etc and the occasional question here and there) also to learn CSS dreamweaver is a good programme to use ;)
-
Gointo phpmyadmin and delete all rows in the tables like users userstats etc... All except your ID I offer this service but at a low cost
-
yea this is one of the many free mods i have made 70% of when it is finnished ill post it up
-
I just read $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; Then stopped
-
what if you had a link criminal.php?docrime=1&useitm=3 (granted its not default mccodes but you get what i mean) so it would change criminal.php?docrime=1&useitm=3 to robbery.php?docrime=1&useitm=3
-
any existing html lionks would be broken ... what i would do is keep criminal but add something like this into it <?php header("Location:".str_replace("criminal.php", "robbery.php", $_SERVER['REQUESR_URI']); ?> please note this is untested
-
surley if 50% of your game is flash you can code something as simple as this, (i presume it is fairly simple) i cant code in actionscript i only have simple flash knoladge i learned at school ^^
-
May I ask what is the point with it being flash there are more cons then pros
-
I can't take credit for the template it is an old one I purchased a while ago I'll they to get the link
-
As some of you may know in the new year i am finaly going to have more time for my web design, so as well as my projects i will have a bit of time to do some private work. I have recently Updated my website http://www.cddesigns.org with a more professional look and feel any feedback would be good :D Skills xHTML/CSS PHP/SQL Javascript Little bit of ajax and JQuery I am happy to work with any code weather it be unique or part of an existing script (ie McCodes) just pop me an email at dayo@cddesigns or click here
-
lol that was the old layout, forgot to swap the theme around :P ill do it sometime tonight/tomorow ^^
-
Can't you send variables to the flash via the embed tag Quick google: http://www.permadi.com/tutorial/flashVars/index.html
-
If you nag me on irc later I'll make this mod/tell you how you would go about it ;)
-
so you want to make 1 item out of 3 or you want a random item out of the three you have
-
Thanks, ive improved the styling of aspects of the game, not all yet but im working on it ;)
-
Thats one of the only things mccodes beats GL on is the flexability of the engine, but we will change all that ;)
-
Thanks, yea we are using the GL scripts, but in the new year we will be updating it heavily as i think its too restricted and many/most of the features will be updated
-
Some of you may remember The Mercenary, it had a quick and painfull death :P as i was at school and worked at McDonalds so i had no money and time to spend on it. The other day i found the files on my hard drives and now i have a bit more time and cash i decided i will finish the game off, the url is http://www.themercenary.net I will be adding new and unique features in JAN 2011 when untill then i would love to hear any suggestions/ideas you have. Thanks, dayo [fieldset=''][legend]UPDATE 1[/legend] Fixed several CSS Errors Fixed Terms of service page! Fixed Forgot password page! Deleted all previous accounts [/fieldset]
-
looking good :thumbsup: 1 point thogh where is the $h->endpage();
-
just done a quick fix using children and probly made it more efficiant the problem was you could get the grey area that slides down stay at the bottom once you move the mouse away (some thing i didnt want :D) Thanks for pointing out children <!DOCTYPE html> <html> <head> <style> p { width:400px; } </style> <script src="http://code.jquery.com/jquery-1.4.4.js"></script> </head> <body> <div align="center"> <div style="width:585px;"> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:left">x2</div> </div> </div> </div> </div> <script> $(".inner").hover(function () { $(this).children(".text").slideToggle("slow"); $(this).children(".ammount").slideToggle("slow"); }); /* $(".inner").hover(function () { if($(this).children('.text').css('display') == 'none') { $(this).children('.text').slideDown("slow"); $(this).children('.text').slideDown("slow"); } else { $(this).children('.text').slideUp("slow"); $(this).children('.text').slideUp("slow"); } });*/ </script> </body> </html>
-
Thank you, i will have to look more deeply into JQuery :D
-
right i have this script <!DOCTYPE html> <html> <head> <style> p { width:400px; } </style> <script src="http://code.jquery.com/jquery-1.4.4.js"></script> </head> <body> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:leftl">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:leftl">x2</div> </div> </div> <div style="width:125px; height:125px; padding:5px; margin:5px; float:left; background-color:#999;"> <div class="inner" style="width:125px; height:125px; background-color:#F00; overflow:hidden;"> <div class="text" style="display:none; margin-top:100px; height:25px; width:125px; text-align:center; background-color:#ccc; float:leftl"></div> <div class="ammount" style=" height:25px; width:25px; background-color:#ccc; padding:3px; text-align:center; float:leftl">x2</div> </div> </div> <script> $(".inner").hover(function () { $(".text").slideToggle("slow"); $(".ammount").slideToggle("slow"); }); </script> </body> </html> what i want it to do is only toggle the slide on the div i hover over and not all 3 i have tryed for a while any help would be appreciated!
-
should carSAVING1 be carSAVING? also try echo'ing your cost1 to see if that is 0 if so there could be your problem