First  |  Prev |  Next  |  Last
Pages: 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
Math ugliness.
Hi, Do you think -as I do- that the Math object is an ugly artifact ? Well, here's a nice way of getting rid of it : Number.prototype.sin= function () { return Math.sin(+this); }; Number.prototype.asin= function () { return Math.asin(+this); }; Number.prototype.pow= function (p) { return Math.pow(+this, p); };... 26 Feb 2010 09:37
drag and drop target strategies
Hi, One of the first browser scripting techniques I worked with years ago was DHTML drag and drop. I've come across and thought about three main techniques to determine when a dragged item is over a drop target. All of the ways have pros and cons depending on the situation. 1) When a drag is in progress, use t... 18 Feb 2010 18:27
stop form submit
I have a form, that I have connected to some ajax code using form.addEventListener('submit',ajaxfunc,false); (or form.attachEvent('onsubmit', ajaxfunc); as the case may be). My question is, how do I prevent the submit from initiating a page refresh? I know onSubmit="return ajaxfunc()" will prevent a refresh if a... 15 Feb 2010 18:53
How to create / map short-cut to some presentation features?
Hi, Say, I'm thinking of providing efficiency in using Style for some text for my users with short cut. Where I'm at now, function doRichText(aName,aArg) { getIFrameDocument('textbox1').execCommand(aName,false,aArg); // getIFrameDocument function here ..... trigger, i.e., onclick="doRichText('bold')" ... 15 Feb 2010 23:19
how does recaptcha get around XSS protection?
hi - i'm building widget, and i'd like the user to be able to request a new widget by clicking an ajax link in the widget itself. it doesn't work, and i presume it's because of the built in xss protection in browsers (to prove this to myself, i placed an html file that contains the widget in the public directory o... 19 Feb 2010 10:57
image size onload in IE
I'm changing images (by changing src) and using an onload handler in the image to read the image width. simplified code: <img src="..." onload="getWidth(this)" id="my_image"> function getWidth(el){ alert(el.width) This works fine in FF but gives erratic results in IE6 (have not tested other versi... 15 Feb 2010 20:00
FAQ Topic - How can I disable the back button in a web browser? (2010-02-15)
----------------------------------------------------------------------- FAQ Topic - How can I disable the back button in a web browser? ----------------------------------------------------------------------- You can't. The browser's history cannot be modified. However, you can use ` self.location.replace(url); `... 14 Feb 2010 19:37
When is software good enough? (was Re: Motivation of softwareprofessionals)
Andy Champ wrote: <snipped> What are you talking about? What is your point with this post, other than some kind of rant? ... 14 Feb 2010 16:16
When is software good enough? (was Re: Motivation of software professionals)
Oh boy, that reply of mine stirred things up a bit. Nevertheless I'm going to stick my head over the parapet again! Excuse me not replying to someone in particular. The context was where I suggested that the guys who wrote code with the Y2k bug may have been justified. I've been surprised by how many of y... 14 Feb 2010 15:09
Work at Home- Earn $4,000 With Email Reading Jobs
Work at Home- Earn $4,000 With Email Reading Jobs Get Paid $5 For Each New Sign Ups - Easy To make Money Make More Than $200 A Day , Register Now To Start earning At http://moourl.com/lvi7k ... 14 Feb 2010 06:17
First  |  Prev |  Next  |  Last
Pages: 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103