[jQuery] Bullet Proof: Help needed
Hi I've been working on a (yet another) curved corners plugin. This one is slightly different though, because it uses a bullet (actually an inverse bullet) to achieve the coners. Using a bullet has several features * Super dooper fast. I tried adding 3600 corners and it did it in less than 2000ms on firefox. * Very little extra html is added. * No changes to the layout * antialiased for free * can support radius and borders up to 30px * no change in speed for larger borders You can see it in action
[jQuery] ui.datePicker and clone() issue
hi, In a form, I'm cloning a number of times a portion of html that displays a sub form. Now, that subform contains date input fields which *should* display the date picker plugin. The plugin works fine on other input dates, but not on the cloned ones. I tried previously with the masked Plugin and i also had issues with it, so i suspect i'm the faulty one here... Any idea what i 'm doing wrong? Here is the cloning code if that can help: $.datepicker.setDefaults({ showOn: 'both', buttonImageOnly:
[jQuery] Adding xhtml+xml capabitlity to ajax load()
Currently, the load() method uses the responseText from the ajax request and innerHTML. If the server send application/xhtml+xml content-type header the responseXML is returned by the ajax/get/post method but is not inserted into the DOM. One needs to manually add it in the callback with a code like: function (data, status) { if (data.documentElement) targetnode.appendChild(document.importNode(data.documentElement, true)); else targetnode.append(data); } I just posted an enhancement request
[jQuery] Conditional events
Hello everyone. I've been trying for some time now to make this code to execute ONLY if a variable called edit equals to 1: The code: $(".item_title").editable("operator.php",{ submitdata: {'type': 'title'}, width: 250 });//EOE Does anybody have an idea how to do that?? Thanks. -- View this message in context: http://www.nabble.com/Conditional-events-tp14453255s27240p14453255.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Just can't seem to figure way...
Can someone look at this code.. for some reason the top expanable menu runs "Smoothly" and the one below it are "Choppy" when they expand? Now remember Im not really good at this... When you click on a main, it expands and opens twice.. You can look at the issue here, the left hand sidebar is the problem: http://www.oaklandregionalhospital.com/tests/new/index.html Here is the code: <!--webbot bot="HTMLMarkup" startspan --><?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
[jQuery] thickbox on a link from an ajax call
Hey so basically heres the deal I have thickbox in index.cfm. Index.cfm does an ajax call that loads in a product list $.ajax({ url: sendURL, cache: false, success: function(html){ document.getElementById('contentBox').innerHTML = html;} }); When one clicks a link from the ajax loaded HTML that has a thickbox class associated though it doesn't open it as a thickbox and instead just goes straight to the page. Below is the contents of the var html above. <table width="100%"> <thead> <tr> <th>Product
[jQuery] binding click event using .each()
I'm having some trouble understanding if I am using .each() to correctly bind a function to the click event of multiple links. I have a photo gallery consisting of a handful of images enclosed the a div and some controls: <div class="img"> ... <img src="foo.jpg" /> ... <a class="delPhoto" id="8">Delete</a> <!-- The number in the id attr is the photo_id from the db --> </div> I am trying to create an AJAX delete function which at it's most basic looks like this: $(document).ready(function(){ $("a.delPhoto").each(function(index){
[jQuery] jQuery UI Tabs / Tabs 3 + Fading = can't CSS validate?
Hi, I just installed the jQuery UI Tabs / Tabs 3 and I am using the fading version. My CSS won't validate now. Any suggestions on fixing this? Thanks. -chris
[jQuery] cluetip and clicking on href
I have cluetip working - love it. Easy to set up and use. I have a calendar you hover over a day and if fetches a remote page with events into the cluetip. Perfect. But... I also want the user to be able to click on the day and go to the events page, but ti doesn't seem to work. <script type="text/javascript"> $(document).ready(function() { $('a.basic').cluetip({ width:'830px', positionBy: 'bottomTop', waitImage: false }); }); </script> then in the table the clue tip is created dynamically like <td
[jQuery] Ajax callback hits problem on IE6/7 when the load up page is JSP/JSF
hi all, (i posted my msg but i don't see it on the message board.. now retry) i am using the following two libraries: <script src="js/jquery/jquery-1.2.1.js" type="text/javascript"></ script> <script src="js/jquery/jquery.ui-1.0/ui.tabs.js" type="text/ javascript"></script> what i am trying to do is to load up the tab content when the user clicks the tab. so i think ajax page load up comes handy here. so i used : <script> $(document).ready(function(){ $('#example ul').tabs({ fxSlide:
[jQuery] Ajax callback hits problem on IE6/7 when the load up page is JSP/JSF
hi all, i am using the following scripts : <script src="js/jquery/jquery-1.2.1.js" type="text/javascript"></ script> <script src="js/jquery/jquery.ui-1.0/ui.tabs.js" type="text/ javascript"></script> what i am trying to do is to have the tab contents loaded up when user clicks the tab. so i think ajax page loading may come handy here. so here is my code : <script> $(document).ready(function(){ $('#example ul').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal', cache: false }); });
[jQuery] plugins doesnt show up
I have submitted my plugin on http://plugins.jquery.com/ but it doesnt show up for some reason. I have selected 'User Interface' as categorie, but its not there. this is the plugin: http://plugins.jquery.com/project/jquery-roundcorners-canvas
[jQuery] jquery slimbox?
Hi, I've searched to no avail thus far. Does anyone know if theres been a port of slimbox (or something similar to slimbox's notable 7kb size) to jquery yet? im only aware of thickbox and imagebox so far. the first is missing a few things i'd like to have (notably keyboard navigation) and the latter seems to be just as 'big' as the original lighbox v2.
[jQuery] jQuery form plugin: action restrictions?
I started with the "html" example at Mike Alsup's page: http://malsup.com/jquery/form/#sample6 That worked fine. I then tried to change the form action from html-echo.php to my own site's function library: "index.php?fnc=ajaxComments" then ajaxForm breaks on me. the page goes to white/blank, and the browser (IE) says in the corner: "downloading data javascript:""..." Is it known why I can't use functions like this? why does it have to be directly in another file like "html-echo.php?" thanks Jason
[jQuery] [SITE SUBMISSION] Brightegg.com
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" 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)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
[jQuery] IE7 DOM manipulation and redraws
Hi Everyone, I've run into a little problem which leaves me stunned. I'm having a page with a list of div's (a search result). It looks like this: <container div> <div id="result1"/> <div id="result2"/> <div id="result3"/> <div id="result4"/> </container div> the result divs certainly contain something. Now I have a button in each of the result divs that allows the result do be removed. When the button is clicked (below for result2) this snipped of code is executed: $('#result2').remove() On FF2
[jQuery] click event is not listening from .html() output
Hey all, I am very new to jQuery and becoming a fan of this wonderful framework. Please give me an idea of how to solve this problem if you know howtos. I am trying to create a form with many checkboxes with 'check all' link to check all the checkboxes. It's kind of simple and it is already in jQuery site tutorial. But what I wanted is that when I click 'check all' link, check all checkboxes as well as change the link text to 'uncheck all.' Here is my code: jQuery(document).ready(function() { //
[jQuery] Selector confusion
I'm working on a table that has nested tables. My problem is that I need to retrieve all the rows for the main table, but ignore the nested tables. I know I can do something like this: $("#mytable > tbody > tr"); But my table reference is passed into my function(s) as a parameter. So can I do something like this then? $("tbody > tr", tblRef); If I'm understanding correctly that would give me all the TRs within the context of my tblRef element. But wouldn't that also include the nested tables? Or
[jQuery] slowness in IE 6/7 compare to FF/Safari/Opera
here is the code is question: for(var x = 0; x < array_length; x++) { var search_text = order_new[x]; for(var i = 0; i < array_length; i++) { if(search_text === order_old[i]) { var table_id = order_old[i].split('.')[1]; var new_tab_html = '<li id="tab_' + table_id + '1"> javascript:void(0); Prices </li>'; new_tab_html += '<li id="tab_' + table_id + '2"> javascript:void(0); Reviews </li>'; new_tab_html
[jQuery] autoimage
Hello I'm using autoimage.js from (http://mjslib.org/doc/jquery/image.html) and I'm specifically using the following code <img id=image src="spin1.png"> $('#image').autoimage( { images: [ "spin2.png", "spin3.png", "spin4.png", "spin5.png", "spin6.png", "spin7.png", "spin8.png", ], speed: 30000, fade: 10, loop: 'cycle', }); this works as expected in any browser except IE6, where I occasionally get an error about document.getElementById is null or not an object. Has anyone else seen this or know of
[jQuery] [SITE SUBMISSION] songza.com
This is one of the first sites I saw and the following events took place: 1. "They've got to have some slick-ass library running underneath"... 2. Click "firebug"... 3. and what do you know jQuery. Enjoy it while it's still legal. - jake
[jQuery] BBC Redesign
Looks like the long-overdue BBC redesign is using jQuery (and a metric ton of whitespace and internal CSS): http://www.bbc.co.uk/home/beta/
[jQuery] Help making my code more efficient...
Can anybody offer some advice on how to make the following code more efficient? I'm reusing a lot of the same code and I know it can be streamlined quite a bit. thanks... $(document).ready(function() { $('#question1').click(function() { $('#contentblock #answer6, #contentblock #answer5, #contentblock #answer4, #contentblock #answer3, #contentblock #answer2, #contentblock #answer1').addClass('hidden'); $('#contentblock #answer1').removeClass('hidden'); }); $('#question2').click(function()
[jQuery] jQuery Incorrectly Identified as a Virus
Just as an FYI, some AV products are incorrectly identifying certain JS libs, including jQuery as a virus. This is a false positive as reported here: http://cybernetnews.com/2007/12/31/jssnza-virus-is-false-positive/ It seems to be associated to packing the libs. Please make a note in case you get questions about that. Rey jQuery Project
[jQuery] Is there any slideshow plugin not only for images?
What i mean is ... I have my unordered list and its content is a div with more then a img inside. I tried ScrollShow but I couldn't managed adapting it. Has anyone tried slideViewer for it? Or others?<br clear="all"> -- Rafael Santos Sá :: webdeveloper <a href="http://www.rafael-santos.com">www.rafael-santos.com</a>
[jQuery] [SITE SUBMISSION] Open Source Job Board Software
Just saw this posted on a blog. http://www.jobberbase.com/ JobberBase is an open source job board that is using jQuery and jCarousel. Rey
[jQuery] failing in jqModal results
happy new year to everybody! there is a nice tool to create cute popup windows (jqModal). using it I call (ajax) an html that has some ajax calls returing data from a database, the problem is that the results are not displayed (and they should). Please test and check the source code in: http://edit3.csic.es/fitxers/xmls/jqModal.html All the code is correctly referenced, so maybe I'm missing something... thanks a lot, PEre
[jQuery] jCarousel + slideshow effect?
I must say the jCarousel located here is fantastic: http://sorgalla.com/jcarousel/ Now, The effect with the thickbox is nice, but I would love it if there was a Jquery plugin that mixed jCarousel with SlideViewer. So basically, on this page: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html you where all the numbers are clickable to initiate the slide effect, the numbers would be thumbnails of the all the possible image choices, but those thumbnails would
[jQuery] What would you do? Cycling images
I've seen a few plugins for this already, but none of them seem to do what I need. I also don't want to use any of these plugins that do far more than I need. I suppose I prefer a bit of simplicity. Basically, I have a handful of images that I need to cycle through every few seconds; and once finished, it should start over again. I also want to have controls that allow the user to go to the next, previous, and pause/play the cycle. Since this will vary based on the page, I'd like to have some dynamic
[jQuery] Superfish feature request
<!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.16544" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=968271715-02012008><FONT face=Verdana size=2>I am thoroughly enjoying the Superfish menu.. However, I would love to see the following option: when a submenu falls outside of the window, it's position should be adapted in order to fit. Just like most operating systems handle
[jQuery] Looking for jquery dev for job?
I am looking for an experienced jquery developer to work with me on a project? Any recommendations are welcome. :-) Please contact me at mike -at- yadab -dot- com
[jQuery] livequery runs only once...
This runs for the first input.Edit I click, but then never again: $("input.Edit").livequery('click',function(event){ $.get("index.php?fnc=ajax_get_newHTML", { id: $ (this).attr("id") }, function(newHTML){ $("body").append(newHTML); }); return false; }); Why doesn't it bind to all future input.Edit's?? ALSO: newHTML includes <a href="" id="newItem">Item</a> A livequery call is supposed to add a 'click' event handler to "a#newItem": $("a.newItem").livequery('click',function(event){ var tag = prompt("Please
Caja 2007 (was: Innocent code vs Caja)
On Dec 28, 2007 2:30 PM, John Resig <jeresig@gmail.com> wrote: > > This seems like a safe hypothesis. Considering that, in jQuery, we're > usually just looping over vanilla objects to snag their properties > (treating them like a hash-map) - or looping over custom objects (but > using for(;;)) - so we'd be safe with these rules. Thanks for the feedback John, it was very useful. I've just uploaded a new draft/unready/untested "erights/first-class" gvn microbranch of caja.js that does not modify Object.prototype
[jQuery] autosave textarea to cookie
is there any plugin for that? does anyone use one? Thanks.
[jQuery] my new plugins
Here is a demo of them http://www.kaizendigital.com/test/codereck_javascript.php Current these are the features: Tabs: load tab from content on page load content from remote page(ajax) with loading animation(going to be optional) add callback before and after tab loaded. Paginator: Basic, loads data from a remote page, you just need to page the page, how many items there are and how many items per page. Currently there is very styling, just working on functional for now. What else would you like
[jQuery] timing effects
How do I make the remove() occur only after the fadeOut() is finished? $("someDiv").fadeOut(2000).remove();
[jQuery] ui.datepicker documentation inconsistencies
I'm sure this is old news, but.... Getting details for the Datepicker plugin isn't very smooth. Going through http://plugins.jquery.com, and bringing up the plugin page and then clicking the Home Page link. This takes you to Kelvin Luck's URL (http://kelvinluck.com/assets/jquery/datePicker/). However this seems to be out of date, as the Marc Grabanski (http://marcgrabanski.com/code/ui-datepicker/) URL shows version 3.2 (not v2 as indicated by Kelvin's page). Clicking the documentation link (from
[jQuery] openWYSIWYG and jQuery
Anyone familiar with openWYSIWYG (v1.0)? http://www.openwebware.com/ I cannot get it to work when I'm also using jQuery. Anyone figured it out? The forums at openWYSIWYG have the latest version (v1.4.7), but it doesn't work either. Jason
[jQuery] adding conditional to $("x")
Hi all, I'd like to do the following: walk through the DOM stopping at: input[@type=submit] and conditionally add a class to each input tag: if input[@type=submit].val() < 5 then .addClass('S') if input[@type=submit].val() > 10 then .addClass('L') else .addClass('M') Can I still use the lovely $() construct? Thanks:-) Dug -- Dug Falby +44 75 15 66 16 55 http://www.donkeyontheedge.com/
[jQuery] 1.2.2--strictly bug fixes and optimizations? Or have features been added?
Is 1.2.2 a cleaner 1.2.1? Or are there some new features as well? Is there a roadmap somewhere? What's next? 1.3 or 2.0?
Next Page