I'm setting up dynamic pulldowns: the choice on select#category informs the contents of select#subcat.
this is the html for select#category:
<select name="category" id="category">
<option>Click Here to choose a category</option>
<?php foreach ($categories as $key => $category) { ?>
<option value="<?php echo $key ?>...
Hi all,
I'm creating a customer survey using a jQuery UI dialog. I'm loading an external html file (/survey/survey.htm) which has a form that contains two sections (#part1 and #part2). Each section is shown in the same dialog (#CustomerSurvey")
$("#CustomerSurvey")
.load("Survey/survey.htm #intro")
.dialog({
title: "Cus...
Example:
$(X).bind('click', function() { alert( 'Two' ); });
$(X).bind('click', function() { alert( 'Three' ); });
$(X).bind('click', function() { alert( 'Four' ); });
$(X).bind('click', function() { alert( 'Five' ); });
**$(X).bindUp('click', function() { alert( 'One' ); });**
When the user click X the output should be:
alert( 'One...
Hi, I am running and using the zRSSFeed jQuery plugin (http://www.zazar.net/developers/zrssfeed/) to pull feed items from my WordPress blog and display a single feed item within a seperate XHTML file (outside of the WordPres blog). It works perfectly displaying the latest item in the feed specified.
I would like it to display a RANDOM i...
Hi.
I'm trying to make a simple pop-up <div> that's designed to show mouse coordinates while a user is dragging a mouse pointer. This pop-up appears at the bottom on the right to the mouse pointer. The underlaying div has its own very important mouse event handlers (e.g. .mousemove()). The pop-up div is quite far away from the mouse poi...
I can't seem to find the answer to this question anywhere so I ask here.
I already use successfully fancybox like this:
$("#editor").fancybox({
'width' : 1000,
'height' : 600,
'autoDimensions' : false,
'autoScale' : false,
'ajax' : {
type : "POST",
...
I am about to start designing a store locator for a business. I had a few questions on the best route to take. The main questions are located in bold.
There will be two columns, 1 with the map itself and 1 with the list of all stores currently located in the view of the map. I am hoping to have the google map to be loaded zoomed onto a ...
I'm using ELMAH to log errors. I'm extending HandleError attribute with my own that allows ELMAH to handle all errors. It's my understanding that ELMAH will return Error.aspx to the browser after the error has been logged. That's well and good except for Ajax calls. My client is expecting an Exception returned as JSON if something ha...
I have connected two lists with Sortable. I have one list that contains available items to move to the real list that contains a list of ordered items. My goal is to take an item from one list and move it to the second. When dropped into position in the new list the update event will fire off a json update to the database.
The issue ari...
Hey, I have modified a script to display a second/child level horizontal menu for the current page in WP, that alters on hover over the other top level items to show each relevant child level menu. Whilst on top level items, this works fine. When hovering off the menu, the second level reverts to that for the current page.
My problem i...
I've been trying to figure out how to get a jquery dialog box to work. For the life of me, I can't get it to work. Here is some html with in-line javascript I've written:
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
function showDialog() {
...
In jQuery space denotes AND condition "," denotes OR condition, Is that right? But I am facing issues in that. Here is my sample html code
<td id="4">
<div id="test1" class="test1"></div>
<div id="test2" class="test2"></div>
</td>
<td id="5">
<div id="test1" class="test1"></div>
<div id="test2" class="test2"></div>
</td>...
I've been searching for a way to have a JavaScript animation (preferably using jQuery) behave like a rotating 3D cube, similar to this script:
http://keith-wood.name/imageCube.html
What stops me from settling with Keith's solution is the possibility for a more smoother and better transition between the images. Is it possible to make a ...
I want to change an image when a checkbox is clicked. Until the new image is fully loaded a loader image should appear on top of the current image. While loading the opacity of the current image should also change to 0.5.
The function should therefore consist of the following steps:
On checkbox click:
Change img src
While loading:
...
hi,
Im trying to build a website just like pagerankcheckertool.com which checks the pagerank of a certain site. Mine will also check for the site's Google and Yahoo links, Alexa rank, domain info like date of registration and expiration, and a few more. It only accepts one input which is the sites domain name (e.g. example.com).
I jus...
i used uplodify to upload multiple files... i have shown the status for each files like in the demo.. but while uploading a large file (>5mb) at that time if i upload that same files again. the status div for the particular div get replaced..with failure message..
i hope same id is generated at that time which replaces the div with fail...
Using jQuery I need to select elements that are:
under the "menu" DIV only
AND are DT elements
AND are followed by a DD element
In this sample HTML I would only want to select ids "select_me1" and "select_me2"
<html><body>
<div id="menu">
<dl>
<dt id="dont_select1"><a href="#">don't 1</a></dt>
</dl>
...
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...
Currently I use iFrame to display third party content. For example, my news page displays live website from CNN, MSNBC, Foxnews in single page.
Currently, I am just using iFrame to display those sites, but I was wondering if there is a better way to display the contents using Javascript, jQuery or other type of Javascript library?
Tha...
Hello,
i am using jCoverFlip (http://www.jcoverflip.com/) plugin for a gallery in my site. What I want to do, is to make this gallery circular. Does anyone know how can I do this?
Thanks
...