load

How to get load finished event after appendChild(docFragment) which contains img tags with external links?

i have a frame element, whose src is a local .xhtml file, whose onload runs a script: // create some content var docFragment = content.createDocumentFragment(); if (docFragment) contentBody.appendChild(docFragment); where contentBody is a div in the frame's document. the content may contain images or such which load external links ...

I want to load different images to a div, from links

Hiya, very very new to jQuery and surviving on your wonderful tutorials. I'm working on my portfolio website, and have a list of projects that uses jQuery's load function to load descriptions of each project into a separate div when clicked. Within each description is a set of numeric links, say 1-5, which I want to display relevant ima...

jQuery: FadeIn image after it is loaded

Hi, I'm trying to make image being loaded into div with fadeIn effect. Problem is that I don't know how to avoid loading and fading at the same time. I want image to be loaded and after it is completely loaded it should be faded in. http://www.izrada-weba.com/vedranmarketic These are image thumbs: <div id="thumbs"> <a ...

jQuery .load() XHTML issue

I am having some strange problems loading content from another XHTML page via jQuery. When the second page I try to load from is served as XHTML I get the below error. I don't know if it helps but both documents validate when I get the error. Uncaught Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 Currently the header on t...

Load external stylesheets on request?

$.getScript('ajax/test.js', function() { alert('Load was performed.'); }); .. like the above code which loads an external JS on request, is there something similar available to load an external CSS stylesheet when required? Like for example when I use lightboxes (inline popups) on my site, I want to avoid loading lightbox JS and CS...

jQuery how to replace src url

I have a page that I screen scraped, the scraped page used a relative path for their images and when I load my page, the url of my site is being inserted on the src attr. I need to find some way of replacing my url with the url of the remote site in order for the images and other items that reference it to show up properly on my page. ...

Check load on mysql database

Hi guys, What would be the best ways to monitor mysql performance and load, queries per second, total queries over a hour etc? Thanks! ...

Load Balancing of PHP/MYSQL script without big code changes

Sorry for my Dummy Question, but... I am making a script on php/mysql (codeigniter) and I am extremally interested in knowing if there is a way without big architectural changes of the script make a load balancing. I mean, that for example now I will rent a medium dedicated server with 2GB ram, 200GB memory and good processor, and this...

How load xml files, in IntelliJ IDEA

IntelliJ not find xml file under sources folder. example) src/net/saltfactory/domain/PersonSqlMap.xml but, If I copy it and past out folder, IntelliJ find xml file example) out/net/saltfactory/domain/PersonSqlMap.xml I hope that don't copy and past XML files to out folder help me ...

jQuery .click disabled after .load action

Hi guys, trying to set up a nice drag and drop save to database page. It also should be able to delete the lines, I've used a list (ul/li). And all works fine, but as soon as the load action has done it's job, the "$("#menuList > li > .remove").click" won't work anymore. The rest of the actions work, drag & drop, serialize for oder, writ...

jQuery: load refuses to get dynamic content in IE6

jQuery refuses to load my dynamic content in IE6. All in FireFox & Safari works fine. Only IE6 is being a pain. When I try the a html with <p>Hello World</p> that works. Properly. But when loading a PHP it doesn't work! As you can see it's doing multiple things. <script type="text/javascript"> // When the document is rea...

jQuery: Preloading a set of images, but only if nothing else loads

Hello all Is it possible with jQuery to identify if the browser currently isn't loading anything, and with anything I mean both loading images and .load Ajax calls etc. The thing I would like to achieve is to secretly (hidden) preload a set of images (heavy in weight) in the background, but without distracting the other load processes....

Is it correct to load openGL textures like this ?

Hi guys, I started some months ago an OpenGL project which became larger and larger... I began with the crashLanding sample and i use Texture2D. I also use a singleton class to load my textures, and here is what the texture load looks like : //Load the background texture and configure it _textures[kTexture_Background] = [[Texture2D a...

how to calculate database transaction count per second and database growth

Hello , I need to learn about calculating database load of a project . Lets assume that the events below are firing when an insert is completed. Insert a new record to table1 Get the uniqueid from inserted and insert the uniqueid to another table , with some other parameters table1 is a cumulative dataware , so select count(1) from ...

Logging mysql queries

Hi guys, I am about to begin developing a logging system for future implementation in a current PHP application to get load and usage statistics from a MYSQL database. The statistic will later on be used to get info about database calls per second, query times etc. Of course, this will only be used when the app is in testing stage, si...

jQuery deep linking & ajax loading in multiple containers (sub containers)

Hi! I currently developing a site and have bumped into a problem.. (ajax loading stored urls) Thought someone could help.. First here is sample page layout: <div id="main-container"> <div id="top-menu"> <a href="/link1" rel="ajax" />Link 1</a> <a href="/link2" rel="ajax" />Link 2</a> </div> <div id="content"> <div id...

UI Tab load external page in external page (2 levels)

Hello, I'm try to load an external page 1 into a ui-tab (this is not the hard part), but next i want to load automatically a 2nd-level page into a DIV of page 1. So, i've got 3 html pages: - index.html - external1.html - external1A.html The index.html jQuery will load external1.html into the div 'tabcontent' and then load external1A.h...

.NET executable won't load referenced assemblies when started from \\localhost\xyz

My .NET executable abc.exe references several assemblies. One of them is called xyz.core.exe. I have trouble getting it to work when it is being started from a network location specified through a share name with a path such as \\localhost\xyz\abc.exe. This works fine if I mount a network drive letter named Z: on \\localhost\xyz and if I...

How can I performance test using shell scripts - tools and techniques?

I have a system to which I must apply load for the purpose of performance testing. Some of the load can be created via LoadRunner over HTTP. However in order to generate realistic load for the system I also need to simulate users using a command line tool which uses a non HTTP protocol* to talk to the server. * edit: actually it is HTT...

How can I load values into an HTML form with jQuery?

I'm trying to create an ajax form with jQuery. I'd like to load existing values into the different form fields (text boxes, dropdown menus). Would I use JSON for this? And how would I load the values? Iterate through the JSON and for each entry load the corresponding value? How would this be done? Thanks in advance. ...