I created this little Geolocation experiment site http://www.bctx.info/wx
it works great on my Android 1.6 (Magic, I/O Phone) it prompts the
user to share, returns lat, log and is snappy. 1.6 uses Gears for
this. I tried it on an up to date Droid and a 2.0 emulator image and
it detects the "navigator.geolocation" element (excellent!) and...
I was looking at this question and saw the reference to the iPhone game where you drag across the screen selecting letters as you go.
I was curious to see an implimentation of this in Javascript using tables. So you'd drag the mouse over each cell they would then become highlighted.
I'm not sure what the best method would be but I hope...
Is there any known/simple/open-source library that provide
a javascript function that will switch colored picture that is displayed in an html page into a black and white
That can be used in all the most used browsers (IE, FireFox, Chrome)?
I mean something like:
<html>
...
<img id="myPic" src="pic.jpg">
...
<script type="text/javasc...
Hi All,
I'm trying to build a form field that can either accept a text entry, or select an option from a dropdown. In rails, the autocomplete plugin is close to what I need, except I want the dropdown to be available before the user types anything in the text field. Is there an example of this out there somewhere?
thx for the help,
-...
I would like to create the XML string on the the aspx page and then submit this request using the YUI ajax request to another aspx page for the processiong. So
1. is this possible by setting some of the ajax requests configurations like we do on ajax response ?
2. How it can be done ?
...
Hi,
Wanted to know which is the most lightest HTML element. Have a huge set of JSON data which i have to display in proper readable format, hence going to loop through the data and create dynamic elements.
Which is the most lightest element of HTML, lightest as in which takes the least amount of memory and is easily rendered by the bro...
I am working on a project in ASP.NET, in which I want to get the filesize using JavaScript. Actually, I got the solution, and that is as like the following
<script language="javascript">
var Fo =new ActiveXObject("Scripting.FileSystemObject");
var fileName=new String();
function Trim(input)
{
var lre = /^\s*/;
...
i havent found any good tutorial with code examples on how to use comet with jquery.
found this link: http://www.zeitoun.net/articles/comet_and_php/start but they are using prototype.
and i found a comet plugin for jquery on the jquery website but there is no documentation and i cant figure out how to use it.
are there any good tutori...
Hello,
I'm trying to use siFR 3. I need set to the flash element to use max width for a text replaced. The width of flash text can use 200px MAX.
The problem of the following code is that
Here's is my test code :
sIFR.replace(myFont, {
selector: '.myDiv'
, css: {
'.sIFR-root': { 'color': '#077cd7' }
}
, forceSingleLin...
How to access 3rd Party cookies in the Browser ?
...
I'm working on a small silverlight application that involves passing some data between javascript and silverlight. I am also using the silverlight virtual earth control.
The weirdness I have come across is that is possible to register Microsoft.Maps.MapControl.LocationCollection as a script createable type and instantiate and pass it t...
I have the following that fires off when a checkbox is changed.
$(document).ready(function() {
$("#reviewed").change(function(){
if ($('#reviewed:checked').val() !== null) {
$.ajax({
url: "cabinet_reviewed.php?reviewed=yes",
cache: false,
success: function(html){
...
I am currently working with reading data from a USB card reader and it sends a page submit command along with the card track data.
Is there a way for me to detect a page submit command and can I programmatically disable the submit command?
...
what they do on this demo is exactly what i wanna do.
http://www.lightstreamer.com/demo/RoundTripDemo/
i wonder what comet technique they are using.
it cant be iframe cause on Firefox i can open two tabs with same link. with iframe u cant do that. and it cant be long polling with ajax cause i didnt see it polled anything with firebug....
I'm trying to utilize jQuery's built in effect functionality to create a "drawer" that slides out from behind a navigation bar, pushing the content below it out of the way.
If I use $('#drawer').slideDown(), the content is pushed out of the way, but the content does not actually "slide down." It's more of a wipe to reveal the content.
...
how can i convert
http
to
h$#t!t@@^#p
i have seen this code which was automatically injected into my site.......
is there and md5 like php function or their is any other way
...
Using JQuery, how do I create a lightbox effect but instead of display a single photo - I want to display an HTML document within the lightbox.
Essentially, if you have every used Facebook - they do this effect all the time. Instead of going to a new webpage to send a message, it just pops up the message HTML form inline on the current ...
Within Firebug, I can look at script includes and search each include individually. I would like to be able to search all includes at once. Does anyone know a tool that will do this?
...
I have two divs, a big one and a smaller over the other, each div has its own OnClick method. The problem I have is when I clicked the smaller div, the big div's OnClick method is called too.
Who can I avoid that?
...
I know this is a simple thing. but i just cant make it work.
Req: A word which contain at least one number, alphabets (can be both cases) and at least one symbol (special character).
In c# (?=.[0-9])(?=.[a-zA-z])(?=.*[!@#$%_]) worked. But in javascript its not working.
Seems like it always look for number at the beginning since my con...