javascript

Anyone know what Javascript library is used here?

Hey guys! I was reading an article, and it had an image, and when I clicked on it it had a really interesting way to display the full size. I was wondering if anyone know which javascript library. Here is the link: http://www.rogueamoeba.com/utm/2009/11/13/airfoil-speakers-touch-1-0-1-finally-ships/ Click the image in the middle of th...

How to Use Sockets in JavaScript\HTML?

How to Use Sockets in JavaScript\HTML? May be using some cool HTML5 technics? Libs? Tutorials? Blog Articles? ...

search tags like stackoverflow?

how do you code a search box like the one in Tags where you enter a tag name and all tags are showing immidiately without you press enter. can someone link me a script or tutorial for that. is it javascript or jquery? does it involve ajax? and does it search in the database for tags? or is it searching through a xml file with tags? ...

create a "show up" window when you click register?

hi. im a backend programmer who wants to have a window that appears in front of the current window when clicking "register". so that you dont have to redirect to another page. i think u guys know what i mean. how do i do that? is it with jquery or javascript? is ajax involved? and what is that kind of popup box called? ...

Form Inputs updated via JS don't get submitted

Hi, The invoice input values which hold the totals of invoice line items that get updated via JS return a NULL value when they are submitted. <span class="sublabel">Subtotal</span><input type="text" class="total-box" id="product-subtotal" readonly="true" /> <span class="sublabel">Tax</span><input type="text" class="total-box" id="produ...

Need workaround for .Net Master Page Name Mangling

I'm evaluating converting an old frameset based asp.net website to use master pages. The only thing holding me back is the huge amount of work it will take to update every page to deal with name mangling. Most of my problems are with javascript referencing hardcoded Id's. Is there a way for me to tell ASP.Net that for a particular con...

Why won't this JavaScript (using document.open and document.write) work in Internet Explorer or Opera?

I desperately need some help on this one. I've created a <script> that closely parallels, and reproduces the problem of, another more complex <script> that I've written elsewhere. Here's what it does: creates an <iframe> and inserts in into a <div> on the page creates and appends a document to that <iframe>, which contains a <script>...

How to show animated image from PNG image using javascript? [ like gmail ]

First of all,check out this image Gmail uses this image to display the animated emoticon. How can we show such animation using a png image? ...

Validating all entries in Input Boxes.

I want a class in JavaScript through which I can validate all the Input Boxes on a form. I just want to supply the form name and it must validate the input boxes there in. Is there any class or something other through which I can achieve this? ...

jquery live search from mysql database?

hi. in SO you can search for tags without pressing enter. i want to know: are the tags retrieved from the database or from a XML file? is ajax involved? i am new at front end. if ajax is involved. how should i write the code? i want it to access a php file which returns the data. but im not familiar with how it works practically. ...

How to 'minify' Javascript code

JQuery has two versions for download, one is Production (19KB, Minified and Gzipped), and the other is Development (120KB, Uncompressed Code). Now the compact 19kb version, if you download it, you will see is still a javascript executable code. How did they compactify it? And how can I 'minify' my codes like that too? ...

populate FusionCharts with XML data AJAX

Hi I have a js file that uses ajax to get a XML doc from a php script . The XML file forms the data to draw a Fusion Chart. I know I am getting the XML data ok but FusionCharts will not draw it . I would really appreciate any help , thanks (FusionCharts.js is included earlier in my script) if(XMLHttpRequestObject) { XMLHttpRequestOb...

How to get the direct download link from the url of video sharing web sites?

How can i get the direct link of flv from the specified url in javascript? I got a PHP script to do the same. This is only for youtube What it does is: do some pattern matching and create a new url http://www.youtube.com/get%5Fvideo?video%5Fid=xyz&amp;t=abc now use this new url and again by some pattern matching find the direct...

Passing mouse clicks through an overlaying element <div>

Is it possible to pass mouse clicks through an overlaying element: - <div style="z-index: 100; background: url('../images/rain.24.png'); width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0;">&nbsp;</div> ...pass mouse clicks beneath it to underlaying elements (e.g. a web page with images, links, etc)? Thinking of another ...

How should I create a web interface for my application?

First, a little background: I have written a little application in python with SQLAlchemy, which is roughly an improved RSS reader: it selects links that should interest the user, and shows them to him. I already have a very simple command-line interface, and I envision a variety of interfaces: web, instant-messaging, desktop... For now...

Open Links in Multiple Browser Windows / Tabs

Hi, I have a requirement to click on multiple links (selecting them) and then click a button that will open all selected links in new windows or tabs. This will of course be dependent upon the browser behaviour. My plan is to use Javascript to add the selected links to an array and then upon clicking the submit button, the javascript w...

Rails "respond_to" in PHP

Lately I have been trying out Rails, and I came to love the respond_to. Is it possible to do something like this in PHP?, responding to different types of requests. So it is easy to implement an alternate way even if javascript is disabled. ...

Help with java script - to validate the files in a folder

Hi I have got a html web page which gets a user input in the form of a directory path in a text box. I need to provide a validate button near the text box. on clicking the button, the user should get the feedback as to whether the directory path contains the required set of files, like few images and other files in certain format. Also ...

is there any script which can stop to show ALT="text" as a tooltip in IE 6 and 7?

is there any script which can stop to show ALT="text" as a tooltip in IE 6 and 7? ...

Generate frame for picture

Hi all. I creating gallery, and I want to create frame around the picture. But this picture must be scalable. Width and height of this frame generated by width and height of image. And must to have possibility to change height of frame through the JavaScript. Thanks. PS: First of all, I must to have possibility to make frame narr...