'Shake' effect every 5 seconds ?
how would i make the shake effect run every 5 seconds? do not want it clickable, just to start right away with 5 sec intervals of shaking. heres what i have now: <script> $( document ).ready(function() { $( "#toggle" ).effect( "shake" ); }); </script> thanks
Using scrollLeft with percentages instead of pixels.
Is this possible?
what does greater than mean in this function?
what does greater then = ">" mean in this function ? $(function() { $('#tabs').tabs('#tabs_panes > div',{initialIndex:0}); });
One time sliding nav
I have a requirement for a project that I am not sure I have ever seen before but basically I need to have a nav bar across the bottom of the screen on the home page, when the user clicks on a link the nav bar slides up the page locks into place and scrolls the content underneath to the appropriate page ( it's a vertical scrolling site ). The rest of the session it doesn't move. Any idea how I can achieve this or has anyone seen this? Thanks! Sam
How to trigger selected event of combobox ???
Hi All, I have implemented below function for selected index changed... $("#YOJ_TEMPLATENAME1_dropdownlist_YOJ_TEMPLATENAME1").combobox({selected: function(event, ui) I need to trigger this 'Selected' event at the end of my script.. How should i trigger this event...???? I have tried $('#YOJ_TEMPLATENAME1_dropdownlist_YOJ_TEMPLATENAME1').trigger('change'); But its not working....
jquery datepicker not working in popup
1>i have include below code inside <head> section <script> $(function() { $( "#datepicker" ).datepicker({ numberOfMonths: 1, showButtonPanel: true }); }); </script> and 2> <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.8.3.js"></script> <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script> document.getElementById('popupBlow').innerHTML="
hwo to get the container to move up when div slides down
Hi, I'm new to jquery so please bear with me! I'm using the below jquery to make a div slide up and down - basically when you click on an image a div containing text appears below. This works great apart from when the image is near the bottom of the screen it slides the text down but below the fold so you cannot see it without scrolling down. Is there an easy way for when the div slides down for the whole screen/container to move up so the text is always readable on screen without having to scroll?
JQuery JSON data parsing in java for a tabular view?
I want to view an information in tabular on client side. i can retrieve the information from the file. But How I can parse the JSON data into tabular(table ) view in Java? Is there any plugin I should use?
Ajax Jquery file download
i want to download a XML file using jQuery's .ajax() call in that i am specifying action class URL. in action class i am creating one file and writing in that file. but its not working i am getting error in .ajax() function..
Need help for not being so redundat
Hello! So, I'm developing a web page and I wrote a little jQuery but I think it is really redundant. The structure is simple: 3 divs positioned beneath each others. 2 of them begin on display none, so if you click on its menu item, the div will appear and the others disappear (so you can navigate through 3 pages in only one page). There's also an active menu that changes. But I could only do it by repeating a lot of lines and being a lot obvious. <script type="text/javascript"> $(document).ready(function()
Rotate images with ASP .Net/Jquery
Im a little stuck with this task which i thought was simple. I have an ASP .Net form with some JQuery to change the image. At first i thought it was the array of images not being found in my project but now im not so sure what the issue could be. Here is my code: <%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="TempCollection.Site" %>
<!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">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript">
$(document).ready(function () {
// Handler for .ready() called.
var imgs = ['http://i.s-microsoft.com/global/ImageStore/PublishingImages/logos/hp/logo-lg-1x.png',
'http://i.s-microsoft.com/global/ImageStore/PublishingImages/logos/hp/test.jpg'];
var cnt = imgs.length;
setInterval(Slider, 3000);
jQuery Menu Select State Problem
Menu with select state I'm probably missing something obvious, but I can't get the select state to display the assigned text color (#333). And the previously selected item doesn't update it's text color correctly either.
jquery click li
when we click each li it should display corresponding fruit name in an alert.... how to do it without changing the html structure <ul> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li> </ul>
problem with slidetoggle
In this website i try to use a navigation with a pulldown menu. Unfortunately i'm totally new to using js and i have no idea how to solve problems like this. May can you help me with either giving me instructions about how to solve problems generally or/and solving the given problem for me? Thanks <!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"> <head> <meta http-equiv="Content-Type"
General Question about Javascript and PHP
When i normally code a site/app i always store variables in a php file called config and include it in the index and whenever i need the variable i just echo it! Like so $sitename = "SiteName"; <title><?php echo $sitename; ?></title> Is there a similar way of doing this with javascript/jquery ? I know this question might be a little strange but i am curious if any have an easier way or storing site variable and calling them whenever necessary instead of using php?
when i was loggin to the application,the cookies will deleted automatically.
when i was loggin to the application,the cookies will deleted automatically. i need that code how i solved that problem?
ELASTISLIDE for beginner ?
Hi ! I use ELASTISLIDE but I need to know if I can add ONCLICK start YOUTUBE VIDEO in the large image ? by default : if you click on small image that open LARGE IMAGE but if I click on large item for the moment it do nothing :( By the way if you have another JQUERY code for youtube video. Example : I have all image in caroussel autoplayed and when you click on that start youtube video in frame? THANKS IN ADVANCE TO HELP ME. nicK
How to retrieve which link has been pressed?
On my webpage I've got a couple of links (in this example two), when one of the links is pressed the Jquery will notice the click. Now I need to alter my coding so that I can retrieve which of the links has been pressed and pass that information to my php script. Problem is that I don't know how to retrieve which link has been pressed.. I hope someone can help me out with it.. My coding: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
Collision Doesnt work with place_box Active, On Div
Hey guys im trying to wrap my head around some jquery stuff i seem to have found the issue within place_box() affecting my code. Issue is i was my dragable/movable div to stay within the wrapper. but when i enable the Event key_handler() to move the div with WASD i am able to sneak out of the div! Any help would be awesome. Thanks I have attached the example code, Now if Place_box() is commented out it work great on the drag but then the WASD movement keys just dont work! Thanks
Declare multiple var and send to PHP
Im trying to declare multiple var's and then sent them to php, i managed with only one 'var' but not when adding more This below works $(document).ready(function(){ $(".temp").mouseover(function(){ $.post('write.php', 'valTemp=' + $('#temp').val(), function (response) { alert( $('#temp').val()); }); return false; }); });What i want to do is $(".temp").mouseover(function(){ var valTemp = $('#temp').val() var valWind = $('#wind).val() var valSun =
prob
Hi.. I am new to this jquey.. I am starting with very very basic one.. I have two text box between text box i have a button called copy Once i clic on that copy button it should copy the content of textbox1 to another text box one.. solutionl please?
button name change
1) i need a button named Open with upperheaded arrow picture 2) once it get clicked it should show some data below to it 3) as well as the name of the button should get change to Close with downheaded arrow could you please help me out of this to solve this prob...
Popup window
Hello, since I am new to jQuery (just started yesterday) I would like to ask about window popup. I have a list of items, and I would like to make it so that when you put mouse on an element there would be a small window pop up with message delete item... what would be the best way to do that. Thanks in advance for any answers.
Ajax fileupload in IE7 Browser?
Hi, Ajax fileupload in IE7 Browser? when i upload the file using ajax file upload controls am getting the response in new window in IE7 Browser. Can you please suggest me how it can be done? Thanks!!!
License
Hi guys, is it possible to remove the version number but keep everything else in order to satisfy both the licensing and an external security audit which requires version information to be removed? Thanks! O.B
?Question regarding Table to excel
Hey guys, I am new to Jquery and was wondering if anyone can help me out. I have a auto generated table with a function to save it, and download to an excel spreadsheet , My question is... is it possible to save the escel spreadsheet server side and sent it in an email to the user? Here is the current code for the download. <script type='text/javascript'>//<![CDATA[ $(window).load(function(){ $( "#saveExcel" ).click(function() { var stats = $('#stats').html(); window.open('data:application/vnd.ms-excel,'
JQuery Download
When I attempt to download either the development or the production version of the jquery library it opens text in a browser window. I'm assuming this isn't correct any help would be appreciated. Thank you.
Please help I am trying to create this slider.
I have been trying to complete this slide effect in this example http://artistecard.com/JBoog I really like how the boxes slide when you click the links on the top. Does anyone have an idea on how to complete this it will be much appreciated Thank you
identify a jQuery script please
Hi, Please see URI https://www.spoton.com/. Click the forward and back buttons on the home page. I've been wanting to incorporate this type of slight element movement and fading for some time. Is there a script that is a clear frontrunner for doing this easily? Thanks, John
retrieve value
I'm trying to let my Jquery retrieve a form value, for example whatever has been filled in at the textbox named key1. The Jquery coding I have so far only returns "undefined", which is frustrating cause I've been trying to get this fixed for hours. Btw. how come my fadein function doesn't work (when uncommented), this is part of jquery ain't it? <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script> $().ready(function(){ $(".button").click(function()
How to Add number to classname
Hello, i am new for jQuery and i want to know when i use this code: $(function() { $('ul li div').each(function (i) { $(this).addClass("col-" + (i + 1)); }); }); div can add class col-1, col-2, col-3 etc <ul> <li> <div class="col-1">Menu</div> <div class="col-2">Menu</div> <div class="col-3">Menu</div> </li> /* But next li tag div add classname col-4, but i don't want this, i want col-1, col-2, col-3 */
Title under jQuery Smooth Div Scroll
Hello, i have a Smooth Div Scoll slider on my homepage. I want to see the title of the pictures under it. How can i do this. I need some help. Thanks Martin
How can I copy/paste jQuery API examples and retain indentation?
I've found the jQuery API code examples on the site to be very informative. I want to copy and paste so that I can adapt them for my own use. When I past the text into an HTML file, I lose all of the nice indenting displayed in the example on the site--code is all on a single line. Are these examples available somewhere else in text rather than html format? Or maybe there is a web app to do auto indenting? Thanks
How do we remove quotes "" out of a string??
Hello Everyone, I am tired of looking for an answer to remove quotes out of a string. Here is the scenario: var element = document.getElementById("DateTimeField"); var value = element.value; //value is "2012,10,30 10:30:24" did some string operations of split and concatenation and now value = "2012,10,30,10,30,24" which is in the form of "yyyy,mm,dd,hh,mm,ss" var d = Date.UTC(value); gives NAN, bacause of the quotes So i have to remove the quotes, This is what i have tried to remove quotes: value.replace(/['"]/g,'');
How to implement functions with multiple Document.Ready Function...
Hi All, I have written down selected index changed event logic on 1st Document.Ready function and its working fine Now i have requirement in which i need write same logic for other dropdownlist within same page... So my question how can i write selected index changed event in two Document.Ready functions .... OR can i write in single Document.Ready function.. if yes then How...?????? If i giving alert its working perfectly... But selected index changed event is not working...?????
Conflict size accordion menu and tabs
Its my First post on this forum so Hi for everyone ;) I have problem with tabs from UI Jquery and accordion menu from http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm Its looks like this http://imageshack.us/g/1/9890047/ Menu from tabs should by about 40px but it have much more, and when J resize menu from ddrive it's resize Tabs from UI.. Who know how can J fix this ?
Set Default Value to dropdownlist when form is loaded...
Hello All, I am binding data to my dropdownlist (1st dropdownlist) on form load.... and on its selected index changed event changing data in 2nd dropdownlist. However, when form is loaded 2nd dropdownlist is empty, Till the selected index changed event happens... I want to show the data in 2nd dropdownlist when form load is completed based on selected index = 1 ( which will be by default selected for 1st dropdown list) How should i do this ???
Newe user wanting to make a transistion change
I have purchased a web template that uses jquery for a slide show. I started personalizing it and found I would like to change the transition from the horizontal scroll to a fade in / out transition. ' Here is what I have now LINK This is the code that is there now... $('#slide').cycle({ fx: 'scrollHorz', speed: 'slow', timeout: 15000, speed: 1000, prev: '.lister1', next: '.lister2' $('#slide1').cycle({ fx:
Help with drop down jQuery drop down - onclick hyperlink select checkbox and stop drop drown minimize on click
Hi there guys, I'm quite new to jQuery and Java in general, i am using some jQuery as below and have made a drop down list, with check boxes, they check boxes work, however, when i select a check box, the drop down minimizes on click, i don't want it to minimize until i click the close arrow/title like it expands when i click the open arrow/title. Additionally is it possible to make the text have an onclick event to select the check box also, so users dont just have to select the box? As below:
sending and receiving objects in functions
How i can send and receive object in jquery functions. for example i have a function which should receive X and set css of X. X can be any button , object in Html document.
Next Page