Jump to content
MakeWebGames

Lithium

Members
  • Posts

    1,099
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lithium

  1. Re: Multiple Cases try something along this lines... $rare = rand(111,1111); if ($rare = 666) { give rare item; exit; } else { $go = rand(1,10) switch($go) { case ($go=='1'): blah blah; break; case ($go=='2' || $go=='3' || $go=='4' || $go=='5'): Yada yada; break; }
  2. Lithium

    Input buttons

    To all of you out there that work with webdesign, i got a small question.. Having this..   <style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: [url]http://www.dynamicdrive.com/style/[/url] */ a.boldbuttons{ background: transparent url('media/roundedge-gray-left.gif') no-repeat top left; display: block; float: left; font: bold 13px Arial; /* Change 13px as desired */ line-height: 22px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 30px) */ height: 30px; /* Height of button background height */ padding-left: 8px; /* Width of left menu image */ text-decoration: none; } a:link.boldbuttons, a:visited.boldbuttons, a:hover.boldbuttons, a:active.boldbuttons{ color: white; /*button text color*/ } a.boldbuttons span{ background: transparent url('media/roundedge-gray-right.gif') no-repeat top right; display: block; padding: 4px 10px 4px 2px; /*Set 10px to be equal or greater than'padding-left' value above*/ } a:hover.boldbuttons{ /* Hover state CSS */ text-decoration: underline; } .buttonwrapper{ /* Container you can use to surround a CSS button to clear float */ overflow: hidden; /*See: [url]http://www.quirksmode.org/css/clearing.html[/url] */ width: 100%; } </style>   and this (example)...   <h4>Single button:</h4> <div class="buttonwrapper"> [url="http://www.dynamicdrive.com/style/"]<span>Dynamic Drive CSS Library</span>[/url] </div> <h4>Side by Side:</h4> <div class="buttonwrapper"> [url="http://www.dynamicdrive.com/style/csslibrary/category/C7/"]<span>Download Now</span>[/url] [url="http://www.dynamicdrive.com/style/csslibrary/category/C7/"]<span>CSS buttons</span>[/url] </div>   original article can be seen at http://www.dynamicdrive.com/style/csslibrary/item/bold_css_buttons/   How can i use the first code bits in order to make it as a replacement to <input type="button"> tags?
  3. Re: MDShare's mod recomendation from general discussion (item sales graphs)   prolly same as config.php ? just a wild guess though :)
  4. Re: THIS IS URGENT!!! 3 hours later... lol Probably it doesn't work cause you're passing (or not) the incorrect values?
  5. Re: Show images help if ($ir['jail']) { print ''; }
  6. Re: Main Menu Image Back Ground http://tinyurl.com/cywtjp
  7. Re: Main Menu Image Back Ground hmmm, definetly into <td> tags, also you can cut the middle image down to a few pixels height as you can use repeat-y to make it use the entire <td> height
  8. Re: Main Menu Image Back Ground depending on the images, and how you have made them (to show), either inside <table> or inside <td>
  9. Re: [mccode] Stop NPC attacks   Before saying the script isn't able to catch it, be sure that your overall configuration catches $bot['npcid']. I'm just saying this because there are a lot of versions floating around that simply have the npc's inside arrays, making the $bot['npcid'] var pretty much useless :)
  10. Re: HTML CSS Grids based layout (multi-column fluid pages)   Had tried that at first but even with the container div there's not much use :( And after Floydian's reply, i went digging some info, and it seems the solution goes in fact by using some javascript to make the work around :|
  11. Re: Gameforge looking for 200 new employees i went there and the job openeings point to a german speaking... i got myself looking at it and wondering if they were calling names or something hehe. i only know 2 or 3 words on german so i can't really read it :|
  12. Re: HTML CSS Grids based layout (multi-column fluid pages) hmmm, more work!!! lol Thx for the heads up Floydian :)
  13. Re: Gameforge looking for 200 new employees too bad that those are pretty much unreadable! ehehe "ich sprechen nicht deutsch!"
  14. Re: HTML CSS Grids based layout (multi-column fluid pages) prolly this is the best place to ask for help as it goes into the subject. I have a 3 column, header and footer layout. though how can i make the left and right columns height, meet the footer, taking that "content" div is bigger than both left and right ones?
  15. Re: vote rpg not working. magic boxes not working donater days not subtracting   I assume you should have then... 230... so, check your staff functions as well as crons like POG1 said :)
  16. Re: will this secure my website?   without wanting to be mean... this would be the best way to secure it!
  17. Re: Good Addintion to CE forums supposing someone has, why being so pushy for about two weeks asking for the same thing? if no one answers (and even for what i've seen someone did offer you help on this one) you keep pushing on the same subject, post after post!
  18. Re: Need a checker would it be too hard to use the "SEARCH" function?
  19. Re: Icons Help H1TM4N 15: check for case sensitive Male or male, Female or female
  20. Re: [MCCODES V2]My First Mod (Flash Games)   Pointless topic indeed... Your! IF it was a pointless topic, even more pointless your flaming become, feeding what you called as pointless.
  21. Re: Apache help... capturing a $_GET variable: Options +FollowSymlinks RewriteEngine On RewriteCond %{QUERY_STRING} foo=(.*) RewriteRule ^grab(.*) /page.php?bar=%1   would translate a link/user's request for.. http://domain.com/grab?foo=bar server-side, into.. http://domain.com/page.php?bar=bar
  22. Re: Secure Names? Please help. you can use ctype functions. http://us.php.net/manual/en/book.ctype.php
  23. Re: Is It Possible? table column | column (header image) | column something along these lines
  24. Re: Stats have a maximum Damn, 4 topics basicly on the same subject... you should read the replies to the others instead dupping posts, don't you think?
  25. Re: Car Mod Help $db->query("query") and not $db->query("query",$c)
×
×
  • Create New...