I'm trying to stop items being selected when the next button is clicked in the jCarousel plugin.
To see what I mean, have a look at this demo and double click the next arrow...
jCarousel demo
I tried this code and it seems to work for IE and Mozilla but it doesn't work for Safari or Chrome...
/**
* Fix carousel selection
* http://...
If I download multiple JQuery themes how can I give the users of my web application the ability to dynamically switch between themes?
...
I'm trying to create a module in joomla, which uses one jquery plugin. I've to do an ajax operation while clicking on an element in the module. Currently I'm specifying the whole path to the php file. But I know Its a wrong method.
The code in jquery plugin is like this.(please note the second line where the path is specified in the jqu...
Hi,
I have read a few threads and look round the web but still haven't found a solution.
I want to validate a form using jquery but the way in which the asp.net page is built is different from examples round the web.
The whole page is wrapped in a from tag and not the actual individual form.
The only way I have found so far is to use...
I have used Jquery Pikachoose plugin on my page to display some images as slideshow.
But in IE, instead of image to slide, it opens the image in the same page in full view.
AND the funny thing is, If before the script opens the image, if I change the slide myself by clicking a thumbnail, then from this point and onwards, it works fine....
Hw can i select component with id, which contain [ ] symbols?
for example:
<div id=divtables[COURSE_SUBJECTS][141][TITLE]>gg</div>
Tnx.
...
How can I convert a JSON string to an object in JavaScript? Is there a method that does this?
Something like:
var x = "{ id: 5, name: 'hello' }";
var y = /*something*/(x);
alert(y.id + " " + y.name);
...
Hey there,
I've programmed a tingy snippet that should be able to tick a checkbox if someone types into a specific textfield.
The problem is that I have a bunch of checkboxes having the same name but not the same id's. They are all different.
<input type="checkbox" value="11" id="checkbox_09" name="CHAP2_PART4_1[]">
<input type="check...
What is the best solution to play an audio file on mouse over via JavaScript? And stop it when the mouse leaves the link. jQuery is available.
<a href="/test.mp3" class="play">play</a>
...
Given is a form that is followed by a confirmation page where you have to confirm you entered data of previous form. Now if the user refreshes this recapitulation page, the data form the previous form reposts. Is there a way to prevent that in JavaScript?
I know its not a ideal solution, it should happen on the server side. But i have n...
Hi, at Euroworker.no we're now adding Tooltips, I've been using the Flowplayer.org tools to implement tooltips here. It reads the text for the tooltip from the title tag.
Ok so the problem is that on the search box, vis button, Filter Meny and Handlevogn in FF, the tooltip works perfectly.
In chrome, only the three work and Handlevogn...
I want to be able to play an alarm sound using Javascript in a browser window, preferably with the requirement for any browser plugins (Quicktime/Flash). I have been experimenting with the tag and the new Audio object in Javascript, but results are mixed:
As you can see, there is no variant that works on all browsers.
Do I miss a tr...
I'm using this dialog: http://docs.jquery.com/UI/Dialog
To open dialog I do it this way:
$('a.openModal').live("click", function() {
var idArr = $(this).attr('id').split("OpenNote");
var id = idArr[1];
alert($(".modalNote#dialog-modal" + id).html());
$(".modalNote#dialog-modal" + id).dialog('open');
...
Hello All,
I have slight problem with Google maps included in simple jQuery Tabs.
Below I pasted the code:
jQuery:
$(document).ready(function() {
//Default Action
$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();
//On Click Event
$("ul.tabs li").click(function() {
$("u...
hi guys,
i wonder how i can query if a ul has a first-child li with a certain classname?
like…
<ul>
<li>list element 1</li>
<li>list element 2</li>
</ul>
<ul>
<li class="whatever">list element 1</li>
<li>list element 2</li>
</ul>
i want to query if ul has a child with classname whatever -> do something!
is that even possible?
than...
so i have this div
<div id="progress">{2 digit number updates here}</div>
What's the best way to turn this into a progress bar?
something like this?
<div id="progress">
<div id="bar" style="width={2 digit number updates here}"></div>
</div>
would this be 'ok'?!!!
...
I have six checkboxes.
Shown as like this
Checkbox1 <input type="checkbox" id="check1">
Checkbox2 <input type="checkbox" id="check2">
<div id="checkbox1field" {if $blabla} style="display="none"{/if}>
Checkbox1 <input type="checkbox" id="check3">
Checkbox2 <input type="checkbox" id="check4">
</div>
<div id="checkbox2field" {if $bl...
I have an H1 tag on a page with an ID of "Topic Name
<h1 id="topicName"><a href="/link here">News You Can Use</a></h1>
I need to copy the text inside the H1 and apply it to a series of span tags which are inside a div.
<div class="post"> <h2>{tag_postdate} <span class="topicName2"> </span></h2></div>
I need to get "News you can Us...
Am a newbie to programming and have seen examples on dragging and dropping items from one list to another list using jQuery. My problem is that my list is populated dynamically and so i cannot predefine the list items. Can anyone provide a solution to this? Am working in Visualforce.Thanks in advance.
...
I'm using a web service with an ASP page. I'd like to keep most of what is going on here happening on the service, but I need to call one function from the codebehind. How do I do this and keep it asynch.?
How do you register a callback to codebehind that is called when the service call completes?
Thanks!!
EDIT:
EXTRA INFO: I call an ...