2,530 Topics
| |
Hello everybody i have download loaded the popup of jquery and its working but i have added html button in it and i want to close the popup when user click on it .... kindly reply me i shall be very thankful to you | |
I have this code for overlay [CODE] <script> $(document).ready(function() { var triggers = $(".modalInput").overlay({ // some mask tweaks suitable for modal dialogs mask: { color: '#ebecff', loadSpeed: 500, opacity: 0.8 }, closeOnClick: false }); var buttons = $("#btn1").click(function(e) { // get user input var yes = buttons.index(this) === 0; // … | |
Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A … | |
[CODE]function moveScroll(){ try { var $j = jQuery.noConflict(); var scroll = $j("#applicationBody").scrollTop(); var anchor_top = $j("#searchResults").offset().top; var anchor_bottom = $j("#bottom_anchor").offset().top; alert(anchor_bottom); if (scroll>anchor_top && scroll<anchor_bottom) { clone_table = $j("#clone"); if(clone_table.length == 0){ clone_table = $j("#searchResults").clone(); clone_table.attr('id', 'clone'); clone_table.css({position:'fixed', 'pointer-events': 'none', top:0}); clone_table.width($j("#searchResults").width()); $j("#searchResultsList").append(clone_table); $j("#clone").css({visibility:'hidden'}); $j("#clone thead").css({visibility:'visible'}); } } else { … | |
Hi guys, Why my code below doesn't work? How to make them work together on one page? [CODE] // THIS CODE IS FOR DATE PICKER <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker({dateFormat: 'yy-mm-dd 00:00:00'}); }); </script> // THIS CODE IS FOR VALIDATOR <link rel="stylesheet" … | |
Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] … | |
hi guys i have a problem i am searching for it but couldnt find that code right.can any one fix it.i want to change my text field colour to red while it is left empty or doesnt specify the condition applied on this...here is my code below [CODE] <!doctype html> … | |
Hi All, As the title says. Have been looking for solution these past 2 days, Salary Record are pulled from database (MySql) in to PHP table (do/while loop). - Name , Salary , OvertimePay , Subtotal , MedicalDeduct , UnionFeeDeduct , Tax , Grand Total - Peter , 1300 , … | |
Hi, I know for calling jquery function requires some event. But in my project I want to call function of jquery onchange event but that value changing through coding and whenever that value changed jquery function should be called. That means upto particular condition value will be changed of textbox … | |
I have a php function that list all of the countries from my database as a select option, then based on what the user selects for their country im using jquery to make an ajax call and get all of the states/regions for that country. This part works fine. I'm … | |
i have a little problem with jquery...for example i have five A anchor tags everyone with an ID (<a id="a1">, <a id="a2"> etc). when i click on one of them i want to appear a dialog box (with jquery-ui) containing an image. but the following code doesn't work, when i … | |
I have implemented a tooltip on my navigational links (after clicking on the 2006 Volvo 780). Found here: http://www.lonemountaintruck.com/partners/index2.php I am pulling the "detailed" view of the truck into the div from a php file(loadtrucks.php). The "Next Rig" link is the link that is causing the tooltip to stay open … | |
Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) … | |
Hello Guys, I need your help, I want to draw growing circles like a darts board and like attached picture using jQuery (I prefer) or another javascript library. Regards, [IMG]http://ayyash.info/Circles.jpg[/IMG] | |
Hi how to render a div next to href link, we are using JQuery. Below is code attached where when clicked the div gets rendered just below the tab of browsers, I want to render next to that of href link as there will be lot of href links in … | |
Hello! I'm having problem with getting the checkbox state of a selected row inside table. I don't know if there is any specific function to determinate which row is selected so I've thought of the following... when the row is selected, style(background color) is applied to the tr element, so … | |
| Hi everyone. I am having trouble with a jQuery comment system. Here is the code. [code] <?php $page = 'View Support Ticket'; include 'header.php'; $view_hash = clean($_GET['view_hash']); $ticket_query = sprintf("SELECT * FROM support WHERE view_hash='%s'", $view_hash); $ticket_query = mysql_query($ticket_query); $ticket = mysql_fetch_assoc($ticket_query); $ticket_num = mysql_num_rows($ticket_query); ?> <!-- start #page --> … |
I am working on a local server on adding a media uploadbox to a Wordpress plugin Datafeedr Randam adds for a few days now and the code I have come up with so far is here [url]http://wordpress.pastebin.com/xF0xs9mL[/url] . Code added to load needed scripts starts at line 101 and media … | |
Does anyone know if JQuery can be used to produce a slideshow like the one here... [URL="http://www.scottishweddingphotographer.com"]www.scottishweddingphotographer.com[/URL] Or is there a ready made script out there that does it already. Basically I need a row of thumbnails which when clicked reveal a scrolling slideshow. Thanks in advance | |
So I'm trying to access the .css('height') of an element and it keeps returning 0px regardless of what it's height is. I've put a couple alerts to see what it gets in the $(document).ready() function so it should be accessible by then. The height property is being set in the … | |
Hello, I'm going to make a portfolio and am trying to use jquery for effects. Basically I have several menus and when I click on any of them the showed text in content div of page should change, using ajax. These are levels: a) SlideUp the #Content div b) Change … | |
Hi wondered if someone could help me i am having the same kind of issue: if you go here: [url="http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1"]http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1[/url] and your see the Select Drop Down called: Fonts, well if you choose say Airstrip or Arial the image should change but the problem i am having is. It works … | |
Hey all Allright so here's what I'm trying to do. I'm trying to create about 6 pages into one page. They way that I want it to work is that I will have a navigation bar at the top which when one of the menu items when clicked will direct … | |
I have the following code working just fine, however I cannot get the .show('slow') on the "myDiv" content to "slow" down when displaying. Actually I can remove the .show('slow') all together and everything still works just fine. It is as if it is ignoring the .show() completely on that line. … | |
What am i doing wrong? [CODE]function error_msg(code) { if (code=="pass") { alert(code); //pops/works $('#error').addClass("notification fail").fadeIn(); //does nothing $('#error').html('<strong>Incorrect Password</strong><span style="color:black"> - Please try again.</span>');//does nothing } }[/CODE] Any help will be appriciated :-) | |
The case scenario is like I have to check all available usernames/names from the databases whenever I type the letters instanly. For example:- When type "je" in the userfield, it should show all combination of names starting with "je" inline. I am attaching a picture as sample. Its indian railway … | |
hi, please help me to do this. i want to display one panel on top space. and i want one button on that panel to close itself. please help me. thanks in advance Jack | |
I am using jQuery Dialog to show dialogs when preforming insert, delete and update operations in a GridView inside an UpdatePanel. The problem is that there is a repetition when preforming more than one operation. For example, when updating a record on the page for the first time, it only … | |
Hey all I have an issue with building a list of images. Below is the structure i would like to build. basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will … | |
I'm trying to SELECT * FROM table WHERE gender='whatever they clicked on'; WITHOUT refreshing the page. I am showing the gender table and then after the click a gender, I hide that table and then show the next, etc. It's working fine, but whenever I start using the AJAX to … |
The End.