Hi,
I'm trying to call an external script from within a lightbox (prettyPhoto).
Basically the script calls a video from a streaming server.
I'm able to see the lightbox appear, the script begins execution and then immediately causes the page to crash and hang.
Is there a lightbox able to accomplish this? My code looks like this:
<a h...
I have implemented a simple scrollable photo-gallery with jQuery Tools.
I then attached the autoscroll behavior to the jQuery tools scroller to create a photo slide-show.
Then I attached the jQuery colorbox to the photo slide-show to provide a larger version of the images.
I'm running into the following problems. I hope I can explain...
Hi,
I have a javascript object with several properties. The object also contains an instance method that returns the result of a calculation on two of the object's properties.
I'm using the new Jquery .link() plugin (http://api.jquery.com/link/), to update the UI and form elements with the object property values and vice versa, whenev...
Hello,
How can I add a loading graphic to the JQuery UI ajax tabs? So it pauses for half a second, displays the graphic then loads the content?
Here's the code I have:
<script type="text/javascript">
$(function() {
$("#tabs").tabs({
ajaxOptions: {
error: function(xhr, status, index, anchor) {
$(...
I've created my own autocomplete using ajax and I want to be able to monitor the search input as the user types... I'm using TypeWatch right now and the only issue I see is that if the user has backspaced and the input is now empty, my search results sit there.
What would be the best way of extending the TypeWatch function (perhaps addi...
I am trying to build a jQuery slider.
This will fade in and fade out images that ares "stuck" in the same place.
(Is this explanation clear).
A little bit like this:
http://d2o0t5hpnwv4c1.cloudfront.net/377_slider/slider_sourcefiles/slider.html
But without the horizontal moving.
Can you point me to something similar, so I can modify...
Hi,
Is it possible to use two uploadify scripts in one page?
When first script finishes uploading data, then second one should start.
Is this possible?
...................
sorry that is not explained clearly.
I wish have two uploadify script in one page. One uploadify script upload only images, second only pdf files.
...
Are there any javascript libraries for client-side rendering and manipulation of flow-charts? My preference would be for jQuery, but I'd settle for others.
This question has been asked before, but not for a couple of years so I'm hoping there's a more positive answer now!
...
For my portfolio section i've combined two scripts to be able to filter by category and be able to scroll horizontally through the images.
The scrolling works (does some weird jumping but still works), the bigger issue arises when you filter by category. The thumbnail animates off the screen so it can't be seen (and if you scroll it nev...
I want to make it so when I click somewhere in my website, the background changes. I have three backgrounds, and I want to make a loop of them.
$(document).ready(function() {
$('body').click((function(){
return function()
{
if (counter == null) {
var counter = 1;
}
if(counter == 3) {
$(this).css("background-image"...
Does anyone please have a solution to create a Clickthrough with jQuery on a png file overlayed on top of a Flash (JW) movie player?
...
When used with the child selector >, the two variants of jQuery's "has" behave differently.
Take this HTML:
<div>
<span>Text</span>
</div>
Now:
$("div:has(>span)");
would return it, while:
$("div").has(">span");
would not. Is it a bug or a feature? Compare here: http://jsfiddle.net/aC9dP/
EDIT: This may be a bug or at lea...
I get an error by following code:
jQuery.post('/user/result/generate',{
'id': getHidden()
}, function(html) {
$('#result').html(html);
});
error:
TypeError object doesn't support this property or method
this code works fine in FireFox, but not in IE.
How can I fix this?
p.s
the function g...
This is the function I am working with:
function replaceH1s() {
$("h1").each(function(){
h1name = $(this).text();
stuff = h1name.toLowerCase().replace(' ','-');
$(this).html('<img src="/assets/image/h1_' + stuff + '.png" alt="' + h1name + '" />');
})
}
I can't figure out for the life of me why this function replaces th...
I am using jQuery dialog in asp.net. It is working fine for me. The problem is when I open the dialog box, I can still work parent page functionality. I don't want that. Just dialog to modal and should not allow focus on parent page.
window.onload = function onloadFunction() {
//setup edit person dialog
$('#uploadPic').dia...
Hi,
I have a test website up at http://wms-clients.com/wms2.0/2010/. I am using the jquery carousel built in to my theme. My only problem is that when I advance the slideshow, it skips past some slides, almost as if it's going by twos instead of one slide at a time. I have seen this issue posted in other website forums, but never have go...
Is there a way to create a form in pop-up window on click of a button using jquery? Form will have few input fields and 'Save' & 'Cancel' buttons. So on clicking 'Save', the information in form will be saved in database and will be back to original screen. I would like to have a fade-in pop up window.
...
Hello,
I have a script that needs to submit to an iframe and get a return value. However, the coldfusion page i am submitting to needs to do additional processing that has nothing to do with the return value, so I want to return the value to the iframe and then redirect the iframe to about:blank before doing the rest of the processing s...
Hello,
I have setup some basic code that triggers on focus of various input fields:
var div = '<div class="formHint">Content</div>';
$j('.textbox').blur(function() {
$j(".formHint").remove();
});
$j('.textbox').click(function() {
$j(this).focus().before(div);
...
Using jQuery, I set a link tag's click handler like this:
$('#lnk').click(handleClick);
handleClick does something like this:
function handleClick() {
var $this = $(this);
...
}
Now I have a need to directly call handleClick() outside of #lnk being clicked. Is there a way for me to set this when calling handleClick?
...