load

monitoring server performance when it is wedged

A couple questions about monitoring server performance: If your server is so overloaded that you can't even get input to the shell, you can't run 'top'...or sometimes you have 'top' running, but it barely updates, if at all, because the server is so overloaded. Do you have any way of determining what is slow and why, other than restar...

Jquery to load content into div

Hey there, I would like to load an html page into a div using $(document).ready(function() { $("#popupContent").load("aeffect.html"); //Close property $("a.close").click(function(){ $("#popupContainer").empty(); }); }); My html from the calling page is: <div id="popupContent"></div> What I would like to do, is when ae...

DOM element background images: load order

Dear all, I've been trying to understand how an html page loads with respect to background images. Firebug shows me that the background image for a wrapper div element is the last to load. I'm wondering if there's a way to coerce the background image to render before any of the contained images are loaded and displayed by a javascript....

Jquery action within a div to control another with load()

Hey Guys, I have an index page index.php, and when the user clicks on a project (for the sake of this question, lets say that project is contained on an html page called aeffect.html), it loads aeffect.html into a div: <div id="popupContainer"></div> which is contained oncontained on index.php. However, there are many projects on ...

Jquery popups with load()

Hey guys, I have a few different divs with different projects and names. Each one has a unique name, and I would like that when a user clicks on one, that it loads the appropriate page into the popupContainer div. For some reason it is not calling though. This is the Jquery: $(document).ready(function(){ //Find & Open $(".proj...

One strange issue about $.load()

This is the file I'm using $.load() to load into DOM: <script type="text/javascript"> $('.close').click(function() { alert(1) }); </script> <div class="close"> click me </div> Say,it seems to me that the <script> part will automatically be delayed when it's loaded ,is that a feature of $.load()? If so,how is that implemented...

ActionsScript 3.0 - Load .FLV then .swf

Doing all this locally. I have the code to load and play my .flv . What i need to have it do is play the entire .flv then load a .swf to replace the current one. The code i am working from. stage.displayState = StageDisplayState.FULL_SCREEN; var connection:NetConnection = new NetConnection(); var stream:NetStream; var video:Video =...

Jquery applying css to load div

I am having an issue applying css dynamically to a loaded div using the load() function. The html being loaded is found, and it is inserted, and I can use a close command. However the css I am trying to apply is not being registered. Everything seems to work fine minus the dynamic css. I think I may have something wrong or an incorrect f...

Not in DOM after $.load() with jQuery?

var id = 'test'; var dom = $('#loader').clone().load("Views/chatBox.html"); dom.find('span.bn').text(id); in chatBox.html,there is : ... <span class="bn">AAA</span> ... I want to replace "AAA" with "test",but failed(dom.find can't fetch it),which mean it's not available instantly. How to do it the right way? ...

JQuery global loading animation

Is there a way to attach a loading gif, using Jquery, anytime any image on my site within a certain div is loading? I would like for it to be a global function, the only way I can seem to figure to do this is using jquery to call a certain link, and then load the loading.gif but that won't work in my situation… Index HTML: <div id="con...

Getting a DIV to auto load with jQuery.

I've scratched my previous attempts at changing an ID attribute. Is there a way I can make the content below auto load if the requests === 0? Rather than having a click function. <script language="javascript"> var requests = 10; function request(self) {if(self.href != "#") requests -= 1; if(requests === 0) var pageid = function () { ...

Applied Load httperf (Apache)

I have the rate and request rate with also the text file (10KB, 160KB, 1MB) Can anyone help me to calculate the Applied Load? ...

Jquery load () quesiton

This might be a simple answer, but I am having some issues writing this little load script… I think I have abug somewhere, I can get it to clear the div, however the page is not loading: Jquery: $(document).ready(function() { //Load content $(".load").click(function(){ $("#content").empty(); loadName = $(thi...

jQuery load() from within ajaxComplete() callback causing multiple loads

Hello, I've been staring at this one for a while and I'm completely stumped. You'll need firebug for this, take a look at the AJAX requests. They seem to be multiplying after each click of next and previous, until it's too slow to load entirely: http://www.ftsdev.com/freegreen/virtual-tour-prototype/virtual-tour.html All the JavaScrip...

SQL save data to file

I'd like to save data from a SQL Server database table to a file, then load it into another database that has the same table already created in it How can I do this? I know there should be some simple way of doing it, but stackoverflowsearch and google aren't yielding good answers (or I'm not asking a good question). ...

Winforms - order of Load and Activated events

One of our users has sent in a log for our .NET Winforms application that indicates that the Activated event is occurring before the Load event. I didn't think this was possible and have coded with the assumption that Load would always happen before Activated. Has anyone else observed Activated occurring before Load? If so, why and ...

Load data from a php file to iphone

Hi all, I am having a php file and a mysql database. i need to load the data from my mysql database to the iphone. can anyone help me in this. What is the best way to do that. Thanks in advance. Shibin Moideen A. K ...

loading remote page into DOM with javascript

I am trying to write a web widget which will allow users to display customized information (from my website) in their own web page. The mechanism I want to use (for creating the web widget) is javascript. So basically, I want to be able to write some javascript code like this (this is what the end user copies into their HTML page, to ge...

Is there a way (In PHP) of detecting if the script was called by jQuery load or not?

I'd like a script that could detect if called by jquery If not, it'd display the page+layout, if not, it'd just so the content (but that is irrelevant) But yeah, a way of detecting if it was called by jquery load - ajax - or directly requested. Cheers! ...

How to make jQuery load() not freeze the page?

When using jquery's load function, the page freezes until it has loaded. How can I get around that? I have a script that makes all links load through ajax, into a div in the page. I also made it so that it would make another div reload (the navigator). Whilst this is going on, another script refreshes every now and then, reloading ano...