[jQuery] jQuery UI Tabs
http://www.kaizendigital.com/codereck/index_jquery.php this is my page to test out jQuery scripts. right now i am going through the jQuery UI stuff and hit a bug(?) in the tabs. First thing which is not so big is that the tabs seem to be way to right, much more than i thought and can't find where in the css is controlling that. The second big issues is if you look at this in IE, the tabs are in the container box when they should be on top of it. any help with these two issue would be great, -- View
[jQuery] Send an image to the server with $.ajax
Hi, I have a page with a input file, and I'm wondering if it is possible to send the file to server using ajax, without submit. Thank you
[jQuery] Jscrollpane and Jquery UI when combined gives error.
When i combine JScrollPane and Jquery UI tabs , i have a exception thrown saying Exception thrown but not caught. when i see the Problem i found the JQuery versions are different UI Tabs is using 1.2.1 , but JscrollPane is using 1.1.3.1 (incompatibility) . Does Jscrollpane coming out with the newer version using Jquery 1.2.1 , or does any one how to solve this problem. Thanks in Advance.
[jQuery] Text / page zoom detection
Hello Does anyone have any information on techniques for detection of text resizing and/or page zooming? Am i correct in saying that the only element that supports onresize (resize in jQuery terms) is the window element? It seems completely appropriate for browsers to support the onresize event on the document object or even text elements themselves, in order to solve the problem of web developers needing to code for differing page presentation. I know purists would like developers to code with em
[jQuery] Wondering if a jQuery plugin exists for something like what SquirrelCart has.
http://www.squirrelcart.com/demo2/squirrelcart/ The very top of the page is their navigational menu... with the drop- downs.. almost like a real "Menu Bar". Is anybody aware of any sort of jQuery plugin that does this? Thanks!
[jQuery] Tweaking Autocomplete 1.0 Alpha
Hi all, I use Autocomplete 1.0 Alpha mostly for form inputs bound to foreign key columns. For instance I have a user_position table with two columns: user_id and position_id. On new appointment form I have two autocomplete text inputs with the following code: <input type="text" id="user_id" class="ac_input" tabindex="1" /> <input type="text" id="position_id" class="ac_input" tabindex="2" /
[jQuery] Superfish Dropdown: Aktiv class for 3rd level
hi folks, i have a 3 level nested list for a menu with superfish. No i want to ask if there is a solution to show the 3rd level as an active menu-poinit when the 3rd is choosed. Or the 2nd when i am in the 2nd level. With acitve i mean, it should be oben from the 1st down to the 3rd just right after open the page. Example: ul li 1st li 2d li.current 3rd (Should be active) Looking forward to your help. Thanks!
[jQuery] TableSorter docs suggestion
I'm using the tablesorter plugin (Excellent work! - makes my job MUCH easier). But I found a slight flaw with the documentation. In my case, I wanted alternating row colors. When I set this up manually with something like $("#mytable tr:odd").css("background-color","#ddd"); The initial view was fine, but sorting the rows messed things up. (not evenly alternating). So I did some digging. I recalled seeing something on this list about a zebra plugin. Searching my archives I found this, but could not
beginner, dropdown to fetch an html page? i'm close, but...
I realize this is probably well below the difficulty level expected for this forum, but, I'm truly stuck. I'm simply trying to get a drop-down menu (without a go button) to fetch an HTML page and display it in a div. I tried using the jFrame plugin, but it would only work with HTML links, not javascript links. I can get a dropdown to push its values into a div. I can get remote data using the simple ajax load function. What I can't seem to do is get these two to work together. I guess I don't understand
[jQuery] jqModal, Flash, and Timing Event Firing
Hello, I am new to jQuery but I absolutely love it. I am currently using jQuery for a client project I am working on. I am also using the jqModal plugin to automatically display a modal window when the user goes to the site. The questions I have are as follows: 1. How can I delay the display of the modal window so that it displays a couple of seconds after the document loads? and 2. How do I get the flash content to show beneath the modal window overlay? Currently, the flash content does not show
[jQuery] I would like to return xhtml character entities
I would like to grab a string that contains '<' and '>' and NOT have jQuery eval and force my browser to render it has html. It's difficult for me to convey what I want, but basically I am trying to send it latin or unicode entity references for the angle brackets and want to write those brackets as literal brackets, not rendered as html... I dunno if that makes sense so here is the code I am testing with: html - <div class="test"> <div> <div> <p>This is a
[jQuery] Scoping Issue??
hi guys i cant seem to get my head round a problem here. I am sure someone can help. I have included the hotkeys plugin. It all works fine. One adds a hotkey by simply calling the function $.hotkeys.add(key, function); so for example if $.hotkeys.add('1', levelClicked), the function levelClicked is called when 1 is pressed. However i want to restrict users to using a subset of the numeric keys depending on the value of a variable and I want to do it on-the-fly. SO if the variable is 5 i allow users
[jQuery] Error in IE, works in Firefox
I'm working on a game in my (spare) time. It works in firefox, but not in ie. In my code, I assign a variable: board = $('#board'); board.hide(); This works in the latest firefox. In IE 6 and 7, I get Error: Object doesn't support this property or method Any ideas? Thanks! hydra12
[jQuery] Superfish, swfObject, z-index, and (of course) IE
First, let me say thank you to Joel for making the new CSS for Superfish so easy to configure now! All those comments make such the difference! and Second, here's my dilema: We have a site, first thing that loads is a lovely flash movie which resides in the main container below the horizontal navigation which has a single dropdown from one choice. Once the movie has played the user is presented with a static page with an additional nav on the side (totally seperate from hNav) and a static hero shot
[jQuery] Possible Firefox issue using jquery.form.js
Hello, I am using jquery.form.js v1.1.2 to submit a form behind the scenes when a link on that form is clicked taking the user away from the form and to another page. The code works as intended in certain browsers and platforms but not in others. It is also possible for the code to be run on two different server banks, server-1.domain.com and server-2.domain.com. It works all of the time on 2 and only on certain platforms/browsers on 1. The specific conditions where it does not work are: Firefox
[jQuery] getting index of elements
hello all, I'm new to jQuery, and have the following need: 01. I have some divs with the same class, and inside of each, I have two <a>, from which one will have a class "bt" and the other no class (this is done via the user interaction) 02. the issue here is that I need to get the index of which <a> has the class in each <div>... I've tried the following js, but it just tells me the index for the first one, the second one gives me a "-1" (but as you can see, it is there!) the js: $(".botoes").each(function(){
[jQuery] ClueTip: Nice work, Karl!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>ClueTip: Nice work, Karl!</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Just wanted to say that I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">ve just now
[jQuery] Animating elements at different and sequential times
I have two boxes, a yellow one and a blue one, and I want to animate them at separate intervals. This is an example of what I would like to happen: 1. Loading page complete 2. Yellow div box fades to zero opacity. 3. Wait 2 seconds 4. Blue div box moves left to right 100 pixels. I can get them to perform animations at the same time, but I can't seem to wrap my head around getting the script to wait 2 seconds before performing the next command. Is there a simple techinque that already exists to perform
[jQuery] Interface Fisheye Menu Activation Area misplaced
I have a fisheye menu with the following code: <div id="fisheye" class="fisheye"> <div class="fisheyeContainter"> <a href="#borrower" class="fisheyeItem"><img src="images/ baseloan_borrower.png" width="48" alt="Borrower" title="Borrower" /
[jQuery] tablesorter pagination values
Hello All, Rey Bango suggested I post this question. I am using the tablesorter plugin. On the page there is the ability to click on a row that opens a new page, essentially an edit details page. This page then goes to an update page to handle the input to the db. Once the update is complete, I would like to have the user returned to the page where the link was clicked. Example page 4 sorted by name. I am using Coldfusion 5. Is there a way to capture the current page and the current sort column into
[jQuery] Flash is stealing the click event from jQuery
Hi, I really hope someone can help. I am using sIFR on my site that creates flash text to replace my links. So when I try to add a click event to a link with jQuery it doesn't work because flash is stealing the event. Any idea how to get a click on a link to still execute the jQuery function? Thanks, -Roman
[jQuery] XPath, select by attribute substring
Is it possible to select all elements by part of its attribute? May be there is some simple regular expressions allowed? I don't know full attribute value, only it's part, and want select all elements which has this substring in their attribute.
[jQuery] Performance degraded in IE6 (as comapred to IE7 and FFox)
Are there any known issues or workarounds that affect performance of the n2menu in IE6? IE7 and FFox (using a 0 delay) are almost immediately responsive to mouse movement. IE6 is taking about 4 seconds just to recognize mouse movement.
[jQuery] jQuery object equality
Am I right in thinking that you can't test for equality of jQuery objects? alert($("#saveForm") == $("#saveForm")); // false alert($("#saveForm") === $("#saveForm")); // false alert($("#saveForm").get(0) == $("#saveForm").get(0)); // true alert($("#saveForm").get(0) === $("#saveForm").get(0)); // true Instead I have to drop out of jQuery and test the elements directly. Am I missing something maybe? Adrian
[jQuery] restarting after stop()
Hi all. What's wrong with this? $(function(){ var timing = 5000; var stripWidth; var $strip; $strip = $("#mask p"); stripWidth = $strip.width(); containerWidth = $("#mask").width(); var totalTravel = stripWidth+containerWidth; function scrollnews(param){ $strip.animate({left: '-='+ param}, timing, "linear", function() {$strip.css("left", containerWidth); scrollnews(param)}); } scrollnews(totalTravel); $("#tickercontainer").hover(function(){ $strip.stop(); }, function(){
[jQuery] Stackable rules/filters interface
Hello: I would like to build a stackable filters/rules interface ( field, operator, value ) like the one that Thunderbird uses to create message filters. I.e. ( ) Match all of the following (x) Match any of the following: [ Drop down list of fields ] [ operator ] [ value ] + - You can add or remove filters with the + and - button. The operator has to be dynamic (i.e. it can sometimes be 'is / is not' if the field is a string, or 'on / before / after' if the field is a date, etc.) Does anybody know
[jQuery] Manipulating DOM
Dear, I've got a situation that my logic won't solve.. I want to do the following: Page html loads: <li>sometext sentence beginning here <a href="someurl">someurl</a> ending the same sentence</li> <div id="sometextholder"></div> Now, when it loads, i would like to manipulate the dom. On a mouseout (so normal view) you'll only see the link in the li. On a mouseover, you'll see the whole li content in the div (sometextholder). Do you guys have any idea how to do this? I'm really stuck here, for a few
[jQuery] n2Menu
I'm trying to make the n2menu hide all expanded submenus when you mouse out of the menu. Does anyone have any experience with this menu? This is a really cheesy way to accomplish it... var onMouseOver = function(){ // ... all existing code snipped setTimeout ( function() { removePreviouslyExpanded(q) }, 15000 ) } ... and it's not really what I'm after ... Is there some way to say when you mouse into another element that all sub menus which do not reside in my current parent child chain get closed?
[jQuery] JavaScript Compressor in Rhino
Hi I would like to know how I can use JavaScript Compressor in Rhino like jQuery' snv. Regards
[jQuery] ajaxSend one call, many separate events
Let's say I have 10 icons on a web page. Clicking an icon will change it from it's colored version to it's gray scale version. Changing flag states if you will. Lets say, just for example, it takes 3 - 5 seconds for the icon to change because it has to wait on the server to process the request and return the icon that represents the result (special icon for failures). I want a wait image to replace the icon that was clicked while waiting on the server. I have tried something like this $('.control').ajaxSend(
[jQuery] $ is not a function
hello, I've a simple javascript that worked very well with an old version of jquery , but have some problem with latest version of jquery: given a code like this: <div><a ... class="myclass">...</a></div> <div></div> <div>info to toggle</div> when clicking on the link which class is "myclass", I want to toggle the content in the second div after the one containing the clicked link. This script worked very well: $(document).ready(function() { // Toggle Single Bibtex entry $('a.myclass').click(function()
[jQuery] Tweaking Autocomplete
Hi all, I use Autocomplete plugin (1.0 Alpha) mostly for form inputs bound to foreign key columns. For instance I have a user_position table with two columns: user_id and position_id. On new appointment form I have two autocomplete text inputs with the following code: <input type="text" id="user_id" class="ac_input" tabindex="1" /> <input type="text" id="position_id" class="ac_input" tabindex="2" /
[jQuery] cyclic __proto__ value error, what is it?
Hi, I'm heavily using jquery in a page that loads a lot of things, and sometimes (apparentily without a sense) firebug shows this error: cyclic __proto__ value [Break on this error] eval(function(p,a,c,k,e,r){e=function(c) {return(c<a?'':e(parseInt(c/a)))+((c=c%a... On this project I'm using jquery 1.3. Can anyone help me to discover the cause of this error? Thank you
[jQuery] Tooltip plugin with a multiple select [IE problem]
Hi all, i'm tryin to use the tooltip plugin http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ within a multiple select. My code: ### the select ##### <select multiple="multiple" name="myselect" id="myselect"> <option value="0">First option</option> <option value="1">Second option</option> </select> ################ ####### the jquery code ######### $("#myselect option").each(function(i){ $(this).attr("title", function() { return $(this).text(); }); $(this).Tooltip({ track: true,
[jQuery] Prev / Next - one works, the other doesn't!?
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR> </HEAD> <BODY > <DIV STYLE="margin:0 0 20px 0;"> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=344340311-10102007>Hi all,</SPAN></FONT></DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=344340311-10102007></SPAN></FONT> </DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=344340311-10102007>I have a simple calendar that I'm building, where I need
[jQuery] value of <a>
What I want to is :When user click on a link it will show text inside the <a> tag. (ie. when user click in "more" it will show "more" in alert.) I have following code : --------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>jq test</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript">
[jQuery] Tooltip plugin with a multiple select [IE problem]
Hi all, i'm tryin to use the tooltip plugin http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ within a multiple select. My code: ### the select ##### <select multiple="multiple" name="myselect" id="myselect"> <option value="0">First option</option> <option value="1">Second option</option> </select> ################ ####### the jquery code ######### $("#myselect option").each(function(i){ $(this).attr("title", function() { return $(this).text(); }); $(this).Tooltip({ track: true,
[jQuery] Detect child number of an element?
Is it possible to detect the 'child number' of an element on click? For example, say I have a table with 10 rows. If I click on the 7th row, is it possible to obtain the number 7 simply? Currently I have a click event attached to every table row, with something along the lines of: $('table#id tr').click(function(){ ... })
[jQuery] Can't use jquery_1.2.1.js together with json.js?
Hi, When I include the two js file together using <script language="javascript" type="text/javascript" src="jquery.js"></ script> <script language="javascript" type="text/javascript" src="json.js"></ script> I found that I can't use jQuery.get() function to get a web page. The jQuery Ajax doesn't work; If I do not change any js code except delete the line<script language="javascript" type="text/javascript" src="json.js"></script>, all my code works good. Anybody has ideas? Thanks.
[jQuery] creating facebook ajax popups?
Hi, Have you seen how facebook nicely lets users edit their account by using those clever popups and after you perform the functionality you close the small window and go on with your browsing. How can someone achieve this with jquery? Thanks
Next Page