having integrated jquery into our sharepoint moss internet facing site and deploying the files to the _layouts folder we are now having problems with the references from the masterpages, all the references work apart from application.js. Non of the events fire from there?
would we need to take any extra steps to get this working in a sh...
Anyone know of a decent, reliable, jQuery based min/max width fix for IE6
...
I used context menu plugin and was able to make if functional on the page I currently developing. At right click, I want to run a code (such as to highlight a selected row or column) before showing the context menu. Where can I insert the code. I used the plugin on this link.
http://www.trendskitchens.co.nz/jquery/contextmenu/
My html:
...
What I'm trying to accomplish is when a user has focus on a text box, the field set that's in will add a class "active_fieldset" so it gives a nice visual cue of where the user is in the form. Using the following javascript, it does affect the parent fieldset but it also affects all sibling fieldsets as well. Am I doing something wrong? ...
Does any one tried to successfully hide the context menu at blur event? What I want to do is to hide the customized right click menu when the mouse is not positioned inside the context menu div.
This uses the jquery context menu plugin.
...
I need ideas on assigning categories to a listing. The categories will be something similar to what Ebay does. Amazon and the other sites have similar categories for listings. I have a lot of categories and Sub-Categories upto 4 levels deep, like
Home & Garden > Kitchen > Small Appliances > Coffee Machines
Computing > Networking > Ser...
I am trying to target the background of my navigation and 4 other divs in the body copy when mousing over any navigation links or the divs in the body copy.
when mousing over any one of the four divs in the body copy the other three divs should fade and the navigation divs backgroun dcolor should change as well
i have it working but...
What does selector 'a[href*=#]' mean in jQuery? And what does location.pathname, location.host, this.hash, target.size() mean?
The complete code snippet is:
$(document).ready(function() {
$('a[href*="#"]').click(function() {
if (location.pathname == this.pathname && location.host == this.host) {
var target = $(this.hash);...
I have a form which users may submit information. The submission can be successful or it's not successful.
In either case, I want a dialog box to tell the user if it was a success or not.
The page loads itself on form submission. Ergo, the page is not submited through Ajax.
I know how to trigger the dialogbox by clicking a button / lin...
I'm using the following code to insert some HTML into a div, and to preload any images that might be contained in that HTML (the html var's data is actually fetched from an AJAX request in the real code). This is to prevent the browser from loading the fetched HTML's images upon showing the div (using the slideDown event) - because this ...
I have the following code (snippet):
var numRows = $table.find('tbody tr').length;
var numPages = Math.ceil(numRows / numPerPage);
var $pager = $('<div class="pager"></div>');
for(var page =0; page < numPages; page++) {
$('<span class="page-number">' + (page + 1) + '</span>')
.appendTo($pager).addClass('clickable');
}
$pager.inse...
Hi,
I need help in attaching a date picker in my existing HTML markup. The
booking form was provided by my Affiliate, Now I need their forms to
be customize a little bit. I need to change their the current date
picker with the JQuery datepicker, I hate their date picker because it
calls another window and It's kinda ugly.
(Sorry I can'...
I have some pagination code defined in a variable ($pager) that I would like to appear at the top and bottom of a table ($table).
I've tried the following:
$pager.
insertBefore($table);
insertAfter($table);
However, the second instruction appears to overwrite the first, meaning the pages only appear beneath the table. How can I ins...
The code below works as expected in FF but not in IEs...
$(document).ready(function() {
$('div.facet_dropdown select').live('change', function() {
var changed_facet = $(this).attr('id');
var facets = $('select', $(this).closest('form'));
var args = window.location.href.split('?')[0] + '?ajax=1';
var ...
... in the context of one element I need to check?
I never faced the problem of uploading using iframe without jQuery, but now I think about uploading from ajax callback which contains a form, an iframe:
<form enctype="multipart/form-data" action="get.imageupload.php" id="upload_form" method="post">
<input name="userfile" type="fil...
I need help, I need to make a menu that only shows when you click on an iamge, I need to position the menu directly to the right hand side of the image div though. So can someone look at the link provided and help me to position the menu div next to the photo div?
Then maybe show an example of the best method to show/hide the menu di...
Hello all,
I am trying to implement a fancybox. http://fancybox.net/howto
I want to call this function on an an element. Full JS file. http://fancybox.net/js/fancybox/jquery.fancybox-1.2.1.js
$.fn.fancybox = function(settings) {
I have done this:
$(document).ready(function() {
$("a#inline").fn.fancybox();
});
However, I ke...
Hi
Is there a way to use the jQuery UI Datepicker widget to select multiple dates?
All help is appreciated!
If its not posable to use the jquery UI datepicker then is there something similar that does?
...
Hi guys.
My brain is fried after 10 hours of coding, so I need some help.
I have used the following function to retrieve data from a form submission (before I process the data, verifying input etc):
// All form fields are identified by '[id]_[name]', where 'id' is the
// identifier of the form type. Eg. brand, store etc.
// The...
Hi i have a simple accordion set up with jQuery with the HTML structure of:
<div class="accordion_headings">Title 1</div>
<div class="accordion_child">Accordion Content 1</div>
<div class="accordion_headings">Title 2</div>
<div class="accordion_child">Accordion Content 2</div>
and this script
$('div.accordion_headings').click(func...