Searching for rotators based on JQuery only finds the original rotator plugin and a bunch of photo galleries, which I don't want. Please suggest other rotators available. The rotator should be able to rotate HTML not just images (like the Glimmer tool, which can create JQuery/HTML code for rotating images).
...
Hi there,
I'm currently using JCarousel to highlight "featured posts" in Wordpress. The carousel displays above the fold, as part of our header. It works well once it loads, but since we're using it above the fold on a large page with many elements, it has to wait for our entire page to load before it will initiate and display our featu...
I'm creating a demo that must be in html code only (no server side code such as PHP, etc). I'd like to use jquery and the .load function to call in some content dynamically. This is working fine in Firefox, but for some reason the page I want to get is not loading in Chrome (v 5.0).
The code I am using is very simple:
$("div#conten...
Does the jquery-ui-1.8.2.custom.min.js file included with the themes you download from jqueryui.com differ from theme to theme, or is it the same?
Edit:
I'm trying out different themes to see which one looks best for the site. I have the following folders:
/jquery/js/jquery-1.4.2.min.js
/jquery/js/jquery-ui-1.8.2.custom.min.js
/jquer...
Using a jQuery effect, I have a layer that has a collection of HTML within it (which displays just fine).
When a button is clicked, this slides out
($n).show('blind', { direction: left }, 1000);
This effect works fine. It doesn't give me any trouble. But sometimes within the layer, I have other content that has to be aligned pr...
The error I get is:
$ is undefined
Line 8
which is:
$.colorbox({html:'<p>TEST TEST</p>'});
This is how the page renders:
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js?Y"></script>
<script type="text/javascript" src="/misc/drupal.js?Y"></script>
<script type="text/javascript" src="/sites...
Go to the site here: http://en.heroes.gpotato.eu/ and click Register. What is the jquery function or plugin to make this jumping window? Thanks.
...
Hello All,
I would like to have more samples regarding the jquery confirmation box.
I have learned how to show the confirmation dialogure box through the below example:
http://www.webstuffshare.com/2010/03/jquery-plugin-jconfirmaction/
But, I need more colorful samples, can you please help?
...
Hi all,
I need "i" click functions depending on variable unknown length:
for(i=0;i<=unknownLength;i++)
{$("#group_link_"+i).click(function()
{//asynchronous call to a Web Service for the specific content on group_link_i div, here I will use $("#group_link_"+i).val()}
);}
This code is not working. However, the same code, if i delete ...
Hi,
What happens when you use a selector like this:
$('#myelement').remove();
but no element with id 'myelement' is actually part of the page? Is it undefined, should we take care to make sure this does not happen?
Thanks
...
I'm using 1 js for 2 different pages. 1 page doesn't have a div which the other does. So when I submit the values, I get a $( js error
for
$('.description'+save_id+'').html(description_val).show(); //update category description
I suspect that I get the error because there is nothing to show(). Is there a short code I can use to detec...
I have a form that acts as a frontend to entities in a 1:many relationship. The form lets the user edit the properties for the parent entity, as well as add, edit, and delete properties for the child entities.
This is such a common scenario that I expect someone has already come up with an elegant jQuery plugin to help make a user-frien...
So I have the following jQuery pagination plugin installed.
http://d-scribe.de/webtools/jquery-pagination/lib/jquery_pagination/README
I understand how to create the pagination navigation, but not quite sure how to implement a new server call everytime a new page is clicked.
Below I've mapped out the steps that I currently have built ...
My host has a formmail.cgi script to send html form data to emails (http://formmail.dreamhost.com/), but I dont understand how to pass it values that it understands.
Ive tried using this method to pass form values:
HTML:
<form id="contact_form" action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST">
<input type=...
Hi there! I'm trying to add a div when an option is selected from the list. This is my main code:
<div>
<select name="rooms" id="rooms">
<option value="1" label="room 1" selected="selected">1 room</option>
<option value="2" label="room 2">2 rooms</option>
<option value="3" label="room 3">3 rooms</option>
</select>
</d...
Hi,
I am a beginner in JQuery.
When should be used point after $ in JQuery?
$.trim(str) and not $trim(str)?
And some cases without point: $(document).ready, but not $.(document).ready?
Thanks.
...
I have a jqGrid column which name may change (is a variable), how do I get the name and hide it?
Something along the lines of the below (which don't work)
$('#tblGridName').jqGrid('hideCol',4);
or
var infoName = $('.ui-jqgrid-htable th:eq(4)').text();
$('#tblGridName').jqGrid('hideCol',infoName );
...
Hi,
1. What the best way to check array or object with JQuery undefined + null?
I check array like that:
function f1(arr){
if(arr!==undefined&&arr!=null){
//code
}
}
Is Jquery have better way?
2. What the best way to check String with JQuery trim(str)!==""?
I check String like that:
function f2(str){
if(str!=...
I am roughly working with the following:
var i;
var k = 5;
$('document').ready(function () {
$('#someElement').click(function (e) {
e.stopImmediatePropagation();
i++;
if (i >= k) {
my_function();
});
}
});
my_function() {
alert(i);
$('#myDisplay').text("You have clicked on '#so...
Lets say I have the following code that returns number of anchor elements on a page:
function getLinkCount() {
alert("Links:" + $("a").length);
}
If I call in on document ready it would work as expected. But what if now a new link gets inserted into a page dynamically through javascript, how can I get notified to run link counter ...