[jQuery] Fifteen puzzle in jQuery
Here's a very nice implementation of the "Fifteen" puzzle (http:// en.wikipedia.org/wiki/Fifteen_puzzle) in jQuery: http://www.alexatnet.com/node/68 Howard
[jQuery] Live Query doesnt find it, standard selection doesnt find it... whats wrong?
Hi, I apologize for the long post. I have been working on this for hours and I dont know where to turn to... I am working on a task list of sorts. Ungrouped Tasks are listed individually at the top, followed by task groups: Here is relevant html: <!-- Individual Tasks --> <div class="Task complete" id="2" style="display:block"> <div class="TaskName"> <div class="Data"> <h2>Work on stuff</h2>
[jQuery] jQuery Edit In Place Help
Hello All, I am working to get this plugin http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-library/15/ working. I can successfully edit in place text, but I would like to take a php variable from my editing page and pass it to my updating the database page. Unfortunately I don't know javascript well enough to do this. The variable is the same for each div that is edited. Here is my code: Edit page: <html> <head> <script src="jquery.js" type="text/javascript"></script> <script
[jQuery] Find textNodes and wrapping it with a tag
For my List tree plugin, it needs to handle situations where the structure contains LI tags with text and not text wrapped with a HTML tag (normally a A tag) For example: <ul> <li> title <ul> <li>...<li> <li>...<li> </ul> </li> </ul> My CSS and tree code handles it nicely when the text wrapped with a tag like: <li> <a>title</a> But when its not wrapped, I tried to use CSS to adjust it but can't find a CSS selector that deal with this without screwing up the tree. So I figure I could do it with code
[jQuery] Vertical Tabs
Does anyone know of a vertical version of Klaus Hartl's tabs, similar in theory to, the micorosft home page (http://www.microsoft.com/en/us/ default.aspx)
[jQuery] JQuery developer / graphic designer wanted for collaboration on Gospel project
I am a student at The Southern Baptist Theological Seminary (www.sbts.edu) and I am looking for some volunteer help on putting together a gospel presentation using JQuery and a web browser. I currently have a PowerPoint presentation that I have worked on together with one of my professors, but our distribution is somewhat complicated because of the limitations of and bugs in PowerPoint. In addition, I am a good programmer but a horrible designer and therefore need some help to put together some graphics
[jQuery] Jquery Cheat Sheet
Hi! I have made a complete cheat sheet for Jquery, In my opinion, this version is more attractive and complete that all I've found on the net, so I post it here, enjoy. PNG http://www.box.net/shared/suz017p7p3 (1024x768px, 364.4 KB) PDF http://www.box.net/shared/riknf0ul02 (A4, 155.3 KB) PSD http://www.box.net/shared/13l8um12b2 (A4 120dpi, 5.1 MB - feel free to modify it)
[jQuery] Selector w/ unknown function stalls browser
I've been playing around with selectors and XPath expressions, so I wrote $('element::text()). After error I tried this one: $('element text()') After that my Firefox stalled (without even "unresponsive script" warning) and I couldn't do anything except killing it. The problem is that unknown functions like sometext() in selector causes never-ending loop somewhere (I know, professional description ;)). I don't know if it's that important to do checkpoint on, but I wanted to share it with you.
[jQuery] .html not working in ie6/ie7 as expected
i have a code like $('<div class="magic"></div>').html('<span><br \/>Введите Логин и Пароль<br \/><br \/><form action"" method="get"><input name="login" type="text" value="login" size="10" maxlength="10" \/
[jQuery] Quite big performance issue
Hi guys, I've been developing small tool for em values (CSS) for quite time. To cut unnecessary descriptions, go check it out on http://riddle.pl/emcalc/ Now, the problem lays in performance. Try adding 10 nodes, one under another and notice that 8th, 9th, 10th (and further) addition works terribly slow. I can nearly stall my whole Firefox by adding 15 nodes. This problem came up after I had rewritten this tool to jQuery - http://riddle.pl/emcalc/old/ - as you can see problem doesn't exist in older
[jQuery] Adapting fValidate to work with jQuery
Just in case others are looking for help making jQuery work properly if you are also using the fValidate library... The problems mostly afflict IE6, but show up in various places - things just don't work. I'm not sure this cure all problems, but it made a huge difference in what I was trying to do. A problem is caused by fValidate [re]defining the String.push method in a non-standard way. In fValidate-core.js, just comment out the String.prototype.push function definition. Voila. I have not yet tested
[jQuery] Show Hide across divs with tabs and menus
This is probably very simple (I'm still learning so take it easy on me). When a user clicks a menu item while on Tab 2, I want the default area to hide, and then the relevant area to show. Here is the file so far with notes on what should happen on clicked events: ... <script src="js/jquery-1.1.4.js" type="text/javascript"></script> <script src="js/jquery.history_remote.pack.js" type="text/ javascript"></script> <script src="js/jquery.tabs.pack.js" type="text/javascript"></script> <script> //--------------------
[jQuery] Unavoidable Duplicate DOM IDs?
I'm currently working on a project where different areas of the user interface (an AJAX-loaded "Service") are intended to be re-usable, potentially with more than one "instance" of a given Service on a page. The issue I'm running into, and am asking for some input on, is the following: When I load one instance of a Service into the page, there are DOM IDs on a number of tags. That's easy enough. I can hook them with jQuery all day long and everything is peachy. However, when I load a second, duplicate
[jQuery] A definitive way to wait all images are loaded
Hi, I've searched in the list but didn't find the way to solve. I'm using jquery to change the position of different elements, but these positions depends on the image size of multiple images on the page. If I use document.ready jquery start to work before all sensible images are loaded. I found in a discussion the js method to wait an image is loaded: img = $('<img>'); img.attr('src', 'path/to/image.jpeg'); img[0].onload = function() { dosomething(); } But this method is ok if I want to wait for
[jQuery] How i can get to show loading indicator in this situation?
On page i have script which gets link id and loads content in div. function: function loadContent(id) { $("#dzivokli").load("dzivoklis-"+id+"/"); } a tag: javascript:loadContent(2217); Link and it loads content with id dzivoklis-2217 into div #dzivokli. How i can add loading indicator to this script? -- View this message in context: http://www.nabble.com/How-i-can-get-to-show-loading-indicator-in-this-situation--tf4405887s15494.html#a12569559 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Interface's tooltip conflictng with Treeview menus.
Hello Friends, I am using jquery's interface plugin's Tooltip it was working fine. Then i have included the treeview menu's plugin. But it was working fine when in an HTML file that i downloaded form the treeview's homepage. then i added that to my project then it starts flickering instead of giving the smooth accodian type of effect. After hitting my head with its code and my project code for 3-4 hours i found that when i remove including interface's tooltip file then Treeview menus start working
[jQuery] Interface
Hello Friends, I am using jquery's interface plugin's Tooltip it was working fine. Then i have included the treeview menu's plugin. But it was working fine when in an HTML file that i downloaded form the treeview's homepage. then i added that to my project then it starts flickering instead of giving the smooth accodian type of effect. After hitting my head with its code and my project code for 3-4 hours i found that when i remove including interface's tooltip file then Treeview menus start working
[jQuery] Code work under FF but not under IE6
Hi everyone I made a recent website and add it some very simple javascript features using Jquery (I am glad to tells you that Jquery had been chosen by Textpattern CMS dev team to be the standard javascript library). here is the code: <script type="text/javascript"> $(document).ready(function() { $('p.sc1').animate({top: -60}, 8000); setInterval(sc, 10000); }); function sc(){ $('p.sc1').css('top','60px'); $('p.sc1').animate({top: 0}, "fast"); $('p.sc1').animate({top: -60}, 8000); }; </script> the
[jQuery] jquery autocomplete plugin with php
Hello , I am a new bie in jquey. I need tutorial to work on jquery auto complete plugin with php . I need code. That i will test . Thanks
[jQuery] code not working in IE... don't know why
ok this site jppromo.ru everything works correctly in opera and firefox... but when in ie... it is stuck... don't know why i presume window.onload doesn't fire... don't know why... please help guys. i thought it might be because of two plugins i wrote there...
[jQuery] 1.1.4 Bug: IE7, TD, & append element
Just want to confirm that others are having this problem. $("body").append( $("<table border='1'/>").append( $("<tr/>").append( $("<td/>").append( $("<i/>").html("hello world") ) ) ) ); Using jQuery 1.1.4 this works with FF 2.0.0.6 PC and Safari 3.0 PC but does not in IE7 If I roll back to jQuery 1.1.3 it works for all. Am I doing something wrong or is this a legit bug? In the real world application I am attempting to render a table
[jQuery] IE vs FF with height: issues
I have a tree with I noticed that when the UL are collapsed, with IE there is "visible space" where with FF there is none. The solution for me was to add logic in my initialization code: function prepareTree(idTree) { ... //-------------------------------- // IE Needs this to remove "white space" when UL are hidden. if (jQuery.browser.msie) { $(idTree+" a").height("0px"); } //-------------------------------- ... } When you do this, IE works fine now. Opera, FF and KMeleon don't need this. Explanation?
[jQuery] Expanding a sub-tree - obtaining the path to a node/tag
I have a tree list and when I toggle a deep item to expand/show, I want all its parents to expand as well. What selector or method will give me this? I guess this is expanding the sub-tree which I can do natively, but would like to do it via jQuery. TIA -- HLS
[jQuery] PopupWindow Plug-in Not working on AJAX output
I have a quick question -- I'm using the plug-in "PopupWindow" (http://rip747.wordpress.com/ 2007/03/02/the-return-of-popupwindow-jquery-plugin/) to open new windows and it works great. However, I can't seem to get it to work on AJAX output. I have some data coming from my database which have links (some are marked with the PopupWindow formatting -- see example in the next paragraph) but will not open in a new window. I'm guessing it doesn't work because the AJAX occurs after the document has been
[jQuery] Is it possible to catch keypress events to a div?
I'm playing with the idea for a game, and I want to use the keyboard for control. I need to catch keypress events without using a textarea or a text input box. Can you bind keypress to a div or to <body>? I haven't been able to get it working, but I'm new to jquery. Thanks for the help! hydra12
[jQuery] jQuery getElementsByName Equivalent ?
Is there a jQuery equivalent for getElementsByName that will return an array ? Thanks! 0xCAFE
[jQuery] New jQuery Docs require more work to use
I noticed the docs changed, but now require more clicking than necessary. I liked the old docs which everything was on the page and it was faster to find things. Now I have to click on the area, then the function, then on CODE, HTML, RESULTS back and forth to get all the information.
[jQuery] How to fade only the background?
Hi, The following code will fade the logo, instead of bg, e.g. <html> <head> <script src="http://jqueryjs.googlecode.com/files/ jquery-1.1.4.pack.js" ></script> <style> #bg{ width:600px; height:600px; background-color:blue; } </ style> </head> <body> <script> jQuery(document).ready(function() { jQuery("#bg").fadeTo("slow", 0.5); jQuery("#logo").fadeTo("slow", 1.0); }); </script> <div id="bg"> <img id="logo" src="http://www.w3.org/Icons/w3c_main"
[jQuery] My freelance site, a question about redundant code...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=874481213-07092007><FONT face=Arial size=2>I just relaunched my freelance website:</FONT></SPAN></DIV> <DIV><SPAN class=874481213-07092007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=874481213-07092007><FONT face=Arial size=2><A href="http://www.commadelimited.com/">http://www.commadelimited.com/</A></FONT></SPAN></DIV>
[jQuery] Refactoring href, src in Ajax retrieved HTML
Is there a tool or library that can take HTML and realign the URLs contained within that HTML so that they work properly in a new context? For instance, imagine 1) http://wherever/one/homepage.htm uses Ajax to retrieve HTML from / two/somepage.htm 2) http://wherever/two/somepage.htm has some content like: <a href="http://someplaceelse/abc.htm">ABC</a> <a href="/def.htm">DEF</a> <a href="ghi/page.htm">GHI</a> <a href="jkl.htm">JKL</a> <img src="http://someplaceelse/MNO.gif"> <img src="/PQR/image.gif">
[jQuery] jQuery functionalities
Will add the jQuery team more functionalities integrated in the framework, like working with cookies, hash, json, ajax.... in next versions? Sometimes, it's very frustrating don't find a good plugin to work and I don't want use obligatory other frameworks, like Mootools. It's only a question. Thanks very much. (sorry for my english)
[jQuery] jquery pageloader
Hi! Just a short question, has anyone seen a jquery example of a pageloader? What I'm looking for is the functionality that for example netvibes.com uses. That you'll get a message saying that the page is loading whilst it's...ehum....loading ;) /Simpel
[jQuery] N00b => jQuery getElementsByName Equivalent ?
I know I can use $("#elementid"), but is there something that will return me an array of object like getElementsByName does ? Thanks!
[jQuery] OT: No form submit without JavaScript?
I have some forms that I perform validation on using the Validation plugin for jQuery. My sole purpose for this, is that I'd like to reduce spam (and my company gets quite a bit). I understand the <NOSCRIPT> tag, but is there a way to prevent form submission if a user does not have Javascript? I know alert boxes and things like that are not possible without JavaScript but a simple bold, red message in NOSCRIPT should do. I just can't figure it out. I apologize if this is way off topic.
[jQuery] Changing the interface plugin "iToolTip" slows it down
Hey Guys, I'm trying to play around with the iToolTip plug that comes with interface plugins, but even if I load the source (untouched) file (itooltip.js) it takes me a a good second and a half to show the tootip in firefox. If I'm not loading the itooltip.js and downloading it compressed from interface.eyecon then I don't suffer that delay. The wierd thing is, that the delay occurs only in FireFox, but not in IE6 or 7. Any idea whats going on, or whats causing it? Thanks.
[jQuery] Simple list don't work in IE
Hi all, I expect from the following code to display only the submenu of the active menu. It works like a charm under Firefox and Opera but not under IE (at least under version 7). If someone could help, I would appreciate. Here is the code: $(document).ready(function() { $("ul").hide(); $("ul.level1").show(); $("li.active").next("ul").show(); }); Here is the HTML: <ul class="level1"> <li>menu 1</li> <ul class="level2"> <li>submenu 1 - 1</li> <li>submenu 1 - 2</li> </ul> <li class="active">menu2</li>
[jQuery] [OT] CoScripter: super simple firefox automation
Hello all, Not specifically jQuery related, or even JavaScript related, but I thought the community might find it interesting. It's a FireFox addon for automating web site interactions, backed by a wiki/database thing for sharing automation "recipes". Ostensibly, it's for things like "add your phone number to the national do not call list" and "Check American Airlines Flight Arrival Time and Status". They have a video to better explain: <a href="http://services.alphaworks.ibm.com/coscripter/browse/video">http://services.alphaworks.ibm.com/coscripter/browse/video</a>
[jQuery] MM AC_RunActiveContent & jQuery
I want to use the Interface library's Accordian on a page that already has a Flash piece wrapped in Macromedia's AC_RunActiveContent javascript for avoiding the IE security glitch. If I remove the Flash and the <script> tag to include AC_RunActiveContent.js, the accordian works as expected. Unfortunately, with them the dl, dds, and dts appear like they would without the accordian script. Does anyone know of a way to have use Flash piece, avoid the IE security issue, and still be able to use jQuery
[jQuery] How to solve problem with zindex and active elements
Hi, I don't know how to solve this problem then I ask you, my gurus :-) I created 2 divs, one with the content, and one with a mask to put over the content to hide the content I don't want to see on the load of the page (with z-index greater then the first one) . You can see an example here: http://www.gianiaz.net/jquery/mask/index.html The problem is that I can't catch the click event on the first span, cause the z-index is minor of the mask one. If I change the zindex order I can click on the element
[jQuery] Capture click on parent and prevent capture to child anchors
I have links in an unordered list and want to do $('ul').one('click',fn); without having the links inside the ul respond to that first click. Can it be done? How? I tried doing e.preventCapture inside fn. No worky. Either does return false, and I think I tried all of the other similar methods such as stopPropagation, preventDefault, etc. No matter what I do, the anchor element within the list always receives the get's focussed. I'd really appreciate some advice on how to get around this. I tried
Next Page