<?php echo $javascript->link('jquery-easing-1.3.pack'); ?>
<?php echo $javascript->link('jquery-easing-compatibility.1.2.pack'); ?>
<?php echo $javascript->link('coda-slider.1.1.1.pack'); ?>
<script type="text/javascript">
var theInt = null;
var $crosslink, $navthumb;
var curclicked = 0;
theInterval = function(cur){
clearInterval...
I'm looking for a good algorithm to get all the elements in one array that are not elements in another array. So given these arrays:
var x = ["a","b","c","t"];
var y = ["d","a","t","e","g"];
I want to end up with this array:
var z = ["d","e","g"];
I'm using jquery, so I can take advantage of $.each() and $.inArray(...
What is the difference between:
< script language="javascript" type="text/javascript">< /script>
< script type="text/javascript">< /script>
< script language="javascript">< /script>
...
I am facing a very strange problem.
I have javascript function in my aspx page that i call on the onclick event.but on one particular machine it always automatically called on body onload in infinite loop.
Though I already remove all the caching and delte the history and temp files.
This seems very strange to me .It works fine on all ...
i have this code
<tr>
<td width="300">
<label for="tag">Model</label>
</td>
<td>
<td width="10">:</td>
</...
Hello,
I need to save web page using QT webkit similar to "Save as complete webpage".
Following are my requirements,
Save the index html file, maintaining entity encoding.
Need to download all linked images and other resources.
Need to change resource path in html page to local downloaded path.
Need to maintain webpage current stat...
Hi, This is the first time I have attempted to make a form using jquery and php. I used the folks over at Mid Mo Design as an example but even with that tutorial am still having trouble getting it to do what I want. This is the code I have been using. As well as jquery 1.4.1 and jQuery Form Plugin 2.43. Any help would be greatly apprecia...
I put 10 digit mobile numbers in a Textarea like the follwoing.
242452354643663463636346366363463636365636363634656346
but i need to put comma(,) after every 10 digit number.
...
Hi - I'm trying to open a file located on a networkshare by giving the anchor tag path =
file://///servername/folder/file.docx
This works in IE8 and i'm able to open the file in word, however in Firefox nothing happens. I believe it's due to some secruity settings in Firefox. I tried about:config and turning off the checkloaduri value. ...
I would assume that this question would have been asked in different ways already, but I could not find one so posting it. Sorry if its a repetition
The basic idea which I am trying to explore is to design a common Ajax framework/API for our application. The main requirement is to have a common framework in the product which every modul...
Can I create a Google chrome extension to prevent the page from doing an alert() ?
...
I m getting the below return from ajax call but not able to traverse it please please help.
{
"1": {
"tel1": null,
"status": "1",
"fax": "",
"tel2": null,
"name": "sh_sup1",
"country": "Anguilla",
"creation_time": "2010-06-02 14:09:40",
"created_by": "0",
...
Is there easy to integrate ASP.NET with jQuery form validation plugin or any other JS framework to replace standard ASP.NET client validation ?
...
i have a problem regarding the textbox.
i have done the textbox auto expandable but when i insert the text first time then the textbox shrink in size from their original size.but my requirement is that when my text is exceeding the text box length then it auto expand. my code is
<script type="text/javascript">
$(document).ready(...
hi folks,
Am trying to hide a div when the user doesn't click any button on it for 15 seconds.
I know how to hide and display the div by using element.style.display = 'none'; but am not able to understand how to calculate the time after last activity on the div.
Regards,
Snell
...
Hello everyone:
I am working on a task to enable image uploading and auto-scaling(from full sized to thumbnail) by jQuery & PHP.
I can naturally come up with two approaches :
First, store both images as binary objects directly into MySQL;
Second, store only urls to the images and keep the images somewhere on server.
The images are ...
Hi,
I've made this code:
window.setInterval(function(){ var a = doStuff(); var b = a + 5; }, 60000)
The actual contents of the anonymous function is of course just for this small example as it doesn't matter. What really happens is a bunch of variables get created in the scope of the function itself, because I don't need/want to poll...
Hi! I'm using jQuery Tablesorter and I have a problem sorting tables with date values of format: 16-Jan-2010
How do I make them sort properly?
Thanks in advance!
...
Ok, I have a HTML page with jQuery included.
I have a CSS file with a good load of lines in, I would like to read all styles for a given element from the external CSS file... Not the inline styles...
I have the following code (which looks like it should work...):
var styleProperties= {};
var getCssProperties = ['width', 'margin', 'hei...
Hi,
I'm creating function which will read different XML files each time that will contain different amounts of the same nodes.
I have already created a loop which stores the ID of each node into an array, and now I want to create variables for each array member which store attributes of the node with each ID.
Because the number of nod...