Hi, Im looking for some good resources for MooTools. jQuery has a nice plugins site. Does anyone know of a similar site for mootools plugins?
Specifically Im looking for:
Grid Component
Modal Dialog Component
Treeview
What would you recommend?
...
Hi,
I'm working in a framed environment, and trying to tell if the frame on which some javascript code executes is the top frame (the one that contains the rest).
Up until now I was trying to check it with
window.parent !=null
but it always returns false, like in this simple example.
<html>
<head>
<script>
alert(parent == null...
Hello,
I have a simple page which makes two JQuery AJAX calls to get parameters and then it updates a google maps Lat and Lng,
For some reason after the two AJAX calls are made, the google map then seems to timeout and go Grey.
Anyone ever experienced this before or have any ideas as of why it would be doing this?
Thanks
...
Has anyone come across an Events Calendar (e.g. shows events on a calendar format rather than allowing user to choose date) that uses YUI as its base? I have found some based on jquery, but I am trying to standardise my stuff to YUI so wondering if anyone has any there, I can't seem to find one on YUI pages.
Otherwise a recommendation ...
Is there anyway to call a JavaScript function from .NET Compact Framework through the WebBrowser control?
...
In looking for a javascript based events calendar (for displaying events on a calendar) and came across ScriptCalendar which seems pretty good, but their SEO tactics seem to be somewhat suspect. Download it and look at the scmrkt0912.htm file to see what I mean.
Has anyone used this Calendar, are there any comments on how good it is?
...
I think I understand HOW Javascript has to work in order to be O.K. for section 508. But I have been unable to find an answer to a related question: does my site need to work WITHOUT Javascript in order to be section 508 compliant?
To take an extreme case, if users without Javascript cannot log in, does that violate section 508 complia...
Hi, I am having trouble understanding this code:
$.functionone = function(){
function setOptions(newOptions){
...
}
this.setOptions = setOptions;
}
what does adding 'this' in 'this.setOptions' for? I understand that its referencing the function setOptions, but does adding the 'this' there make the function get called? I k...
So in my script I have...
<script type="text/javascript">
var images = new Array();
var numImages = 3;
var index = 0;
function setupSwapper() {
for (i = 0; i < numImages; i++) {
images[i] = new Image(266, 217);
images[i].src = "images/image" + i + ".png";
}
setTimeout("swapImage()", 5000);
}
function swapIm...
I have a form on a webpage.when the user moves from that page, I want to check that the form was submitted. If it was, then the user simply continues to the next page, if not, the user receives an alert msg and is brought back to the original page where the form resides.
I am not too familiar with javascript so I would appreciate some ...
Hello,
This is a code for a drop down menu. It is designed to drop-down (umdown) when the cursor moves over button. But when the cursor moves away from Multiple the umdown goes away.
HTML markup:
<div id="button"><span id="text">Down</span></div>
<div id="umdown">
<div id="multi">Multiple</div>
<div id="sd">Single</div>
</d...
Hi aLL, i Wan't to know that what does getElementById Do in js?
we also use that in CrossSiteScripting attacks,
thanks
...
Hi everyone,
I have a image slideshow each image sliding after 4 seconds and a message is displayed at end of each slide. I could record the message when button is clicked but couldn't record the message at the end of each slide if button is not clicked.
Here is my code:
and I also want to display random images without repetition. Can...
I need a tool which can minify, optimize and munge many files of those possible types
HTML (minify only)
JavaScript (minify, optimize and munge)
CSS (minify)
The final result should be one HTML file only with all JavaScript and CSS embedded or in the worst scenario 3 files respectively for HTML, JS, and CSS.
I am aware of tools like...
I am trying to develop a web application that can take an image and draw multiple, resizeable boxes on the image. I have been looking into a lot of cropping plugins, but i cant seem to find what I am looking for. I just need to be able to draw multiple boxes on an image and return coordinates. I am looking for a plugin that would be e...
I've set up Cross-Origin Resource Sharing on a server (Jetty using the CrossOriginFilter) and it works perfectly on IE8 and Firefox. On Chrome, it just ... doesn't.
$.ajax({ url : crossOriginURL,
type : "GET",
error : function(req, message) {
alert(message);
},
dataType : "json" } );
The error function is i...
I am trying to convert a string to an array, while the string is the object this. The function doing this is below:
function reverseString() {
// uses Prototype Javascript Framework function 'toArray()'
return this.toArray().reverse().join('');
}
Is it possible to convert object this to a string, or is there a...
I am using Bing Maps API and I have to temporaily block zoom. Plese tell me how to do that using Java Script? I relize that I have to block some key controls and remove + / - buttons from default Bing Map controls.
Edit;
To hide controlls I can use VEMap.HideDashboard Method.
But how to block response for some keys? Do I have to overloa...
Using Internet Explorer (don't appear to have an issue in FireFox) the following code will occassionally raise an
Error: Access is denied.
Code: 0
The line in question is the second window.open.
currentDialog = window.open("error.html", name, "width=20 height=20 left=50 top=70", true);
if (currentDialog != null)
currentDialog.clo...
I am opening pop-up window through JavaScript with resize option for end user. End user may resize pop-up window or change its default position by dragging it.
I have requirement of remembering last position and size of pop-up window when user closes the window.
At present I can keep last size of the pop-up window in onbeforeunload eve...