[jQuery] Fadein png black border IE 8 / 7..
Does anybody know a fix for this... if i fadein an element with transparent png as bg, there is a big ugly black border around it. How to remove it 0_o
[jQuery] Autoreload in thickbox
I have the page which is displayed in thickbox js, Once the values are entered it should automatically update in the parent window without refreshing the page. I tried with this line of code parent.top.tb_remove() parent.location.reload(1) But this is refreshing. I dont the page to get refresh as soon as I close the thichbox window. Can any one assist on this
[jQuery] autocomplete stop providing entries when typing
Hi, I'm trying to use jQuery and the autocomplete plugin for the first time in a web application, so maybe I've made a gross mistake in using it. I tried to start with a plain copy and paste of the example provided implementing my own service for retrieving the data. The behavior I'm having, that is different from the one of the example, is that after I digited 4 characters, the autocomplete box just disappear, or better, it is there but without any alement inside (and I am sure that the list has
[jQuery] autocomplete
Hi, I'm trying to use jQuery and the autocomplete plugin for the first time in a web application, so maybe I've made a gross mistake in using it. I tried to start with a plain copy and paste of the example provided implementing my own service for retrieving the data. The behavior I'm having, that is different from the one of the example, is that after I digited 4 characters, the autocomplete box just disappear, or better, it is there but without any alement inside (and I am sure that the list has
[jQuery] Superfish - permanently display drop-down
the superfish dropdown menu is almost perfect for some work i'm doing. however, on some pages i need the dropdown content from the relevant menu item to be on display. i'm competent enough to simply change the hover state in css for a javascript disabled menu to work, but would appreciate some help adapting the full superfish version to do so. is it possible to tweak the code to do this on certain pages? thanks in advance, Alex.
[jQuery] Infinite Recall Over a Fixed Interval
QUESTION: How do I get a function to repeat itself an unspecified number of times? BACKGROUND: I have created a digital clock with which I very satisfied except for one shortcoming: it displays only once and stops ticking. The only way to keep track of the time is to refresh the page. I have introduced the setInterval( ) function in a variety of ways to compel JSClock() to repeat itself, but to no avail. SOURCE CODE: (function($) { $.fn.JSClock = function() { var today=new
Basic Jquery question
Hi I'm just fiddling with Jquery, admittedly my Javascript's not great, and I just have a couple of tweaks I'm struggling to make. See this test page: http://ubtemp.110mb.com/simple-slide-panel.html There are two things I want to do: 1. When hovering over the blue panel, I want the red panel to come from the bottom up rather than the top down. 2. When moving the mouse away from either panel, I want the animation to return to its normal state (blue panel) Any ideas what code I need too change / add?
browser trouble with jquery?
I was testing out jQuery today for the first time and I was happy with the easy results. I created a file with a few test examples and it worked fine in Opera, which is what I was using while I developed it. The idea of other browsers hadn't struck me but when it did I found that the file failed in IE and Firefox, none of the operations worked. The source is yours to observe, am I doing something wrong? http://nateben.com/jQuery/testing_num1.html
[jQuery] [validate] jQuery validation question: validating multiple email inputs
Hi there, I am using the Validation plugin to validate a form that emails the current pages URL to the recipients entered in to the "email to" field. I want to validate that field for multiple emails addressed separated by commas...and ideas on how to do this? I'm a bit new to jQuery so I am a little confused how to approach this. I was thinking somehow altering the email function so that is parses the input and does a for each on every email address. Is this correct thinking? Is there an easier
Dynamic added/executed script
Hi! Using ajax and jquery I'm calling a function on the server code that returns a javascript script that I need to assign to a div and get executed automatically when assigned. So far I couldn't do that, seems that the assigned script to the innerHTML of the div can'r be executed dynamically. Basically I'd like something like assign an alert('hello world') to the innerHTML and automatically see the pop up with the message. Is this possible? I'm really stucke with this ((( Thanks! Claudio
[jQuery] cycle plugin - tabs for pager thumbnails
I want to add a tabs to the pager thumbnails of a cycle plugin slideshow Each slideshow gets content from an imagefolder. Some of these folders have 5 images, others have 15 or maybe 50 images. It would take to much space to show all the thumbnails of the individual slides if a folder has more the e.g. 10 images. How can I make tabs for the pager thumbnails so that each tab has a maximum of e.g 10 pager-item. Via the tabs you would go to the other tab pages. Next step automatically goto next/previous
[jQuery] clueTip access to xhr
I am successfully using clueTip to make ajax requests that return either xml or json and populate the tooltips. It is working great. However, I am trying to make my code more sophisticated to handle exceptions and I need access to the xhr to do that properly. I have been unable to find a way to get access to the xhr using clueTip, especially in the ajaxProcess function. Is there a way to do this? Here is what I am trying to do: ajaxProcess: function(xhr, data) { return checkResponse(xhr.status, data);
[jQuery] Autocomplete Question
Is there's a way to link each seach result value in the localdata.js to another page so that when i search for something and click it, it goes to another page? Thanks
[jQuery] [autocomplete] Problem with .result
Hi. I have two fileds. For exmple: $("#name").autocomplete('seatch.php'); $("#id").result(function(event, data, formatted) { if (data) { $("#id").val(data[1]); } If i select sometfing in autocomplete field, my id field will have id of this item. After submit I have two fields - one wieth name, and one with id. I can for example update dabase use id. But if I write in autocomplete somethig, which isn't in result, my function isn't triggered. If i edit existing data, after submit I have field "id"
[jQuery] Cross-domain request - getJSON
I've got a ajax request that I'm trying to modify so that it will work cross domain. I'm calling this from another domain (localhost to be precise). $.post("http://www.energyjustice.net/map/server-test/webservice/ searchserver-new.php?"+str, { giAjax: "1", gsSearchtype: "nationalmap" }, function (data) { //it does stuff with the data } ); Now I know that I should be using $.getJSON, but I haven't been able to get it to work. I'm guessing I need to do something like: $.getJSON("http://www.energyjustice.net/map/server-test/webservice/
[jQuery] Protect page which loaded by $.ajax
For example I have a page: http://mysite.com/content/index.php. On this page I use $.ajax: $.ajax({ type: "GET", data: "data=123456", dataType: 'html', url: "temp.php", error: function(msg) {...}, success: function(msg) {...}, complete: function() {...} }); where temp.php - http://mysite.com/content/temp.php. On temp.php I use requests for DB with param from $.ajax - data=123456. How I can protect page temp.php? For example, somebody typing http://mysite.com/content/temp.php?data=123456 and then
[jQuery] Tip: Setting textarea value in IE7
With jQuery 1.3.2, if I use: $("textarea").val("foo"); to set the value of the textarea tag to foo, then IE7 sometimes fails to render the page, showing a blank white page instead. Even worse, it will render the page if you resize the IE7 window. The fix is to use: $("textarea").text("foo"); Note that this problem seems to be limited to IE7 - I don't have this problem in IE6 or IE8, or with other browsers. Hope this is helpful. Cheers, Greg.
[jQuery] Superfish question
I am trying to redesign my site with Joomla and I love the Superfish menus. The one problem I have with the top menu is on each end the Joomla menu sticks out. Is there a way to fix this? Here is the site page I am working on: http://theredzone.org/joomla/ Thanks for any help you can give in advance.
[jQuery] js query and wordpress. Cluetip stops working
Goodmorning I installed wordpress on my website and now my cleutip stops working. HEEEELP! Did I do anything wrong? I installed Lightbox 2 and All in One SEO Pack in wordpress. Deactivated them but stil no cleutip. My site is on <a href="http://www.moof.be">www.moof.be</a> It worked perfect before wordpress.... Really need help... thanxs
[jQuery] Bug with Pause/Resume
The timeout value if you pause/resume too fast seems to be lost, or the plugin abandons some timers that increase the speed at which it updates. An example, if you hover of this too fast: <html> <head> <title>Test JQuery Cycle Plugin</title> </head> <body> <script src="http://jqueryjs.googlecode.com/files/ jquery-1.3.2.min.js" type="text/javascript"></script> <script src="http://malsup.com/jquery/cycle/jquery.cycle.min.js? v2.60" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function()
[jQuery] Carousel: How they do that?
http://www.merixstudio.com/ I like the carousel on the homepage above. I noticed when you drag the slider to the last element the carousel loads the last elements without sliding through the previous elements in the carousel. Does anyone know if this is a custom carousel they made or is there a plugin out there? Thanks in advance. Vincent
[jQuery] jQuery Validation Plugin - rule metadata documentation?
Are the options, usage and limitations for the jQuery Validation rules using metadata in markup, e.g., class="required date", documented anywhere? There is http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods, but that is for setting up rules in the JS.
[jQuery] Get specific content (from div, p) from $.ajax
How I can get content from remote file by $.ajax? For example I have some file temp.php: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test file</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body> <? $id = isset($_GET["ID"]) ? $_GET["ID"] : ""; $number = isset($_GET["NUMBER"]) ? $_GET["NUMBER"] : ""; echo " <b>id =</b>" . $id . ""; echo " number = " . $number . ""; ?> <div id="header"> Some text in div header - <?=$id?></div>
[jQuery] jQuery TextboxList
I would like to announce the release of TextboxList for jQuery. http://devthought.com/projects/jquery/textboxlist/ Please do not hesitate to test it out and provide feedback and constructive criticism. Guillermo Rauch http://devthought.com
[jQuery] selecting class under a parent class
Need help selecting the class "details" under a parent class "two" when class "trigger" is clicked. $().ready(function(){ $('.trigger").click(function(event){ var thisItem = $(this).parent(); // set thisItem to .two $(thisItem).$('.details').slideToggle(); // toggle .details in .two }) }) <div class="one"> <div class="two"><span class="trigger">trigger</span> <div class="details">some stuff</div> </div> </div> <div class="one"> <div class="two"><span class="trigger">trigger</span> <div class="details">some
[jQuery] synchronous ajax call being ran out of order in IE
I have an ajax call that I want to display an ajax loader image before it makes the call and then hide that image after it completes the call. The below code is working fine in FF. But when the code is run in IE, for some reason the ajax call is made first and then the image isn't displayed until after the ajax call has completed. I've tried putting the .show() method before the ajax call and even in the beforeSend option of the ajax call, for some reason IE STILL makes the ajax call, and waits for
[jQuery] Bug? Jquery 1.3.2 -> $.ajax + Firefor 3.0.8
The $.ajax function is causing me trouble, I'm using Mozilla Firefox 3.0.8 in a Kubuntu 8.10 computer, with php PHP/5.2.6-2ubuntu4.2 and web server Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin- Patch and jQuery version 1.3.2. If I use dataTipe: 'json' and type:'post' with $-ajax, jQuery seems to send something but, php does not recieve a thing. But when I use 'text', it recieves data. Specifically what im sending is (in this case, just to try). <form id="xx"> <input type="text" name="hola[alfa]"
[jQuery] Can't reproduce modal behavior - how to prevent clicks?
I'm trying to prevent any mouse clicks on my page (if only for a short time), and I have this working on a very simple test page, but within my application (that has a very large DOM footprint) nothing is working. function noop(){ return false; } jQuery( document ).bind( 'click mousedown mouseup', noop ); I am running this code well after the DOM is loaded. I've tried binding to document, document.body, "*", and window. I am not dealing with any frames. I've also tried unbinding any click/mousedown
[jQuery] [Tooltip] Fairly Large 'Fade' Bug
The bug: when fade is utilized, tooltips inherit the colors (and perhaps other attributes) of nearby tooltips that were just switched off of. To reproduce: create 2 tooltips, each with different title (h3) colors set. Place the objects nearby in the page so that you can quickly move your cursor between them. Now set fade to 500ms or more, to give yourself time to move between the two tooltips before either of them fades. The first tooltip should inherit the color scheme of the second. Your tooltip
need help making multiple draggable items!
I have a bunch of images that I want to make draggable. Even though I add the draggable id to all the items, only one is draggable.! How can I fix this?
[jQuery] Passing info from Modal Window to a specific div or accordion (jqModal ?)
Hello I need to implement a functionality where based on certain selection, I have to present a form, and collect that data and pass it to the caller div or accordion. (I would place the form within the accordion, but it does not support external file load). The div id dynamically generated as here (http://pssnet.com/~devone/ajqtable/summary3997b.html), so I have to be able to specify where to place the data. I am trying to use JqModal. Is it possible with JqModal. Regards, Nat
[jQuery] A problem setting timeout feature in AJAX.
Hello, I have a jquery HTML page which loads a form. The form has a bunch of settings, but eventually the form gets submitted using a post command (see below) which returns and HTML page which was built by a script running on the server. This works fine, except when the script runs longer than 5 minutes. The post command just returns nothing. I tried using the timeout command in the high level page as follows: $.ajaxSetup({cache: false, timeout: 18000000 }) ; But this does not seem to work. Does
[jQuery] How-to suggestion
I'm building a little UI control with 3 buttons that slide one of three DIVs (corresponding to the UI control button pushed) that reside inside a container DIV. Something like: <a class="button red">Red</a> <a class="button blue">Blue</a> <a class="button green">Green</a> <div class="container"> <div id="red">Red stuff here</div> <div id="blue">Blue stuff here</div> <div id="green">Green stuff here</div> </div> So... The container DIV is, say, 200px wide. Each internal DIV is also 200px wide. So
[jQuery] jQuery and window.open - opens twice?
Hi all, I’ve got a script which will enable an entire div to be clickable, however when I click on the div it opens the URL twice.. Could someone please help me out? (sorry if this is a double post, I don't think my first one went through..?) The code is: $(".rightContent").click(function(){ window.open($(this).find("a").attr("href")); return false; }); And here’s the div: <div class="rightContent"> <h3>Google</h3> <div style="margin-top: 5px;"><a href="http:// www.google.com/">http://www.google.com/</a></div>
[jQuery] Jqgrid, row edit, posting to the server not working
Hello: I am using Jqgrid, and testing how the editing feature work. When the row is clicked, it shows the form to edit. However, entering the info and submitting does not work. http://pssnet.com/~devone/ajqtable/editgrid.html (Also see below) At the php side I am simply trying to get those parameters and write to db. $var1 = $_POST['service_id']; $var2 = $_POST['name']; Any help appreciated. Thanks. Regards, Nat jQuery(document).ready(function(){ var lastsel; jQuery("#list2").jqGrid({ url:'summary3.php?nd='+new
[jQuery] ie6 onclick
hi, however come i can't use .click() in my tpl so i tried using the attr onclick. well it works in firefox and so on but not in ie6. code: $(".header_10").attr("onclick","blub()"); function blub(){ alert('sdasd'); } thanks for any help.
[jQuery] Ready event when loading a page with ajax
Greetings All, I am loading content into a page using the following: $("#someDiv).load("/Some.action",{id: someId}); The document that results from Some.action contains javascript at the top. I want the javascript to be executed when the resulting content is fully ready/loaded. I attempted to use the document ready: <script type="text/javascript"> $(function() { console.log("READY"); }); </script> However the document is already ready since I am loading it into
Alternating bg colors in a list depending on boolean value
Hey all I'm pretty new to this jQuery thing, so please bear with me.... I think this is a logic question: I have a list that looks like this: <ul id="thisList"> <li class="this0">content</li> <li class="this1">content</li> <li class="this1">content</li> <li class="this2">content</li> <li class="this0">content</li> <li class="this1">content</li> <li class="this2">content</li> <li class="this3">content</li> <li class="this0">content</li> <li class="this0">content</li> <li class="this0">content</li>
[jQuery] How to activate a click dynamically on a link and also call another function
I have a link as follows. <a href="march2009.html" onclick="return hs.htmlExpand(this, {contentId: 'highslide-html-1', objectWidth: 600, objectHeight: 510, width: 600})" id="leadershipMsgId" class="highslide whiteul">Message</ a> In jQuery, I would like to automatically invoke a click event on the above link (calls htmlExpand function) based on a condition and also I would like to call another function (showHideLeadershipMsg) after the link is invoked. The following code does not work properly. if(newLdrshipMsg)
[jQuery] flowplayer: how to loop a single movie?
Does anyone know how to loop the playback of a single movie using Flowplayer? ( http://flowplayer.org/ ) I want it to autostart (got that part), play, then repeat endlessly. TIA, Jack
Next Page