Jump to content

End User

Members
  • Content Count

    309
  • Joined

  • Last visited

Everything posted by End User

  1. Ahh, I should clarify- if I move the cursor outside the ball's "area", they calm down. If I leave it in the logo area they sit there and jitter or oscillate indefinitely and never settle down.
  2. They settle down for me if I stop moving the mouse. I'm using Firefox 3.6.8 on WinXP.
  3. Looks like they rolled out their "Live Search" feature today, which I have mixed feelings on. On one hand, it's pretty cool. On the other hand, it's bloody annoying. Maybe there will be an option to disable it, just like with the infamous "Background Debacle".
  4. End User

    Math Forum?

    That's largely because people understand them better now. Of course they have; ADD/ADHD isn't a recent thing by any means. That's not going to make a bit of difference for someone who truly has ADD/ADHD. Strenuous exercise doesn't mitigate ADD/ADHD. What you had was a lot of energy, not ADD. No offense, but you really don't know what you're talking about. Exercise a child with ADD/ADHD and what you'll get is a tired child with ADD/ADHD. And they'll still have the same difficulty concentrating or learning in a tightly structured environment. I'm no defender of the pharmaceutical industry b
  5. End User

    Math Forum?

    I've not been personally involved in anything like this, although I've read a few articles that show mixed results. Here's the thing: ADD/ADHD isn't just one disorder; the term is a catch-all for a constellation of issues that end up producing more or less the same behavior: an inability to learn effectively via traditional "sit-in-the-seat" methods. Some children seem to respond to alternative teaching methods like you mention above, some don't . Think of ADD/ADHD as akin to a "rash", where a rash can have many causes (allergies, poison ivy, stress, abrasion, scabies, chemical exposure, etc).
  6. End User

    Math Forum?

    I assure you that ADD/ADHD is not a "made up" illness or disorder; the problem is that it frequently seems to be "over diagnosed". I've worked with genuine ADD/ADHD kids and trust me, it's not all just an excuse to prescribe medication. They have measurable, easily identifiable learning deficits, short concentration spans, and an abnormally low threshold for distraction. In short, there are indeed people who most certainly DO have learning disorders that interfere with their ability to concentrate and absorb or retain information. That said, I personally suspect that only ten to fifteen percen
  7. 1) What program are you using to resize it? Most have an option to turn anti-aliasing on or off, which is probably what's causing the blurring. 2) As Synook mentioned, doing the scaling on the server-side with something like gd or ImageMagick will allow you to resize without the blurring. If you server has either of those installed then it would be relatively easy to do it that way.
  8. I've got a regular javascript function inside my doc.ready() block that I'd like to call from code that's returned via an AJAX call: $(document).ready(function(){...blah blah blah... function someFunction(str){ ...code code code... return str; }}); // end of doc.ready() A regular call to someFunction(str) doesn't work unless I place the function outside of the doc.ready() block. I'd like to place it inside the doc.ready() block if at all possible. How do I call this function when it's inside doc.ready()?
  9. Keeping in mind what Deirdre's Dad said, the only way I can think of to do this isn't one I'd implement, but I thought I'd mention it. You could use AJAX to ping the server on a regular basis (every few seconds, every few minutes, whatever) as a "keep alive" function, and when the pinging stopped then delete the files.
  10. I don't have a solution, but I admire the problem.
  11. I'm not sure if AJAX will solve this or not. I think you're hitting the max_execution time limit in your PHP installation, so you may need to increase that.
  12. Dang, I'm sad to report that it doesn't work. It doesn't throw an error, but it doesn't stop the event either In IE or Firefox). $('.noclick').live('click', function(e) { // Get the event object, cross-browser e = e?e:window.event // Stop event propagation e.cancelBubble = true; if(e.stopPropagation) e.stopPropagation();});
  13. On both IE and Firefox, this little bit of code throws the error: "click" is undefined $('.noclick').live('click', function() { // prevent passing the click up the event chain click.stopPropagation();}); I've tried adding "var click;" and "var click=''" directly above the "click.stopPropagation();" line, but then it displays a different error: 'undefined' is null or not an object. Can anyone tell me either what's causing this error message or (hopefully) how to correct it?
  14. Looks like it to me: http://www.comp.dit.ie/mafoley/DBS/ *cough*
  15. I think you want strtotime() in there, for example:date('g:i a', strtotime('2010-08-23 16:41:36')); strtotime() reads almost any date formatted string and returns a timestamp that you can then use in the 2nd argument of date(). I often use it to convert mySQL timestamps to "friendly" dates:$eventstart = "2010-04-01 18:30";$eventstart = date("F d, Y g:i:sa", strtotime($eventstart));"2010-04-01 18:30" converts to "April 01, 2010 6:30:00pm"
  16. A template is a blob of HTML without any code or content in it, instead it contains placeholders that the data is swapped into before it's displayed. For example this might be a "user info" template:<table><tr><td>{name_label}</td><td>{user_name}</td></tr><tr><td>{email_label}</td><td>{user_email}</td></tr></table>The {name_label} placeholder would be replaced at run time by some text that might say, "Your Name Is:".The {user_name} placeholder would be replaced at run time by some text that might say, "John Sm
  17. I'm new to jQuery, but not to AJAX. :)I usually send back a blob of HTML (sometimes formed from templates) unless there's a really good reason to send back the raw data and have the JS assemble it. Building the HTML blob from templates lets me keep the logic and presentation separate. I usually want the browser to do the least amount of work possible, and that means just displaying HTML whenever possible.I've found that using JS to build the page often slows things down significantly for anything except simple layouts or blocks. Having JS parse out data and then build a table (for example) can
  18. You mean if you copy and paste the path shown in the source of the page it won't display the image, but you're certain the path is correct?
  19. Couldn't agree more- dump the entire thing and start fresh. As for carts there are quite a few good ones out there. It really depends on four things: free or paid, required features, your payment gateway requirements, and what kinds of add-ons you might want (if any). Figure out what features you need and start comparing.
  20. Update: It looks like the way to do this is to create an additional event handler bound to the checkboxes and then use event.stopPropagation(); to stop the event from being passed up the food chain. For example, the checkboxes are assigned a class of "noclick" and this code is added: $('.noclick').live('click', function() { // do something....click.stopPropagation();}); event.stopPropagation(); will prevent the parent element(s) like <td> and <tr> from seeing the click event. All this new learning is hurting my brain, especially when I sit down. :)JSM,I was looking into this an
  21. I have a series of rows in a table, each with a checkbox. The <tr> elements have all been assigned a class of 'mx'. Unfortunately, the checkboxes are within the scope of the 'mx' class, so clicking on one to select rows for deleting or moving causes jQuery to fire the event that's bound to the 'mx' class. It appears to preempt everything to the point where I can't even test to see if it's a checkbox I'm clicking on so I can cancel the event that's bound to the 'mx' class. I've also tried giving the checkboxes a different class so as to be able to detect that and stop the event, but that
  22. Apparently we've had vastly different experiences with what constitutes a "virgin".
×
×
  • Create New...