I'm using the masonry jquery plugin on a project:
(http://desandro.com/resources/jquery-masonry)
Basically I have a set of boxes (thumbnails) in a grid. When one is clicked, I want it to expand to a larger size to show more content (additional images and text). I'm struggling with how to make the thumbnail dissappear and then have new c...
Is this selector valid? and what $(this) refer to?
$('div', $(this).parents('div'))
i just learn javascript and jquery, thanks
...
If I put any links in my messages, jGrowl removes them. Can I have links in jGrowl?
...
Hi
I am using a pool of 5 with jquery. So only 5 notifications should be shown. I think it would be nice to have maybe under the "close all" button to have a count like shown 5 of 20 notifications.
To me it could get confusing if I keep closing notifications and new ones keep poping up. I might think there is some sort of problem with ...
I'm creating a Javascript JQuery Timepicker control plugin (which I hope to open source soon) and I would like some advice on how to best register the events in the cleanest way.
The control will attach to an <input> box and provide a graphical way to enter times of day ( 14:25, 2:45 AM, etc...). It does this by adding a <div> after the...
Hi,
does anyone know about a jquery plugin that is able to sort a parent/child tree?
for ex:
- Cat 1
child 1
child 2
child 3
- Cat2
child 2-1
child 2-2
i have to sort the child items inside the SAME Cat and save the order to DB with AJAX. Also, i need to sort Cat aswell. In that case, all the child items should fol...
Hi,
I'm using four JQuery Uploadify browse buttons on a page that's calling the Uploadify code/buttons through Ajax. We have a javascript function called from onComplete which refreshes the Ajax page. The problem we're encountering is that when you start uploading one file, if you click browse to upload another file, Firefox will crash ...
I am trying to take form results that are generated from a PHP call and populate them into a div that will then appear in a light box upon click of the submit button. So far I have successfully setup the form and am populating the results on the same page into a hidden div. I can make this div appear no problem in a light box by settin...
In the following code once the mouse out is done the mouse over again does not work ,what is the work around for this
<!DOCTYPE html>
<html>
<head>
<style>
/* div { background:#def3ca; margin:3px; width:80px;
display:none; float:left; text-align:center; }*/
</style>
<script src="http://code.jquery.com/jquery-latest.min.j...
I have a file upload button on my MVC view. After the file is uploaded, my FileList partial view on the page should refresh.
I tried to upload with Ajax.BeginForm(), but have discovered that Ajax will not submit file data.
I've got the file upload working now by using the jQuery Form plugin, which lets you ajaxify the normal Html.Begi...
Inside of a jQuery plugin I made I have:
$.getJSON(base_url,{
agenda_id:defaults.id,
action:defaults.action+defaults.type,
output:defaults.output
},function(json){
return json;
});
And in a separate JS file (yes, it comes after the plugin):
json = $('#agenda-live-preview').agenda({action:'get',type:'agenda',output:'js...
Hi,
After almost struggling for a week I have been able to make DataTable + JEditable + AutoComplete(BAssistance) with server side processing using Json to work.
I thought it would be useful to somebody out there.
$(document).ready(function() {
$('#example tbody td').editable( function(value, settings)
...
I'm using jQuery and made a plugin for some in house work that basically builds URLs for our internal API. Anyways, I want to return $(this) and im not getting the right thing and im getting a createdocumentfragment error?
Plugin code:
$.get(base_url,{
agenda_id:defaults.id,
action:defaults.action+defaults.type,
output:defa...
I am using jQuery Fancybox to display a number of Flash videos on a site and I am having trouble with the window not opening fully on the first click in Firefox. It works fine in other browsers.
Here is the jQuery:
<script type="text/javascript">
$(document).ready(function() {
$("a.videoLink").fancybox({
'titleS...
Hi,
While creating a jQuery widget, what convention should I use to name my CSS classes. jQuery uses a 'ui-' prefix followed by the plugin name and a class specific name (example : ui-datepicker-header).
Should I use this convention? Or is the 'ui' prefix "reserved" for jQuery's official use only?
...
Hi all - I know how to gray out the weekends on the jQuery Datepicker by instantiating it like this:
$('.calendar').datepicker({ beforeShowDay: $.datepicker.noWeekends });
The Datepicker also automatically selects the current date, so if the current date happens to be on a weekend, nothing is selected.
How can I make it select the nex...
I have inlcuded a JQuery Lightbox plugin on my first site and for some reason it is not showing the gallery images on click. the first one works but the others are blank.
I built the site in Dreamweaver and it worked fine in testing on Safari and Firefox but the live version isn't playing ball.
Any suggestions.
...
I'm writing a jQuery plugin and I would like my code to take advantage of the jQuery UI show(effect, [options], [speed], [callback]) and hide(effect, [options], [speed], [callback]) functions, which allow you to show and hide elements with a nice animation.
However, I'd also like my plugin to degrade gracefully if jQuery UI isn't availa...
Does anyone know if there's a jQuery plugin to format code, XML or HTML?
I'm showing the user some code on an html page. I use google prettify for coloring the syntax, but would like some indentation and linebreaks too. any suggestions?
...
Hello,
How to use jquery cookies in showing/hiding elements in a page ? I got the plugin from here
Tried some method but i am not successful. I used slideUp() and slideDown() functions to show/hide elements.
When a element is slided up a cookie should be set. when the page is refreshed, the element should be in slided up position
How...