[jQuery] Question about the groups
Can I assume the plugins group is dead? If so, why does the JQuery site still point people to it? Tried to post there even though the last post was from February, but it never appeared (going on 48 hours now). My plugin question follows in another thread.
[jQuery] Find parent Form
Hello, i need to find a parent form of an submit button with jquery. The method $('#submit').parent("form") only works when the submit is direct in the form element. But when I surround the submit element with an div it does not work. Sample: This work: <form action="bla"> <input type="submit" id="submit" /> </form> This work not: <form action="bla"> <div> <input type="submit" id="submit" /> </div> </form> How can I find the form element? Best Regards Johannes Geppert ############### http://www.jgeppert.com
newbie questions re php include refresh script
I'm totally new to AJAX/JQuery and am learning on the fly -- thanks to a lot of searching through these forums. I'm looking for some help on my first project. I found and modified a script that would load php into a div and refresh the div without refreshing the whole page: <script> var refreshId = setInterval(function() { $('#refresh').fadeOut("slow").load('script.php').fadeIn("slow"); }, 60000); </script> Frightfully simple, I know. Two questions: (1) I would prefer to have the div changes
[jQuery] [autocomplete] request
Hi, as there is currently a discussion about autocomplete plugin going on i would like to ask if: 1.) is it possible to extend the option:width parameter to width: (number | auto) where auto would set the width of the select box to the width of the input element 2.) extraParams should give the input elemet as parameter $.each(options.extraParams, function(key, param) { extraParams[key] = typeof param == "function" ? param(input) : param; }); instead of extraParams[key] = typeof param
[jQuery] wysiwyg editor without contenteditable?
Is there some plugin that makes div content editable without using contenteditable or designmode attribute ? Any ideas how to make caret to clickingpoint on div ?
Flash showing first when using effects?
Hi, Does anyone know how to fix the following? I'm simply trying to show(), slideDown etc a <div> that contains a flash movie. It all works fine apart from the fact that the flash move shows before the animation finishes? $(document).ready(function(){ $('#demo').hide(); $('#toggleButton').click(function(){ $('#demo').toggle("slow"); }); $('#flash').flash({ src: 'content3.swf' }); }); Any ideas, anyone?
[jQuery] Autocomplete - Holding down key
Hi there I have implemented the very nice autocomplete plugin. Had to fight a couple of hours though because the thing just wouldn't show anything when I used an external data source. Finally I found out by placing some alert boxes around in the jQuery code that my page for some reason returned a 405 error. Sigh! Anyway - Isn't it possible to make the autocompletion plugin support at key being held down? Right now I have to release and push the down arrow to move the cursor which is kind of impractical.
[jQuery] Stopping Multiple Clicks Triggering Animation
Hi all, I have built the following switcher using jQuery: http://pmck.net/jq-switcher/ It all works fine except for one small problem. If you click quickly on a few tabs, sometimes more than one of the tabs will show. The code for handling the click event is as follows: $('#tab-list li a').click( function() { var targetTab = $(this).attr('href'); if ($(targetTab).is(':hidden')) { $('#tab-list li').removeClass('selected'); var targetTabLink = $(this).parents('li').eq(0);
[jQuery] Multiple Custom Handles using Jquery UI Slider
Hey there, I was wondering if any of you guys could help me out. I'm using the Slider for Jquery UI and am having some difficulty setting a custom style for more than one handle. <script type="text/javascript"> $(function() { $("#slider").slider({ values: [2, 15] }).addClass("handle"); }); </script> the css .handle .ui-slider-handle{width:30px; height:30px; background:url(../ _images/deactivate_off.jpg) no-repeat; overflow: hidden; position: absolute; top: -10px; } and just <div id="slider"></div>
using the :not selecter
Hi. I am using the jFade plugin for hover effects on links. However I dont want to apply the effect to links that are currently active. So I am trying to exclude the active links like this: /* First I get the the value of the active link */ var pathName = window.location.pathname.substr(1) /* Then I use the :not selector to exclude all active links */ $("a:not(a[href='pathName'])").jFade({ /* Then jFade creates the hover effect.
[jQuery] Hide elements cleanly, not appear then disappear
hey, i want to hide some elements on my site, but don't want to make these inaccessible for users without javascript enabled. Some users are complaining about being able to see that element for a split second before the page has finished loading and the element is hidden. Is there a way in which I can hide the elements right from the start, without using css to hide it completely?
[jQuery] no pattern xml parsing - help!
Hi, firstly thanks indeed. I am triying to make a parsing of a xml, but this xml can be dynamic on the content, i mean: <piece> <block> <title> 01</title> <subtitle> s01</subtitle> <description>descp 01</description> </block> <block> <description>xxxxxxxxxxx</description> <description>yyyyyyyy</description> <subtitle> s02</subtitle> </block> <block> <subtitle> eeeee</subtitle> <subtitle> eewqq</subtitle> <title> eqewqewq</title> </block> </piece> So ok, i do $("block", _P.data).each(function(i) to
[jQuery] Horizontally scroll a table
Hello all, Is there a plugin somewhere that will allow a table to horizontally scroll within a set width? I could swear I saw this once but can't find it now. Basically I'm looking for an Excel-like setup. I have a div that's 990px wide and need to constrain a table within that to keep from going off and having the whole thing scroll horizontally. Bonus points for freezing one or more columns on the left. Has anyone seen this or could anyone provide me with some pointers on getting it done myself?
stoping an animation
Hi all, I am using the following code to animate a list $("#subCategoryNav ul").animate({"left": "+=50px"}, "fast"); I would like the animation to stop when the value of 'left' eq 500px. Can this be done in jquery? Thanks
[jQuery] cloning ajax
Hi jQuery,<div> </div><div>when I clone a div that contains input fields with ajax then the cloned version will not</div><div>do any ajaxing? is this normal?</div><div> </div><div>btw: I do use clone( true )</div><div> </div><div>regards,</div><div>Peter<br clear="all"> -- Power Tumbling - <a href="http://www.powertumbling.dk">http://www.powertumbling.dk</a> OSG-Help - <a href="http://osghelp.com">http://osghelp.com</a> </div>
Function data breaking charset
Hi all, This: $.post("search.php", { clientID: thisChannel.tblClient_id, channelID: thisChannel.tblChannel_Id, wordsToSearch: wordsSearchedfor }, function(data){ alert("data: " + data); }); Passes variables to search.php and search.php returns data. Everything right until here. The problem: When I pass the variables manually to the php file the information comes out great. But when I use $.post data returns odd characters. These odd characters are the ones that a web page shows when
[jQuery] jquery sifr plugin works not in Firefox 2.0
I have set a website up using the jquery sifr plugin. In all new browsers(IE7,8, FF3, Opera and Safari 3,4) is works fine! Even in IE6 - where the plugin doesn't work, it's simple not recognized and the normal text is shown. Only in FF2, no text at all is shown. Here is my code: <h2>headline</h2> $('h2').sifr({ path: '/' , color: '#C3FF4F', save: true, font: 'euphemia' }); Is there any trick to get it working in FF2? On request I can post you the link on the web
[jQuery] isXMLDoc identical with Sizzle's isXML
Hi, just wanted to mention, that jQuery.extend.isXMLDoc (jQuery 1.3.2 line #640) is essentially identical with Sizzle's isXML (jQuery 1.3.2 line #2338). Perhaps they should be joined in a way, that is, jQuery should use Sizzle's? Cheers, Manuel
How to call jquery autocomplete inside boxy ?
I used jquery autocomplete to search friend in textbox .If I do it alone it is ok But when I make it inside boxy It can't work .Anybody can help ?
How to get a certain part of an URL
Hi. I have a little problem and I hope that you can help. I need to get the path of the URL except for the first slash "/". Now if I use window.location.pathname I get an output like this: /about/about/9081ae1b02/ That is almost right but I need to get rid of the first slash (marked in red) so I get: about/about/9081ae1b02/ Any suggestions on how to achieve that? Thanks.
Select a link by current URL
Hi. I am quite new to jquery and I wonder if I can do this: I have an advanced menu. I want to give the link in the menu that is currently active a different styling than the other links. One way to do this would be to select the link by saying: Get current URL. Now select all links in the menu that contains this URL. Is this possible? And how? Or is there an even easier way? Thanks for helping. /Kjemmo
Need some help with some jQuery effects
On my site here, I am using the coda slider effect I found here here. And on the tab entitled "Home Groups", there is a link "Home Group 1", which links to a fancy zoom box that I got from here here. But when I click on the fancy zoom text it scrolls the container a little to the right, and on some older browsers it returns to the original first container that loaded from the start. Any idea where the effects are conflicting? or what code I would have to amend to make it work more fluidly? Any help
[jQuery] Using jquery with iframe, specially for highlighting text in iframe
Hi all. Can we use jquery in pages that use iframes? I am having problem with jquery highlighter and iframe. The highlighter works with other texts in a page. But texts in the iframe are not highlighted. Suggestions, guidelines or links to tips, tricks and tutorials, please. Thank you.
[jQuery] A bit of help with some jQuery effects
On my site here (http://rightcross.net/coda/mosaic.html), I am using the coda slider effect I found here (http://jqueryfordesigners.com/ coda-slider-effect/). And on the tab entitled "Home Groups", there is a link "Home Group 1", which links to a fancy zoom box that I got from here (http://orderedlist.com/demos/fancy-zoom-jquery/). But when I click on the fancy zoom text it scrolls the container a little to the right, and on some older browsers it returns to the original first container that loaded
[jQuery] yii
how to set selected option of an activeDropDownList into an activeTextField
[jQuery] How to dynamically size an <li>?
What I Have: I have a bunch of inline blocks next to each other like such: _[A]_[B]_[C] _[D]_ Key: _ = margin [letter] = box element, <li> in my case Question: How do I make it so that the margins on the left and right side of my <li>'s determine the <li>'s width? So, in other words, I am looking for each box element to have a uniform width (so A, B, C, D will all have the same width value), but I would like the margins to in fact determine this value...? Basically, I suppose I am more or less setting
[jQuery] How to test/filter for all divs being hidden ?
Hello I am a beginner to jquery/javascript and I am trying to use a script I saw online to replace the content of a div. However I would like to have the script start with none of the target content showing. So far it starts correctly however I am not sure how to test/filter for ALL the divs in #content being hidden which would be the begging state of the page. Here is a link to what it is doing now. http://noworriestech.com/jquery/indext2.html Here is the code <script type="text/javascript"> $(function(){
jQuery validate
Hi all Have you noticed that jQuery validate plugin shows the custom error label by setting the css from display: none to display: inline? Can I change it so that the plugin sets the css to display: block instead of display: inline? I need to do this because the display: inline breaks up my form layout Thank you
[jQuery] json function how to pass more than 2 variables to php...HELP
var sd=jQuery.noConflict(); sd.getJSON("/include/employer/template/edit.php?action=eeeet", {plac:<?php echo $finaladdress ?>,gp:fpoint,job_id:<?php echo $job_id ?
[jQuery] json function to parse value to php...HELP
var sd=jQuery.noConflict(); sd.getJSON("/include/employer/template/edit.php?action=eeeet", {finaladdress:<?php echo $finaladdress ?>,gp:fpoint,job_id:<?php echo $job_id ?>}, function(json) { // q.post("/include/employer/template/tryinp.php?geocode=finalpoint", function(xml) { //alert(xml); var gphp=json.status; alert(gphp); },"json"); is it correct??but firebug return error "glasgow(the $finaladdress value) is not define) T.T help....
[jQuery] jQuery BlockUI Plugin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD> <BODY> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=795084202-18062009>I am tryingto get this to work but no go.</SPAN></FONT></DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=795084202-18062009></SPAN></FONT> </DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=795084202-18062009>I
[jQuery] Cluetip - Fixed position using dimensions of parent element NOT calling element
Hi all. I am using cluetip successfully on a multiple-tip, dynamic site to show a preview of a customer testimonial with a link inside the tip to go to the full testimonial. The cluetip is attached to the A tag surrounding the icon (of the customer's company logo). All testimonials are inside a single div. I am using positionBy: Fixed as I need to control the position of the tip so that it appears in the same place relative to each icon. However, all 6 tooltips are appearing in the same place - Cluetip
[jQuery] [validate] custom error label show and hide
Hi all... I have created a form that consist of radio buttons group, and used jQuery validate to check the input. But I came across this error label that I want to modify the way it showed to the user U must all know that jQuery validate plugin show the custom error label by changing the css display:none to display:inline But in my layout the display inline breaks the form, so I need the display to be block or inline-block Is there any way to also custom the way jQuery validate plugin shows this
[jQuery] How to display submenu items in Superfish menu?
Hello... this is a very basic question, but I don't know how to enter a Joomla menu so that it has a hierarchy feasible to be shown using super fish menu module. Any help will be greatly appreciated, Thanks Jaime
[jQuery] Newbie dumb question
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD> <BODY> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=968461900-18062009>Ok i am submitting a form with the jquery.formplugin by malsup</SPAN></FONT></DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN class=968461900-18062009></SPAN></FONT> </DIV> <DIV><FONT size=2 face="Trebuchet MS"><SPAN
[jQuery] Blocking for javascript include
I'm writing a snippet of code to be put on any third party website and have NO idea what environment it will be dropped into. My end goal is for the badge to be <script src="http://example.com/js/badge.js"></script> I would like to use jQuery in my badge code to make my life easier, but I don't want to require another include on the client side (getting anything updated on the client is a pain). This is the best I could come up with. I don't want anything before or after my script to be affected
[jQuery] using tabs in form fieldset
Hi, I was wondering if any of you would suggest me how to use the tabs in the following page in a form: http://refinethetaste.com/html/cp/?Section=orders&Process=AddOrder I use jQuery.Tools tabs in all other pages but I never used it in a form before. <script> // perform JavaScript after the document is scriptable. $(function() { $(".formtabs").tabs(".formpanes > div"); }); </script> <fieldset class="width100"> <h2>Customer Information</h2> <!-- the tabs --> <ul class="formtabs"> <li><a href="#first">New
[jQuery] First Parent Siblings
I have several following html code: <h3><a class="classa"></a></h3><div class="classdiv></div> <h3><a class="classa"></a></h3><div class="classdiv></div> <h3><a class="classa"></a></h3><div class="classdiv></div> etc I would like toggle div.classdiv when a.classa is clicked I tried $(this).parent('h3').siblings('div.classdiv').toggle(); but all div all toggled. Any help would be greatly appreciated
Please help: dynamic radiobuttons
Hello, I'm creating a dynamic content management system. I've a problem with the form where you can fill in the content. I use different controls on the page, also radio buttons. I ask the value from the database and check the right one. But when I check the other one (by editing a page) it doesn't work. Some code... how the form is created.. (in front you don't know how many radiobuttons have to be created) var brokenstring = item.values.split(","); $.each(brokenstring, function(i,
[jQuery] how don't make request after first request
помогите please how to set preferences autocompleter made no inquiry after the first, which has already downloaded all the possible values? какие указать настройки чтобы autocompleter не делал запрос после первого, который уже загрузил все возможные варианты? jQuery("#mobile").autocomplete( "/autocomplete.php",{ minChars: 2, matchContains: true, extraParams:{c:'mobile'}, autoFill: false, formatItem: function(row, i, max) { return i +
Next Page