Jump to content

HighCaliber

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by HighCaliber

  1. I am creating my own game script and I would like to sort my MySQL results for my all games page into two columns. I would like it to show the first half of the entries in column 1 and the second half in column 2.For example... <table><tr><td>Entry 1</td><td>Entry 4</td></tr><tr><td>Entry 2</td><td>Entry 5</td></tr><tr><td>Entry 3</td><td>Entry 6</td></tr></table> Does anyone know how to make it sort entries this way?
  2. Set the height of your body to 100%. Then see if the 40% works.
  3. HighCaliber

    CSS Tooltip

    Does anyone know how to make a browser friendly css tooltip? I have the following but it is not working in IE. a.tooltip { position:relative; z-index:24; } a.tooltip:hover { z-index:25; } a.tooltip span { display: none; } a.tooltip:hover span { background: transparent url('Themes/Default/Images/tooltip.gif') left center no-repeat; border: 0px; bottom: -5px; color: black; display: block; height: 54px; padding: 3px 3px 3px 15px; position: absolute; right: -222px; text-align: center; width: 202px; }
  4. Thank you, it finally works i have been asking around on multiple forums trying to get this fixed and it was so simple. Now I feel stupid lol
  5. I am trying to create a toggle function for my forum.Here is my javasript code... <script type="JavaScript">function toggle(obj1, obj2) { var el = document.getElementById(obj1); var el2 = document.getElementById(obj2); if ( el.style.display != 'none' ) { el.style.display = 'none'; el2.src = "Themes/Default/Images/category_expand.png"; } else { el.style.display = ''; el2.src = "Themes/Default/Images/category_shrink.png"; }}</script> and here is what i am trying to toggle... <a href="java script:toggle(1, si1)"><img alt="" border="0" src="Themes/Default/Images/category_shrink.png" id="si1" /></a><table cellspacing="1" class="Section_Middle" id="1"><tr><td>content to toggle</td></tr></table> For some reason this will not work, when i go to validate it it says el2 has no properties. Can anyone figure how to fix this or show me a valid (W3C Standards) way to toggle two objects.
  6. HighCaliber

    Forums?

    Good luck, I am currently coding one myself, so far i have it to where you can view and post topics and replies and i have a word filter and support for bbc code. It takes time and patience. I am new to php but i have found a lot of help throught tutorials and asking questions on forums. The biggest challenge for me is going to be the user system.
  7. Please review www.ugplay.comAll comments and suggestions welcome.Thanks,Chris
  8. There could be some kind of test that you take to qualify as good in certain areas. It would have to have a time limit or something to prevent cheating. That would at least help a little as to preventing bragging.Chris
  9. I think this is what you want...CSS html, body {background: black url(blah/blah.jpg)font-family: arial, helvetica, sans-serif;height: 100%;margin: 0px;padding:0px;width: 100%;}#header {background: #fff url(untitled.bmp);color: red;height: 200px;padding: 0;text-align: center;width: 100%;} HTML <html><head><title>HTML Editor</title><link href="style.css" rel="stylesheet" type="text/css" /></head><body><div id="header"></div></body></html> If you need to know more let me know.Chris
  10. Post your code and I will try to help.Chris
  11. Can you give me the dimensions you desire it to be?Then I'll try to create it for you.Matt
  12. I said, "dealing with oceans and fish."Dolphins are in the ocean.Chris
  13. MirokuDo you want to make the scroll box using html instead of flash?If so I think I can help.Matt
  14. What exactly are you wanting?
  15. Searching for websites doesn't take me very long because I have all of them favorited.Chris
  16. blue gilcatfishstarfishsand dollarsea cucumberlobsterdolphinsea lionsting rayThis came off the top of my head, dealing with oceans and fish.Good Luck!Chris
  17. Here you go. <script type="text/javascript"><!--function Alert_k(){ if (window.event.keyCode == 107) {alert('Hello World')};}//--></script> Place this in your body: <body onKeyPress="Alert_k()"> Key Codes 09 = Tab 11 = Home 13 = Enter32 = Space Bar 33 = ! 34 = "35 = # 36 = $ 37 = %38 = & 39 = ' 40 = (41 = ) 42 = * 43 = +44 = , 45 = - 46 = .47 = / 48 = 0 49 = 150 = 2 51 = 3 52 = 453 = 5 54 = 6 55 = 756 = 8 57 = 9 58 = :59 = ; 60 = < 61 = =62 = > 63 = ? 64 = @65 = A 66 = B 67 = C68 = D 69 = E 70 = F71 = G 72 = H 73 = I74 = J 75 = K 76 = L77 = M 78 = N 79 = O80 = P 81 = Q 82 = R83 = S 84 = T 85 = U86 = V 87 = W 88 = X89 = Y 90 = Z 91 = [92 = \ 93 = ] 94 = ^95 = - 96 = ` 97 = a98 = b 99 = c 100 = d101 = e 102 = f 103 = g104 = h 105 = i 106 = j107 = k 108 = l 109 = m110 = n 111 = o 112 = p113 = q 114 = r 115 = s116 = t 117 = u 118 = v119 = w 120 = x 121 = y122 = z 123 = { 124 = |125 = } 126 = ~ Chris
  18. I agree, I was just wondering and nothing else was going on in the forums.Chris
  19. Thanks Skemcin,How many posts does it take to get to level 3?
  20. This is what I found...Put this in your head... <script LANGUAGE="JavaScript"><!--/* Author's Name: Andy Augustine JavaScript Snippet: 'mailIt' E-mail address: jspro@inquiry.com Original Location: [url="http://www.inquiry.com/techtips/js_pro/"]http://www.inquiry.com/techtips/js_pro/[/url] Permission granted to freely distribute and use this code as long as this header remains in tact. ©1996 Andy Augustine */ function mailIt(form) { var data = document.dataForm var userInfo = "" // comment out the next line if you want to hardcode the reciepient // then add 'foo@bar.com' to the 'mailform' action attribute // (i.e. -- ACTION="mailto:foo@bar.com") form.action += data.recipient.value // comment out the next line if you want to hardcode the subject // then add '?subject=example' to the 'mailform' action attribute. // You must hardcode an address before you can hardcode a subject. // (i.e. -- ACTION="mailto:foo@bar.com?subject=example") form.action += "?subject=" + data.subject.value userInfo += "Page Title: " + document.title + "\n" userInfo += "Mailed From: " + document.location + "\n\n" form.mailBody.value = userInfo + data.body.value return true}// --></SCRIPT> Put this in the body... <form name="dataForm">Recipient:<input name="recipient" size="40" value="numberone@web-nation.com"><br/>Subject:<input name="subject" size=40><br/>Message:<textarea name="body" cols="40" rows="10" WRAP=virtual></textarea></form><form name="mailForm" action="mailto:" method="post" enctype="multipart/form-data" onSubmit="return mailIt(this)"><input type="hidden" name="mailBody" value=""><input type="submit" value="Send This Mail Message Now"></form> Matt
  21. I was just wondering how the ranking system functions.Chris
  22. I doubt that is possible, and even if it was it would be more trouble than it is worth.Chris
  23. All the designs I develop implenent function over looks as well.If you develop a clean site that is neat and organized it can look great.Chris
  24. I don't recommend switching to frames, they are outdated. Your site works fine in IE, but will not load correctly in FF. If you get rid of the frames I will attempt to help you.Chris
×
×
  • Create New...