Jump to content

TheFilmGod

Members
  • Posts

    1,941
  • Joined

  • Last visited

    Never

Everything posted by TheFilmGod

  1. sorry to be completely off-topic but how is a certificate from spanish II for exceptional grades back in 1999 something you would want to put on your resume? Isn't that back in High School??
  2. The code is very generic. %% are variables. So whether it is php or not, it's not too hard to decipher. You need to float the elements of the list. ul { overflow: hidden; } li { float: left; }
  3. Why would you allow the user to create their own option? That completely defeats teh person of having a list of options to begin with. Just use a text input then... ???
  4. contents += '<tr><td>1</td><td>First Day of School</td><td>'; contents += month_name[start[0]].slice(0,3) + '. ' + start[1] + ', ' year; contents += '</td><td>'; Firebug says I am missing a semicolon ";" right before the second line "contents += month[name..."
  5. // Grab parent .group as variable var parent = $(this).parents('.group:eq(0)'); // Count all checked checkboxes within the parent $(parent + ' input[type=checkbox][checked]').addClass('hidden'); It seems like jquery grabs the parent object just fine but then hiccups up an error when I use the "parent" object to select all of its input children. What am I doing wrong?
  6. Ever heard of halo? What about world of war craft? No need to reinvent the wheel. Simply do your research.
  7. Yes, that's the correct way of doing it on a small scale. If you had 1 million users and constantly updated their progress every let's say 80 seconds - that would be a problem. On a large scale you would simply add a row with the user_id and the puzzle_id they accomplished. A cron job would cycle through those records and update the original user rows of their progress. To make this "cron" job work - you'd also need to make sure that you store the user's progress in a PHP Session to keep things as correct as possible.
  8. IE6 doesn't support png transparency. I gave up ie6 two years ago. I encourage you do the same.
  9. Why would you use a div for the user image? I would just use a <img /> tag and position it correctly using css. This is the more proficient, but more advanced way of positioning elements on the page!
  10. var text = ' <tr class="days"> <th>S</th> <th>M</th> <th>T</th> <th>W</th> <th>T</th> <th>F</th> <th>S</th> </tr>'; doesn't seem to work? Why not?
  11. although the code excerpt makes it seem like I'm being redundant, the month array will be an extremely long string. The month name is the first portion of the string.
  12. Good point about the 13 times. Its a calendar so it should only loop 12 times. Yes, I declared the variable beforehand. I'm just playing around w/ the code. I'll completely revamp it tomorrow morning. It's getting really late. Thanks guys!
  13. // Add contents to month array for (var cal_num = 0; cal_num <= 12; cal_num++) { month[cal_num] = month_name[cal_num]; } What's wrong with this?
  14. That's incorrect. The ul does not have a fixed width, so the browser will stretch the width of the <ul> tag 100%. Centering a list that has floated items within itself is difficult. You could do "display: table" on the ul and then use "margin: 0 auto;" or you could just compute the pixel/em width of the ul tag by hand and put it directly in there.
  15. Your code is poorly designed. Text should always be enclosed within a text block-level tag. <br /> should rarely be used if you design properly. It seems like you're more of a php developer than a designer. :-\
  16. Adding the "|" pipe character within your html is poor semantics. You should never add such characters for visual purposes. Simply use css.
  17. If the server pukes a white (blank) page at you, it means the server killed the process. Meaning your php code "crashed." Unless you have a virtual or dedicated server you won't be able to check out the log files of the server. You'll need to start from scratch one and re do it all over again. I had this happen to me before too. :-X
  18. I'm designing a school website for a school. I'm currently working on the calendar feature. However, I've hit a blockade. Recurring events are not a problem for me. Any repeating events will get a new record. I'm going for speed not for space. Here's the problem - there will be many different events - school, grade, club, and homework... School events will apply to everyone, but grade, club, and homework, will apply to only a certain number of students. How do I design a database schema to make it easy for JUNIOR IN CALCULUS BC to find all school events, grade events, and homework that apply to him? Thanks!
  19. The text links must have an attribute of "nofollow" so robots know it's an advertise. Otherwise, it is a violation of Google Term's of Use.
  20. Surprisingly, IE has very high security! That doesn't make it any better than FF though. IE isn't redirecting because the website is redirecting to an entirely different domain. You should do a php redirect instead of a meta redirect. You could also change your preferences within IE so it could redirect w/ out a problem.
  21. Facebook? It should work just fine in internet explorer... ??? Which version? The entire popup or just a portion of it?
  22. It should work without any extra code in FF.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.