Where to place the Jquery plugins on our system?
I have recently been introduced to the world of jquery, and as excited i am to see how jquery makes everything so easy, i need to know, where i should place any jquery plugin which i have downloaded, in order to use it in the netbeans environment ?
Looping a photo slideshow
Hi all, Very new to J query. I am trying to put together a very simple slideshow. So far i have five images, all i want them to do it fadeIn, delay, then fadeOut. The code i used is below $(document).ready(function() { $('#image_1').fadeIn(1500).delay(3500).fadeOut(2000); $('#image_2').delay(5000).fadeIn(2000).delay(3000).fadeOut(2000); $('#image_3').delay(9500).fadeIn(2000).delay(3000).fadeOut(2000); $('#image_4').delay(14000).fadeIn(2000).delay(3000).fadeOut(2000); $('#image_5').delay(18500).fadeIn(2000);
Am I allowed to use this code?
Greetings to all, I have just started coding again after many years rest! I have come across this awesome site and would like to use this code for a personal site I am constructing. Am I allowed to use your scripts (such as DatePicker) for my websites? Regards Mafster
jquery grid with POST request
Hi Team, I am writing a game in which a user sees a grid like this -- A B C D E 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + 5 + + + + + And the user can click the '+' any number of times. Every time he clicks, it stores the state/clicks in a variable like -- A1+B1+B1+B1+C3+D5+B1 and then on clicking submit, sends it as a POST reply
.focus() &.blur() issue
Hi, i want to display a div upon focusing on a drop-down and blur upon leaving the drop-down... my code works but focus/blur doesn't get executed perfectly. http://jsfiddle.net/timur/kRCKu/ Is there a better way to do it? I noticed that when executing this inline code, my results are much more consistent: onfocus="document.getElementById('hide').style.display='block';" onblur="document.getElementById('hide').style.display='none';"
jquery
hi friend, I am working to develop a website as my project , i am not able to complete it because i want to add one functionality to the header text that when any one roll mouse over that text with out clicking over their a drop down window slides and when user remove the mouse from that text the slided window just disappears. kindly help me this regards and you can email me the answer at abhinav.octane@gmail.com i will be very thankful to you. below is the screen shot of functionality which i want.
Newbie (seeks Black-Hat) re issues with jqgrid row editing (datepicker) and examples towards my overall design model
Hi all... Firstly, I'm experiencing the below when implementing the simple example (per: http://www.trirand.com/blog/jqgrid/jqgrid.html) TypeError: $.ui is undefined @ http://localhost:3000/javascripts/jquery-ui/ui/jquery.ui.datepicker.js:1608 This occurs when I click focus to the date column to edit. All js,css loaded 200/OK, e.g. GET http://localhost:3000/javascripts/jquery-min.js [HTTP/1.0 200 OK 3ms] GET http://localhost:3000/javascripts/jqGrid/js/jquery.jqGrid.min.js [HTTP/1.0 200 OK 7ms] GET
extra white space in the bottom after scrolling down jquery
how to remove the space below the red button when i scroll down... working code http://jsfiddle.net/SSMX4/82/ but a pop up should display when I click the red button with links in it...this is achieved... providing my js code below
jquery Uncaught SyntaxError: Unexpected token )
I am getting a jquery error in my code... can you guys tell me whats the reason for this when you click the united states red color button in this link you will see this error http://jsfiddle.net/SSMX4/88/embedded/result/
Compare string (object value and variable)
New to jQuery, and have been struggling to work out how to compare a the value of a drop-down list to a variable. The from allows user to pick from a list of schools (#dropDownSchool), they select one and then programmes (or courses) not offered at that school are removed from a second drop down (#dropDownProgramme)list. The window.alert shows me the school the school code is being picked up okay, and if I replace school with actual string, e.g. as below - then it works fine - all items in the drop
Open link in new window?
Kevin B was great enough to provide the code below, which intercepts a link, activates an .asp counter file, and then continues opening the link. How could I modify the code so that it opens the link in a new window? $(document).ready(function() { $('#video').click(function(event) { event.preventDefault();// prevent default action var clickedel = this; // log click $.get("video-counter.asp?file=video/index.html").always(function(){ // logging done, redirect to file location.href
How to rebind the carousels on the content aspx after a couple of modalpops on the master page?
My carousels that are added by the index_new.aspx.cs works fine until the master's page code-behind issues a couple of modal-popups. When the master's code-behind hides the last modal-popups the jQuery's carousels, on the content page are in their raw ul & li. I'm using jquery, jquery-1.4.2.min.js, on the index_new.aspx but none on the master page. Thank you in advance for your assistance. Here's my code for the Master and the index_new: <body class="bodyBG" onunload="HandleClose();" onload="load();">
Looking for a specific jQuery 'tree' library
Hi, I am relatively new to jQuery. I am looking for a very specific navigation implementation. I am hoping that a jQuery library already exists somewhere that someone could point me to. There is an example on the following msdn page: 'http://msdn.microsoft.com/library/default.aspx'. On clicking on the 'Design Tools' link the user is presented with 4 sub-options. Select one of those sub-options like 'Express Studio 4' and the user is presented with a set of further sub-options, whilst retaining the
query to display digits
Hi Experts, I want read a numeric value and display the value as digital, with each numeric character having a block background image. something like counter like below image ----- ------- ------- l 8 l l 9 l l 8 l l l l l l l ------ ------- ------- the background image should only generate if the number value is increased by 10's or 100's and so on. Thanks,
Sorting more than one column
Hi, i need to sort more than one column for jqgrid. For one column it is working fine but it is not working for more than one column. can anybody help me out.. thanks in advance. Premchand
Installing a jQuery Comment Section on a Website...
Hi... I'm trying to install a comment section on my website using jQuery. I believe that I have most of it done, except for the enable script. Not sure about this, what its for or where to place this script in order that my comment section works. I have all the info needed to post here to get help, but first, is this the right place to start? If not, please direct me to the correct forum in order that I could obtain the help needed to successfully learn, install and run a jQuery Comment section
Help needed! Simple jQuery script not working
Hi there, I included a script on my site <script type="text/javascript" src="/content/static/langselector/langselector.js"></script> The script is there and seems to be loaded. It contains a simple jquery string: $('#lang_arrow').click(function () { $('#lang_list').slideDown('slow', function() { // Animation complete. }); }); All I want to do is to slideDown() the element #lang_list as soon as a user clicks on the element #lang_arrow. But nothing happens if I do so. Here is the markup: <div class="lang_selector">
who can help me about the table in zhe mobile app?
i new a table in dreamweaver,but the width longer than modulator screen,so the screen can't show the outer of the screen,how can i show this; ps:i am chinese,my english is poor,so if you can't understand,you can make a detailed inquiry.i am online thank you!
Problems with validation
Hello, I'm having some problems with validation. I have a specific js file for my validation funcions. But each time I change the name of the form to validate ( and update the form in the validation function of course ) it just stop working. For example: The Function: $(function () { // validate signup form on keyup and submit var validator = $("#signupform").validate({ rules: { firstname: "required", lastname: "required", username: {
One Jquery is fighting with another. I know nothing about java, please help
I purchased a Drupal Theme and have been customizing it. It came with a cool side pullout tab that i customized to allow any block to be placed into it. I also added the Jplayer module and am using that on my product pages to play samples. My Problem: When i am on a page that has the player on it, it breaks the pull tab function and the tab opens and then closes. It wont stay open. Anyone have any suggestions? as i stated, i know nothing about java jquery. Here is a link to my site so you can see
I never used JS, can I learn the jQuery ?
Hello. I want to learn jQuery, but I don't know much about java script. And my question is, should I start with JS or with jQuery ? I read the "how jQuery works" article, and I understood all of the examples, but those were quite simple. I'm afraid that when I will need more complicated functions, I could have problem to write them. So I have a dilemma, and I don't know from which of those I should start.
how to stop a function?
Hi, folks I'm new to jQuery, so maybe it's a simple thing, but I couldn't find how to do it. I have the following code that makes a word to change continuously when the mouse is over that particular word, but I can't stop it when the mouse leaves the same word. Considering that there are several words on my text that triggers the same behavior, things become messy when all words change at the same time. Is there a way to stop the function when the mouse leaves a word? Thanks a lot! var terms = ["WORD
How to update jQuery?
Hi there guys, I'm really new to jQuery and I would like to know how can I update jQuery on a html website (currently on version 1.6.2) a step-by-step guide how be great. Thanks to all
How to change opacity on images in a table on mouseover ?
When i mouseover my table, it happens that the entire table, changes opacity and other animation effects, instead of just 1 image at a time as i was planning. Can you help ? My jquery code: $(document).ready(function () { $('.mosaico img').mouseover(function () { $('.mosaico img').animate({ opacity: 0.25, left: '+=50', height: 'toggle' }, 5000, function () { // Animation complete.
MVC - how to find and get value from public static list<object> created in model
Here is how my code looks like: in model: public class SystemUser { public string Name { get; set; } public string Email { get; set; } } public static List<SystemUser> listSystemUser; public static void CreateListSystemUser() { listSystemUser = new List<SystemUser>(); } public static void FillListSystemUser() { SystemUser firstUser = new SystemUser(); firstUser.Name = "firstName"; firstUser.Email = "firstEmail";
Issues with loading jQuery on the iPhone
New to jQuery, but have some light familiarity with javascript and basic web design. I am trying to build a web app for personal use, sort of a party gimmick. I built it with the code below and it works like a charm in Chrome while testing it out with my computer, but upon transferring it to the phone with DiskAid and loading it into Safari using :file//, it breaks. The CSS formatting is completely gone, and I am left with the top button (which does not play the sound on the phone), an outline of
Removing a particular module
Hi there, Can anyone tell me how to remove attending module from the site? Below is the screenshot and and here is the live site. Best Wishes
javascript doesn't execute on div loaded with ajax ! hlp plz !
I have a page being generated with PHP, it includes a DIV who's content gets swapped with ajax. the new content contains the following function call PHP echo'd inside the parent DIV. In this div I have two slider on the homepage.(index) The sliders works when the content of the page is loaded directly, but not when it's been swapped there with ajax, while jquery scripts are already stored in the "head". What I'm trying to do is load an external html file and have the Javascript that is embedded execute.
jquery product builder
I'm trying to figure out how to build this interface using jQuery. I originally did it in Flash.http://www.allprocustomtrailers.com/ It allows the customer to customize the trailer to thier needs and proceed to another page to view the list than email it to the sales force. I've been searching online for hours for the last 2 days on just how to get started on this. I don't want to reinvent the wheel if there is already a base available to build off of in HTML5 that would be great. My jQuery skills
getting the value of a string
I have this code (which works) and my question is... is there a way to get the length's value in 1 line and maybe shorten this code? var thisURL = window.location.href; var getLastSplit = thisURL.split('&').length-1; var lastValue = thisURL.split('&')[getLastSplit]; if(lastValue == 'callManager') { $('#CallManager').trigger('click'); }
Download instructions
When I click the 'Download jQuery' button i get a page that starts like this: /*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function
How to truncate the text in the options of select tag by adding ellipsis in the text?
Hello, I am trying to truncate the text which is longer for the select tag. Can anyone help on this issue? my select tag is <select> <option>ABCDEFGHIJKLMN</option> <option>AAAAAAAAAAAAAAAAAAAAAAAAAA</option> <option>AAAAAAAAAAAAAAAAAAAAAAAAAA</option> <option>AAAAAAAAAAAAAAAAAAAAAAAAAA</option> <option>AAAAAAAAAAAAAAAAAAAAAAAAAA</option> <option>BBBBBBBBBBBBBBBBBBBBBBBBBB</option> </select> width of my select tag is 180px; the text is not fitting in the dropdown when I select, I want to truncate
Help mixing JQuery & Mootools
I am working on a simple image gallery with a vertical filmstrip, it works fine without the jquery added, but when I added the gallery to the template (artisteer) which uses jquery, everything seems to load, but I cannot seem to get the images to swap out. any help would be appreciated. (JS is my weakness) I do a lot with php... link to view what is currently in place: http://www.tssairsoft.com/index.php?catagory=1&item=17 thankyou in advance for any / all help / suggestions. ScriptinPHP
Create vertical menu with jQuery to show some of submenus
Hi, I'm trying to create a vertical menu using jQuery, my menu has too much submenus. I want to show only three submenus at a time, when I point at the last item, submenu moves down and next one appear. now because I have to show only three submenu, the first item must be hidden. some thing like this, happen for first item in showed sub menus. when the sub menus move up, the last item must be hidden. I'm really get confused. I'm still new to jQuery so any suggestions will be greatly appreciated.
effect mouseMove
hello, wanted to make an effect that hover at a certain position of an image and displayed other images, the effect I want to do is here: www.dafiti.com.br If anyone has an idea how to do, could you help me?
Need help with JQuery..
I can't seems to open/run my jquery file for 3 days now and keeps me wondering what sort of my problem is. Just last week i can hover, slidetoggle, and other effects with the page i created. I presumed i'm correct with the code that i had: <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/menu.js"></script> and my code for the menu.js.... $(document).ready(function() { $('.menu').hover(function() { $('.submenu').slideToggle(); });
FREDHQ roundabout problem
We used this in class http://fredhq.com/projects/roundabout/ and I'd like to put it on a webpage but for some reason the tilt and controls in the .js file are not working. index file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Kaiusagi Rabbitry</title> <head> <style type="text/css"> html, body {height:100%; margin:0; padding:0;} #page-background {position:fixed;
JQuery problem.
Hi i am facing a problem in jQuery pages. in my projects for the module all attribuyes of different pages are centralized at one place( attribute.tag file) the alignment is coming proper in main page, but when i am trying to open from another place (another module) to the same page the alignment is not coming properly. anybody please help me.... thanks in advance.. Premchand Singh.
Dynamic content get lost on page refresh
Hi, i have the following demo code , <?php if (!isset($_SESSION[$column['userid']])){ $_SESSION[$column['userid']]='offline' ; * code for fectch data from the database for this user id ?> <script> $(".Offline").append('<li class="<?php echo $column['userid'];?>"><a href="#page">foo</a></li>'); $(".Offline").listview('refresh'); </script> <?php } ?> When i refresh the page , the dynamic content
Help a newbie.
Hi all, I am new to jQuery. I have an UL in my navigation menu (see below). When I click on any one of the list item LI say "jQuery Plugin", I want to capture and display this link and also its parent link like this in my $('li').click(function(). What is the selectors to use? Thanks. This is what I want to show: Maintenance -> jQuery Plugin This is my UL navigation menu: <ul id="jsddm"> <li><a href="#">Maintenance</a> <ul> <li><a href="#">Drop Down Menu</a></li>
Next Page