Hi all!
I'm pretty a beginner with jQuery!
I need to have some divs to fadeIn on page loads, and i can do it.
I need to have them showing with different delay and times, and i can do it.
Every div has an image that fadeIn when you hover the relative div, and i can do it.
The problem is that the animation of the image on hover, start st...
Hi,
i have a problem to load a xml-file with php. I use DOMDocument, because i need the function getElementsByTagName.
I use this code.
$dom = new DomDocument('1.0', 'UTF-8');
$dom->resolveExternals = false;
$dom->load($_FILES["file"]["tmp_name"]);
<?xml version="1.0" encoding="UTF-8"?>
<Data>
<value>1796563</value>
<value>Verli...
so im trying to include this file for an application
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
would including it as this url slow the load time of my site when using an application that requires it?
as opposed to downloading this file and including it locally
...
Suppose you're short on time and you're looking for a program with certain features, and you find one, except it lacks one feature - it cannot save and load its state. Is it possible to achieve this on OS level, or with another program, that can take the whole thing, write it to a file, and then at a later time, load it back into memory?...
Hello,
I have a weird, random problem. Here's a sample of my problematic code. It's purpose is to create a jQuery jCarousel control over a list of ul/li elements. But I need the elements inside to be vertically centered, so I'm calculating a padding-top for each of them once the picture they contain is loaded.
<script type="text/javasc...
All,
I've been doing some research on when (and when not) to use Memcached. I'm familiar with distributed caching in terms of it's core objectives. Using Memcacached/similar makes sense to me if you've got a few servers...as it would give you central virtual repository to get your cached data.
That said, if you have a hardware load ...
Hi, ok I try to load the .content of my site with jQuery, when I run it local, it shows smoth and nice but when I test it on a host server, the animation is too slow an cuts... and the "loading bar" doesn't show up... :S
You can check it out here...
here is my code and if u need something else please ask me
$(document).ready(function ...
I don't know if this is the right place for this question, but here it comes:
I have a db function that I tested and can handle about 3000 requests/minute. The problem is that this calculation just gives me the optimal performance of the function (~18ms/request). How do I calculate the performance when the requests are twice, triple or ...
Hi All,
I have a application which has very bulky page and i can not reduce the functionality any more. Because of this my every page is taking too much time to load completely.
Is there any way to load the page in sequential manner. Link once i hit the URL few content get displayed immediately and other contents will get displayed on...
Hi,
Hope someone can help me here before my hair falls out!
I am working on my website and I am trying to use .load() to grab an and its content from another page and display it on the homepage.
The code:
$(document).ready(function(){
$(".abt").empty().load("about-andrew-broomfield.html article.aboutPage", function() ...
Hi
javascript/jquery:
$(document).ready(function(){
$("a").click(function(e){
var nr = $(this).attr("href").substr(2,3);
var filename = "images/galerie/martina-flatau"+nr+".png";
e.preventDefault();
$('#mainview').fadeOut(function() {
var image = $('<img />').attr('src', filename);
image.loa...
How can you create a grid but not load any data?
If I omit the url option then the loadError callback is triggered.
Currently we set url:NoData.json where NoData.json is a static file with no rows in it.
Issue is in our loadComplete callback we'd like to dipslay a message if the grid contains no data - except we don't want to display ...
public ActionResult DoSomething(string[] arr, bool someBool, int someInt) { }
trying to call the above method from jQuery:
var test = [];
test.push('dog');
test.push('cat');
$container.load('MyController/DoSomething',
{ 'arr[]': test, 'someBool': true, 'someInt': 1 },
function(response, status, xhr) {
...
The MDI child forms, when shown, display their title bars for a split second. Then the forms are loaded normally. Is there any way for the forms to load without showing the title bar and form border. This is what happens...
...
Is there anyway to invoke a Perl CGI script when an HTML page is requested to server?
Just like a script can be tied to an action, is there anyway to tie a script to "Request for page"
...
I have this :
p['record_id'] = 2;
$('#trcode').val($(this).load('url_to_PHP_methode',p,function(str){}));
The value returned from PHP method is like this -> "Just String"
In firebug, there is correct response value, "Just String", but in text input with ID #trcode it shows [object Object].
So, my question is: How to show the corre...
Hello there,
I have a video gallery that has a menu on the left and loads the content into a div on the right hand side. The menu is generated from php video posts so we need a general script that will effect everything.
-- The problem --
The links will load the URL of the video as an anchor on the current URL -
eg.
http://www.divet...
Hey guys :)
I've a ul li menu such like:
<ul>
<li><a href="#1">Image #1</a></li>
<li><a href="#2">Image #2</a></li>
<li><a href="#3">Image #3</a></li>
<li><a href="#4">Image #4</a></li>
</ul>
And I have a container with an image like:
<div id="image-container">
<img src="images/1.jpg">
</div>
I want to swi...
//when document loads
$(document).ready(function() {
//navigation item is clicked
$('.nav_item').click(function() {
//get the clicked nav items id
var nav_item = $(this).attr("id");
var location_to_load = nav_item + '.html';
//load the loading html then the page
$('#sliding_content_container').load('loa...
Is there anyway to load the drop down menu of an html from another file(A text file) ?
I tried this and I guess it is not working.
<form>
<select name = "Name">
<!--#include virtual="options.txt" -->
</select>
</form>
and inside options.txt
<option value = "42a">42A</option>
<option value = "42b">42B</option>
<option value = "42c">...