[jQuery] manipulate a Menu/List
HI, i've a menu (build by typoscript) which i want to manipulate with jquery. menu structure: <ul id="subMenu"> <li class="aLink"> <a href="index.php?id=15">Subpage 1</a> <ul> <li class="aLink"> <a href="index.php?id=19">Level 3 - 1</a> </li> <li class="aLink"> <a href="index.php?id=18">Level 3 - 2</a> </li> </ul> </li> <li class="aLink"> <a href="index.php?id=14" class="subcurrent">Subpage 2</a> </li> </ul> Now i want to give the actual <a ..> the class 'subcurrent' - no Problem. But i want to give
[jQuery] jQuary Ajax
Hello everyone, Is it possible to send ajax call for somefile.php and get just value of one php variable generated by that server script? Example: $.post( blog.php?task=checkname, {ime:$(\"#ime\").val()}, function(msg){ alert(msg); }); This ajax call will get whole page ( blog.php?task=checkname) as a result but I want value of just one variable. I know I could create a separate file "ajaxCheck.php" that would return HTML I could reuse in my javaScript but I want to solve this
[jQuery] Better way of initializing a show() or hide() state
Now that I finding myself doing the following in a few areas, I don't quite like it for a finalization of the code. Basically, for the most part, a good bit of my jQuery usage is to add dynamic toggling of current views already established in various pages in our package. In some cases, I want the page to start with views not showing, and others I want the views showing, and yet in others, I want some views with common elements having maying the first element showing and the rest hidden, etc. I guess
[jQuery] The Form plugin throws "options.url.indexOf is not a function" error
Hi Just started using jQuery so I have the latest version (v1.2.1) My problem lies with the jquery.form.js plugin. When I try to use ajaxSubmit it throws the following JS error "options.url.indexOf is not a function". Which is a reference to line 209 of jquery.form.js. Anyone else having this problem? My search attempts have returned nothing. Cheers Tom
[jQuery] quicktime plugin not removing when calling empty
Hi there is there any progress in this bug http://dev.jquery.com/ticket/925 I believe this is a problem in the latest jquery version. The quicktime wont remove itself after calling empty, it will play in the background even though another player object has been added to the elements html. This demo is exactly what im getting http://www.mrvulcan.nl/jquery/
[jQuery] Problems with effects after ajax call
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">hi there seems to be a problem loading effects and jquery calls after an ajax call has loaded content, this will not work after an ajax call, the html doesnt get prepended etc<DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#328032" face="Monaco" size="3"><SPAN class="Apple-style-span"
[jQuery] jQuery plugins repo is a major traffic generator
Hi, all! The past couple of days i've been looking through some web logs and found some really unexpected things... a) Though jQuery-related stuff is only a small part of my website, the vast majority of the recent traffic targets my jQuery plugins pages. (This is not to imply that my plugins are particularly popular (they're not - they're all small/niche stuff).) b) The jQuery.com plugins repo is the most prolific referrer to my site. c) 3 of the top 5 search terms which bring people to the site
[jQuery] popup <div>
Hi, I am trying to make a simple <div> that will pop which will be close by just clicking to any part of the page. I have no idea of how to do this. I have try something like this $(document).click(function(e){ $('div[@id=my_div]').hide(); }); $(body).click(function(e){ $('div[@id=my_div]').hide(); }); but all my other click function on specific html tag won't work anymore, it seems to be overide. Thanks james
[jQuery] Loading remote JS or dynamically loading .js files
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] potential bug with .val() in 1.2.1
I have an analytics library, built with jQuery 1.1.x. (It is my hope to eventually make it into a plugin, but currently it is very tied to our customer). It registers a click event on the document, and then inspects the target to see whether the clicked element will trigger a navigation (e.g., a link, a form submit, etc.). It needs to handle a variety of different elements, and record different pertinent information for each. This piece of code worked well in 1.1, and fails in 1.2: var target
[jQuery] Reference API section of jquery.com displaying funny in Firefox (2.0.0.6)
eg. http://docs.jquery.com/Manipulation
[jQuery] Finding selectors between two points
I have a table with some <tr> is used as divide other rows: <tr class="versionSection">.... <tr>... <tr>.. <tr>.. <tr class="versionSection">.... <tr>.. <tr>.. ... <tr class="versionSection">.... <tr>.. <tr>.. etc. In lieu of changng the HTML page, I want to see if I can find the <tr> after each class="versionSection" row. I want to do a toggler for each section. //---------------------------------------------------------- // - Click title row to toggle the remaing section rows. //----------------------------------------------------------
[jQuery] jQuery Autocomplete Plugin Efficiency in AutoSuggest Brand Spanking New
Hello everybody, I need/would like get (jQuery Autocomplete) http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ efficiency and make a new AutoSuggest(http://www.brandspankingnew.net/ archive/2006/08/ajax_auto-suggest_auto-complete.html) because it AutoSuggest is a nice design, somebody know help me? Someone think do it sometime? I think, but I need a help. Thank in advance
[jQuery] Cycle slideshow not advancing in Safari
I'm using the Cycle plugin to create a slideshow of linked images on this development version of a client's site: http://www.zenscope.com/bwss/ My client, who uses Safari 2.0.4 as his primary browser, reports that the slideshow fades to white after the first image and then does nothing. The demo animations on the Cycle website work just fine for him. I set up a page of minimal Cycle test cases here: http://www.zenscope.com/anim-test/ (Note: Test cases 1a and 2a will pause if you rest your mouse cursor
[jQuery] Convert new lines to br
Are there any jquery functions that can take a text value and convert any newlines to tags?
[jQuery] multiple select box to textarea
Hi all, I am creating a little tool that has two multiple select boxes and then a text area. I need to figure out how to take the selected conets of one box, or the other, or both and pop them to the textarea. If there are no examples can someone tell me what dom or events I need to be looking at?
[jQuery] jQuery runs inserted scripts prior to inserting HTML
I posted about this yesterday, but it never showed up... I have a script that grabs some HTML (with included javascript) via AJAX and injects the HTML into the page. The problem is that the scripts within that HTML block get executed before the HTML that it is referencing is inserted into the page (and therefore missing from the DOM). How can I pause execution of the script until the HTML is fully inserted into the DOM? The script is located in the HTML after the HTML it is referring to... e.g.-
[jQuery] Response Status Codes
Hi All this time I was using AJAX natively. But now Im getting the hang of jQuery. I normally want to check if Im getting a 200, 404, 500 etc response status on success [code] var xhr = NewXMLHttpRequest(); xhr.onreadystatechange = xhrChange; function xhrChange() { switch (xhr.readyState) { case 1: // Open break; case 2: // Send break; case 3: // Receiving break; case 4: // Loaded switch (xhr.status) { case 200: // OK break; case 404: // Not Found break; case 500: // Internal Server Error break;
[jQuery] questions about the plugins page
Hi how are the plugins rated and sorted in the "Browse Plugins" ==> "most popular" link? It doesn't seem that they are sorted neither by the average rating nor by the number of votes. is there any other criteria? (like downloads) also the "browse by date" does not seem to work. is it supposed to be the same as "latest releases" but listing only the latest version of a plugin?
[jQuery] test
test
[jQuery] docs url
Hello, I saw the UI documentation got the http://docs.jquery.com/UI url but the jQuery docs still have the http://docs.jquery.com/Main_Page url maybe that could be changed to http://docs.jquery.com/jQuery ? it's just an idea. -- David Duymelinck ________________ david@icreate.be
[jQuery] animating the size of a div
I am creating graphs with CSS. What I would like to do is animate the graph... ie, have the div slowly grow from 0 to 75%. Here is the css I use: .barbg{ height:17px; border:1px solid #999; width:120px; float:right; } .color{ height:17px; background:url(bgraph_03.gif) repeat-x top; } Here is the HTML I use: <div class="barbg"> <div class="color" style="width: 75%;"></div> </div>
[jQuery] can't quite finish this ...
Hi To call me a newbie would be to give newbies a bad name. Had a regular form working and wanted to add validation. Got the jquery thing working perfectly. to a point. Have this: <form class="cmxform" id="form1" name="aedrec" method="GET" action="" onKeyUp="highlight(event)" onClick="highlight(event)"> Had this: <form name="aedrec" method="GET" action="saverec.php" onKeyUp="highlight(event)" onClick="highlight(event)"> What I am missing is how to 'pass' the form to saverec.php. Got this from the
[jQuery] John's Pager - best plugin no one uses?
This undocumented plugin is really worth adding to the repository I think. It needs a little fleshing out, which I've tried to do, but all in all is a super fast, super easy to implement pager. I've modified it with spread (how many pages to either side of your current page will show in the navigation) and nonNumerical arguments (whether to show page numbers or not) to make it a bit more versatile. I've come across one problem though, which I hope someone can figure out. If the number if line items
[jQuery] Table filter in safari
Hi, I'm using this wonderfull plugin to filter and order values in a table: http://ideamill.synaptrixgroup.com/?p=7 Now I'm tryng it on a mac with safari(v 2.0.4), but it doesn't work. In javascript console I got this fantastic error: TypeError - Null Value line 1 (no file specified and line 1 don't know if is correct) Unfortunately I don't have costant access to a Mac (and I'm not expert in debugging with safari), anyone that use this script has solved? Thank you
[jQuery] Apply "xpath-evaluate" in an iframe document
Hi, I have a simple iframe in a html page that loads a local html page. I would like hide all images in this iframe-page (that working for Firefox/IE6-7 at least). And so I wrote this code: // this code gets correctly frameDocument for IE 6-7 and Firefox var frame = document.getElementById("myframe"); var frameDocument = (frame.contentWindow || frame.contentDocument); if (frameDocument.document) frameDocument = frameDocument.document; // not working $(frameDocument).("//img").hide(); last row returns
[jQuery] searching select box replacement plugin
Hi, I am looking for an select box replacement plugin. It should replace the html standard selectbox with something more customable. Some sort of combo-box would be nice, but I don't want to have a autocomplete input field. I have a select box like the one in the serach bar of the google reader in mind. For any hint I would be thankful Best regards Thollsten
[jQuery] Plugins mgt login problems
Can anyone explain why I cannot retrieve my passwd from new plugins page http://jquery.com/plugins/user/login?destination=project%2FPlugins -Kush
[jQuery] New plugins mgt login problems
Can anyone explain why I cannot retrieve my passwd from new plugins page http://jquery.com/plugins/user/login?destination=project%2FPlugins -Kush
[jQuery] Plugins mgt login problems
Can anyone explain why I cannot retrieve my passwd on plugins page http://jquery.com/plugins/user/login?destination=project%2FPlugins -Kush
[jQuery] can't quite finish this ...
Hi To call me a newbie would be to give newbies a bad name. Had a regular form working and wanted to add validation. Got the jquery thing working perfectly. to a point. Have this: <form class="cmxform" id="form1" name="aedrec" method="GET" action="" onKeyUp="highlight(event)" onClick="highlight(event)"> Had this: <form name="aedrec" method="GET" action="saverec.php" onKeyUp="highlight(event)" onClick="highlight(event)"> What I am missing is how to 'pass' the form to saverec.php. Got this from the
[jQuery] Installation of UI?
Hi all. I'm attempting to move to jQuery from MooTools, as I (generally) like the jQuery documentation better. However, I'm having trouble using the tableSorter function. I've downloaded jQuery 1.2.1 and UI 1.0. My JavaScript includes look like... <script src="/javascripts/jquery-1.2.1.js?1190074502" type="text/ javascript"></script> <script src="/javascripts/ui.tablesorter.js?1190019796" type="text/ javascript"></script> <script src="/javascripts/rabbit.js?1190077112" type="text/ javascript"></script>
[jQuery] Falling at the first hurdle
Having major problems getting anything set up here. http://jquery.com/demo/thickbox/ On the above page it says I should download the files mentioned and put them in my scripts folder which I did. In my page (aspx) I have this <script type="text/javascript" src="scripts/jquery-1.2.pack.js" runat="server"></script> <script type="text/javascript" src="scripts/thickbox.js" runat="server"></script> When I browse my page I get the error.... Compilation Error Compiler Error Message: BC30035: Syntax error.
[jQuery] $ is not defined error
I'm modifying the Drupal img_assist module, and trying to add a little jquery to the popup it creates. When I do, I get this error: $ is not defined When I view source, I see the jquery init code at the bottom of the html for both the page frameset, and for both of the framed pages (the popup uses frames).
[jQuery] toggle some table rows based on partial ID
In a table, I want to click an 'expand' button and toggle the display of between 1 and 20 hidden "detail" rows immediately following the row in which I clicked. The "detail" rows will have IDs based on the "data" row's ID, as follows: <table> <tr id="row1" class="data"> <td><input type="image" class="expand" /> <td>25</td> <td>25</td> <td>25</td> </tr> <tr id="row1_1" class="detail"> <td>10</td> <td>10</td> <td>10</td> </tr>
[jQuery] jquery website account problems
Does anybody know why I cannot retrieve my passwd or get email confirmation email when I sign up in jquery website. -Kush
Announce: jQuery UI 1.0 Released
Hi Everyone - We just pushed the brand-new jQuery UI 1.0 out the door. The full release notes: http://jquery.com/blog/2007/09/17/jquery-ui-interactions-and-widgets/ The jQuery UI site: http://ui.jquery.com/ Enjoy! Reminder: We have a jQuery UI mailing list, if you're interested in discussing this new library: http://groups.google.com/group/jquery-ui As always, feedback is appreciated. --John
[jQuery] Weird bug with firefox on MAC
Hello, I'm a web developper and use Jquery very often (it's so cool!), and I have come upon a weird bug and wanted to know if there been any previous alert about this and if there is a solution: When I use fadeIn and fadeOut on a <div> which contains texts, and that div is OVER a flash object, either the <div> itself or the flash object flickers while the fading occurs. It only happens on Firefox Mac and no other that I have tested (ie6,ie7,firefox pc,safari pc,safari mac,opera) Thank you, Christian
[jQuery] jquery website account problems
Does anybody know why I cannot retrieve my passwd or get email confirmation email when I sign up in jquery website. -Kush
[jQuery] jquery 1.2 feedback
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=625021522-11092007><FONT face=Arial size=2>just wanted to report that i had absolutely not a single issue switching from 1.1.4 to 1.2 and i use tons of plugins</FONT></SPAN><SPAN class=625021522-11092007><FONT face=Arial size=2>. </FONT></SPAN></DIV> <DIV><SPAN class=625021522-11092007><FONT
Next Page