I'm working on a modeling website for my girlfriend and she wants a large slideshow as background on the website. I used the JonDesign Gallery for that, which works nicely for this purpose and is relatively light-weight.
Now, for the contact form I'd like to use something Lightbox/Slimbox style. Slimbox works with Mootools, which is als...
I wonder who is the first person that has proposed modern Web Workers API.
I find web workers, well, rather an ugly construction, I just can get the idea of calling workers from a separate file. I can see no any real danger in spawning a thread from an anonymous function.
But I'm asking this question without any intention to start flami...
Hello,
The situation is as follows:
I have a main window which opens a child window using window.open(). Then there are couple of forwards (it's Struts 1) because this is a multi-step wizard and the user can select multiple options in each step.
The problem is however that the window.opener is undefined in the last step of the wizard a...
I've observed that, in Google Chrome, setting an <option> as selected via Javascript does not trigger the respective <select> tag's change event.
Can I count on this behavior holding true in all other modern browsers?
...
I need to create javascript library which will be called from other javascript code.
Is it possible to create javascript library using GWT and Java classes? No entry points, no UI - just some utility javascript classes with public static and object methods (e.g. encryption library, image processing library, user input validation library...
This program sends an email every 20 sec.
How can I amend the code to have it send an email, then pause for a random number of seconds between 1 and 20, then repeat till the end ?
Any help on this is much appreciate. Thanks in advance!
Here is the code that is associated with the Delay section of the User Interface as it is
if (!$d...
Hello,
I would like to know what is the difference between javascript:; and javascript:void(0); if I use them in href attribure for a anchor (link)
<a href="javascript:;" onclick="DoSomething();">Link</a>
<a href="javascript:void(0);" onclick="DoSomething();">Link</a>
I see them acting the same on all browsers but what is the technic...
Hello :)
Well i am currently trying to write an ajax enabled Manga reader application for onemanga using greasemonkey (more precisely js / jquery)
my problem is that i need to execute one of the inline scripts on their page to update the next page url. so what i attempted was the following:
$.get(nextPage,function(nxtHtm) // the varia...
In a particular forum, clicking the reply button spawns a new window with a text form to type a reply. I want to implement a script to create that specific text form within the main page (instead of spawning a new window). How would I go about doing this?
Here is the source code for the pages I want to implement the script on:
http...
I wrote some code that modifies the images on a webpage. Works with firefox and safari. But tryingto get it to work with Internet explorer has got me stumped. What is the equivalent of "parentNode" in explorer? Or how does one trick it into working?
images = document.getElementsByTagName('img')
parms = {};
for (a=0;a < images.lengt...
when i click the login button, i get the following javascript error:
FB.getLoginStatus is not a function
[Break on this error] FB.getLoginStatus(function(response) {
here's my code:
<script type="text/javascript">
<!--
$(document).load(function() {
});
FB.init("56800990388df98bfe358812eb6caf3d", "xd_receiver.htm");
...
Hi All,
I have a form and it has 4 input elements. if the user enters just two entries and clicks anywhere on the screen (out the form)...i would like to save the details..it is like auto-save.
I have id of my form..i want to compare with form id of the current control on the screen..so that i can ssave the data if both form ids are di...
Im building a voting system for my site, and i want to set it up to have a 300px drop down bar on top of page saying "Thank you for Voting" when the button is clicked. Anyone have a suggjestion on how to do this?
...
I'm trying to understand Reactive JS. In JQuery I can trigger custom events as
$(document).bind('eventbus', function(e, d) { console.log(d);});
$(document).trigger('eventbus', 'test');
and pass around data (i.e. 'test'). It's not clear how to do this in RxJS. I could try to convert the jquery events as
var observable = $(document)....
Sorry but I can't seem to get my special-kid helmet off today. I'm attempting to use Full Calendar http://cl.ly/1UCt ... I've verified that there are no relevant javascript errors, all of the scripts are being called properly, I have a #calendar div, yet I'm getting no results or output on the page.
Using this within WordPress, here ...
How can I check if the number entered in the input-field is higher of even as th value in my 'min' field?
<tr>
<td>Steeeeaak</td>
<td><input type="hidden" name="amount_5_min" value="10"/>
<input type="text" name="amount_5" size="4" value="10"/></td>
<td>-</td>
...
I'm loading a few YUI scripts dynamically in my code in response to an Ajax request. The DOM and the page is fully loaded when the request is made - it's a response for an user event.
I add the tag to head, as children. But I stumbled in a few problems:
I add two YUI scripts hosted at the Yahoo! CDN and an inlined script of my own res...
Using javascript I'm trying to load images not on the current page (from an array of image links) and if they are large enough, add them to an array. I'm executing this after the current page has loaded, though a bookmarklet, or firebug console. Using FF.
The closest I've come is the below, but this does not seem to work, and I'm guessi...
Now, before you all jump on me and say "you're over concerned about performance," let it hereby stand that I ask this more out of curiosity than rather an overzealous nature. That said...
I am curious if there is a performance difference between use of the && ("and") operator and nested if statements. Also, is there an actual processi...
I'm been trying to build a simple Carousel effect for a set of photos. Its is easy to do using the Effects library with PrototypeJS but I'm having problems understanding how to implement this with CSS3.
I've built out some solutions but they have only worked if there order of the photos in the HTML is also the order in which you plan to...