I want to load a javascript file at the end of jquery.ready so that the code in my ready handler doesn't have to wait to execute until this large javascript file is loaded.
My jquery.ready code doesn't rely on this javascript file at all.
Would this be a good way to do that?
$(function(){
...
...
$('head').append('<...
I'm using the Flot graphing library jQuery plugin and I haven't found a good way to handle resizing the graph when it's containing <div> changes size (for example, due to window resizing). When handling the onresize event, I've made sure that the width and height of the containing <div>are updated to the correct size and then tried call...
As a personal project, I'm making an AJAX chatroom application using XML as a server-side storage, and JSON for client-side processing.
Here's how it works:
AJAX Request gets sent to PHP using GET (chat messages/logins/logouts)
PHP fetches/modifies the XML file on the server
PHP encodes the XML into JSON, and sends back JSON response...
Hi
i want to show a div which is always visible with the user as the user scrolls the page
are there any javascript solutions??
i have used the css position:fixed;
Now i want to show the div at the right hand corner of the parent div
i used the css
.test {
position: fixed;
text-align: right;
}
but that doesn't work w...
while using jquery for developing site if javascript is not enabled then what to do
...
I am attempting to implement the Google Translate Widget where you include a piece of javascript code into your page and it gives you a language dropdown. This was very straightforward however, it does not work in Firefox. It works in IE, Safari, Chrome. Has anybody experience this problem and is there any workaround?
With some research...
Big picture question. I've got a cherrypy server running with all the shopping cart methods for my e-commerce site written in python. I'm working with jquery on the front end.
POSTing to my python methods is easy in javascript, but not passing data the other way. I can send it back with JSON, but not always conveniently. It seems like ...
Struggling with Bing's json request (bing search, not map), I am getting an error back that says 'Invalid Label'
My query url is:
var bingurl="http://api.search.live.net/json.aspx?Appid=##APIKEY##&query=Honda&sources=web";
$.ajax({
type: "GET",
url: bingurl,
data: "{}",
content...
I am calling this from ie8:
function verify_ssl()
{
window.open ("https://seal.godaddy.com/verifySeal?sealID=129275340046e2e09512711f05bc73f617fac022950185486622550",
"ssl-window","status=0,toolbar=0,menubar=0,resizable=0,width=540,height=435");
}
It says invalid argument, It works fine in FF and Chrome. Any idea what the issu...
Just finished reading ch23 in the excellent 'Beautiful Code' http://oreilly.com/catalog/9780596510046
on Distributed Programming with MapReduce. I understand that MapReduce is a programming system designed for large-scale data processing problems, but I have a hard time getting my head around the basic examples given and how I might app...
Hi,
I have a simple standalone application written in Visual Basic that I'm porting to a browser based application using PHP/javascript.
The original VB application has some simple embedded flash games with token and point counters. The token and point values are being passed as variables between the application and the game.
I'm tryi...
Hi,
I'm trying to allow a user to set their location and then have Google Maps pan to that location.
I can't seem to get panTo to work, instead of updating my map it just reloads the page.
Page here:
http://dub[remove]step.com/events/index.html
Any ideas?
...
Hey Heres what i got:
echo "<script type=\"text/javascript\">
function finishForm() {
var answer = confirm('Are you sure these are the teams you want to enter with?');
if (answer) {
if(document.getElementByID(emailconfirm).value == ".$_SESSION[Email].") {
form.action=\"esubmit.php\";
form.submit();
...
I just found an option in the little white down arrow in Eclipse that reads "Visible Categories..."
How can I use this? It seems to me that it could be used to only show functions that have an @category in their comments, but I haven't been able to make the "Visible JavaScript Categories" dialog display the categories that work.
If ...
optionElements is a 2d array. Each element has an array of length 2. These are an integer number and an element. I have a select list called linkbox, and i want to add all of the elements to the select list. The order I want them to go in is important, and is determined by the number each element has. It should be smallest to highest. ...
I am running into an issue when troubleshooting a web page that works in IE but not Firefox. The Firefox debugger is stopping on the following line:
btnhelp = new button("btnhelp", framemenu.document.imghelp, "../images/gui/help_o.jpg", "../images/gui/help.jpg", "", "hand", true);
I see that button is defined in another class with som...
Silverlight, Flash, and JavaScript, oh my..
I have a couple of applications that I need to develop for one of my business partners that will be distributed to dozens of people. These applications will need to be able to query information from the internet (query via Google, grab feeds from our other sites, just general web access) and s...
Hello Overflowers!
Here's what's going on:
I'm building an app (using PHP, jQuery, etc), part of which lets users edit various bits of a web page (Header, Footer, Main Content, Sidebar) using CKEditor.
It's set up so that each editable bit has an "Edit Content" button in the upper right that, on click, launches an instance of CKEditor...
Hey,
Is it possible to use jQuery on a new Window javascript object?
Example:
win = new Window('mywindow','width= 400', 'height=400');
win.getContent().innerHTML = xmlFindNodeContent(XmlHttp.responseXML, "windowHtml");
jQuery(win).ready(function(){
do jQuery stuff on the new window here??
});
Is something like this possible?
N...
I've got SWFUpload version 2.5 beta 3 attached to my Rails 2.3.2 application and it works great 75% of the time. The other 25%, I get types of failure.
The first failure is a failure to upload. The activity starts, but never actually sends the file to the servers. In my JS, when setting breakpoints, it stops between setting the post pa...