I have created a static HTML page with anythingslider to show sliding portfolio works. In that static HTML page it works just fine. Now I am trying to convert this page to a WordPress template page. At first, I just copy contents of the static main container page (excluding header and footer) and it stops working. It gives me an error jQ...
I'm currently using the following code for my read more buttons:
$(document).ready(function() {
$("a.more-link").attr("href", "");
$("a.more-link").attr("onclick", "return false;");
$('.readmore').each(function(index) {
var $link = $(this);
$(".readmore").prependTo('.' + $link.attr("id") + ' > #bottominfo');
});
$(...
I need to request a twitter search with jquery using twitter api. After read documentation I write this code:
$.getJSON("http://search.twitter.com/search.json?callback=myFunction&q=stackoverflow");
function myFunction(r) {
console.log(r);
}
search.json Failed to load resource> When the page is executed, Google Chr...
here's my problem:
i'm using the jQuery dialog for displaying a div with some textboxes inside.
that div has my own plugin code assigned like div.myPlugin();
before opening the dialog, i'm initializing that plugin like div.initPlug();
the problem:
- when first opening the dialog anything is fine
- when closing it and re-opening it, th...
In Jquery mobile, I can have grouped horizontal buttons, but they the group does not take 100% width.
I tried adding a class that sets width:100% but that did not work.
How can I do it?
Thank you!
Update + Possible Fix: It seems that it was failing because I was explicitly using width="50%" in both buttons. I did 45% and the fit. Pro...
I have four check boxes and when I click more than two of them then under the last clicked checkbox one I should get a <div><a href="#">Compare</a> </div> contains a compare link. It may be randomly. I tried to do this using JQuery and below is my code.I need improve one. The issue is I need when two of check box will check under the las...
Hi guys
I have made an input with an image as background. When the input is active the input changes image.
I want it to animate/fade between theese states.
The way it works now:
Class idleInput is added to the input onload. When input is active activeInput class is added instead. How can I animate this?
<script type="text/javascript...
Can anybody know the exact reason for this, why drop down is not opening using trigger function. Can anybody Explain this!
$('select').trigger('click');
Thanks.
...
I've been looking into the spring-webflow/spring-js integration and can't seem to find a guide that describes what is required for implementing a js framework for spring.
There is a default integration with dojo, but I'd like to see about integrating jQuery or Prototype and am unclear on what is needed to accomplish this.
Thanks.
...
Hi Guys,
I am currently developing a site which requires a print option on the page. When clicked this button fires a script that prints all contents within a <span id='printArea'></span>.
I am using a jQuery plugin called printElement at the moment and it works very well in all browsers that I have tested except Google Chrome.
I have...
I integrated this right click context menu into my website: http://abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/#download
my problem now is when I use fancybox to show an image, I can't seem to find a selector to target so i can use my custom context menu when i right click on the fancybox image popup.
Any ideas?
...
My headline says it all. I have set up a nivo slider and some captions for testing. Actually they are working fine but now I also have included the flowplayer tooltips which are based on the regular jQuery libary. Since then the nivo slider disappeared. If I exclude the flowplayer tooltips from my site they appear back again.Is anybody o...
Hi,
I have this:
<meta name="description" content="NEED_TO_UPDATE_THIS" />
<meta name="keywords" content="" />
and i need to update the content of meta tag that has the name="description" using jQuery. How can i use the selectors to choose that content atribute of that tag?
thanks
...
I created a lightbox script. One javascript issue remains and it is driving me crazy.
The source is to be found at http://github.com/Wolfr/Wolf-lightbox
In IE6, when you click the image, the modal box position is wrong the first time you click the modal. If you close it and click it again, the modal is positioned correctly.
I believe...
I'm using Sortable jQuery UI to allow users to drag and drop table rows. This allows users to rank items in a table based on their preference. Once a user has finished ordering his list, they press a save button which executes an Ajax call. The new rank is saved into the database and the table highlights briefly.
I have now added an add...
Currently I am using java servlets to set up Hashmaps, lists, and range of business objects and then pass them to a jsp page via request.setAttribute("myMap", myMap);
How can I directly access this data in javascript/jquery? What is the syntax ?
At the moment I am using jstl and EL expressions to loop through data and set the values of...
Using jQuery or straight Javascript, I'm looking for the best way to find the leftmost div (or in general the DOM element with the minimum or maximum position on either axis).
So far I have two solutions:
Iterate through the div objects that I want to consider, saving the smallest left position found.
Build an array of objects and us...
Hi
I'm using Flot and would like to associate text with each individual plot point so that when I hover over the plot point the relevant data is displayed.
I have used the following example
http://people.iola.dk/olau/flot/examples/interacting.html
which allows me to display a tooltip but I need to associate text with each plot point....
Hi,
I started using ascx yesterday and begun a process of chopping up my "dynamic" default.aspx page into smaller parts.
In my default.aspx I have a lot of JavaScript/jquery code that handle different events. When I removed some html code from .aspx, while leaving the javascript in default.aspx, and placed it into .ascx the jquery eve...
Here is how I initialize the dialog:
$('a.dialog').click(function(e) {
e.preventDefault();
var $this = $(this);
$('<iframe id="externalSite" class="externalSite" src="/controller/action" frameBorder="0"></iframe>').dialog({
modal: true,
resizable: false,
title: 'Title',
zIndex: 1,
show...