I can’t get the css, js and img loaded.
I’ve been using the web.config out of this article:
http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite Please any suggestions…
I have been using jQuery IntelliSense in VS2008 and it has been great. Recently I added a reference to jQuery UI and since then, the jQuery IntelliSense has went away. I found that once you reference another .js file in your document, the IntelliSense goes away. Any way to avoid this?
I'm trying to configure nginx so it proxy_pass requests to my node apps. Question on StackOverflow got many upvotes: http://stackoverflow.com/questions/5009324/node-js-nginx-and-now and I'm using config from there.
(but since question is about server configuration it is supposed to be on ServerFault)
Here is the nginx configuration:
server {
…
I'd like to do a bit of matrix/vector arithmetic in JavaScript, and was wondering if any browsers or other JS implementations actually have support for vectorized operations, for instance for quickly summing the entries of two Arrays (or summing, or whatever). Even if that currently doesn't mean it compiles down to vectorized operations, at…
I don't get why it'd doing this with the 2nd feed (appearing as a XHR call rather than just JS [looking at it in Firefox/Firebug]). The 2nd feed has the exact same MIME type as Flickr's JSON feed, yet the PortlandOregon.gov one shows as XHR and i get a NULL callback when using $.getJSON and if i use $.ajax with a 'json' or 'jsonp' type i get…
I'm wondering - is there any difference in performance of using CSS Transitions vs. any of the various JS animation libraries? (scriptaculous, scripty2, jsAnim, MooTools, $fx, etc, etc).
I've tried various tests in Safari / Google Chrome, and I don't actually see any difference -- I thought that CSS Transitions were supposed to be hardware…
As my coding revolves only around one function,the function OnLoad() where the map and search is together on this function. However i was tasked to seperate the Maps and Search JS and was unable to do so. Is there any tips or tricks to seperating them?
Hi,
I'm using ui.datepicker.js
and I want to validate the date field to make sure the user select a date.
I have tried
function allow_submit()
{
var f = document.all.frm;
if (f.date.value == "") {
jAlert("Please select a date");
return false;
} //if
return true;
}
and also have try
if (f.date.value ==…
Hi,
I was trying to add a Jquery file into my application and it gave me following error:
Warning 22 Error updating JScript IntelliSense: C:\Users\Desktop\jquery-1.3.2.min.js: Object doesn't support this property or method @ 18:9345
Geetha.
A URL redirects to another link. How do I know which link it gets redirected to with PHP and JS?
And is finding the filesize of the new link possible too, without complete transfer of the file?
Thanks in advance.
I'm having an issue with one of my controller's AJAX functionality. Here's what I have:
class PhotosController < ApplicationController
# ...
def create
@photo = Photo.new(params[:photo])
@photo.image_content_type = MIME::Types.type_for(@photo.image_file_name).to_s
…
Okay, so what are the ramifications of getting a JS file via an HTTPS call while on a HTTP page.
I assume it would just be a little bit of extra overhead. Would there be any warnings about this call from any certain browser?
Don't ask why. It's just hypothetical.
I am trying to get out of browser support working for my Silverlight application and keep bumping into examples that reference CreateSilverlight.js. Looks like it has a variety of options to configure the the Silverlight experience for the end user.
Is this a Microsoft javascript…
I have a billboard.js script running on a simple php file and for some reason it works fine in FF and IE but not Safari. I checked source code it and is pulling the content but the scrolling feature does not work when you click. Can someone please help me. Here is the link to try:…
Hi!
I have a js function that is named getID which is basically return document.getElementById(id)
I want to make another function, getTag that would return getElementsByTagName.
The part that I can't seem to manage is that I want to be able to call them like this:
…
I have created some jQuery and put it in an ascx include. It works fine on regular pages, however when I load a secured page on my site I get the following javascript error.
Permission Denied
jquery.min.js
Code: 0
Any ideas?
Hi, I want to learn raphael JS liberary to draw a square. I copied the official code, but it is not work, "paper is not defined on line 34". how to define it? The demo is on http://www.irunmywebsite.com/raphael/additionalhelp.php the left menu "animate" ,Thanks.
…
Hi folks,
I've been teaching myself Dojo over the last few days...
However, if you look at the following page:
http://www.mechanic-one.suburban-glory.com/
You'll see that the simple script in the header doesn't work in IE
I get the following message:
…
I recently came across this jQuery plugin to include external JS and CSS files into a page. Although its release in early 2009 but there're NO references in blogs or elsewhere. I wonder if its usable? Anyone here use it before?
I'm attempting to log a user out of facebook with the Facebook JS SDK, however calling:
FB.logout(function(response){
console.log(response);
});
returns:
response.status == "connected"
And only after refreshing the page does the SDK realize that…
I'm trying to implement an assets/dependency loader that i've found from an old article at 24Ways.org. most of you might be familiar with it. it's from this article by Christian Heilmann:
http://24ways.org/2007/keeping-javascript-dependencies-at-bay
…