[jQuery] replace XPath functions for XML parsing
I'd like to keep up with the new jquery release and abandon my xpath code for parsing xml, but I haven't seen anything that will do what i need. Here's an example of what i did with xpath: //xml <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.0"> <Document> <Folder> <name>Final_Label_geom</name> <open>1</open> <Placemark> <Style> <IconStyle> <color>ffc0c0c0</color>
[jQuery] Canvas based Mocha UI
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">For anyone who hasn't seen it yet, this is pretty awesome: <a class="moz-txt-link-freetext" href="http://ajaxian.com/archives/mocha-ui-mootools-canvas-ui-class">http://ajaxian.com/archives/mocha-ui-mootools-canvas-ui-class</a> Wasn't John working on some canvas stuff? Maybe we'll see a jQuery canvas-based UI? <a class="moz-txt-link-freetext" href="http://ejohn.org/blog/sneak-peek/">http://ejohn.org/blog/sneak-peek/</a>
[jQuery] tinyMCE jquery equivalent
Hi all I am looking for a tinyMCE jquery equivalent (if one exists)... Thanks, Frank
[jQuery] Using slideout in a ul
Hi , I want to render a list where each li has a link that when clicked reveals content sliding out. When clicked again the content will slide back up. Could someone please help me out. I'm a newy here and initial reads of tutorials only show a single caqse example rather than one that has uses this effect in the same UL. Any help would be appreicated.
[jQuery] Superfish not working on PHP page
I've got a page that dynamically loads an xml file and transforms it into a menu. I had wanted to use the nice fade effects of superfish but for some reason, no matter what I do, the animation won't happen! I've used the latest version of jQuery and made sure I use the provided CSS and all other included files but no joy. Will this even work on a PHP page?
[jQuery] updated Tablefilter Feedback please
Sometime back I created the first test version of table filter. Quite some time has past and I've taken on lots of the ideas that where mentioned. I'm now back again. If people could take a look at the work I've done and provide feedback. This is currently a headless plugin. Event driven only. I've not provided any documentation yet, the full release will contain more examples documentation etc. It's worth noting that the plugin has support for custom filters. http://code.jdempster.com/jquery/trunk/tablefilter/jquery.tablefilter.example.html
[jQuery] Tab plugin always first tab after reload
Hi, I installed the Tab Plugin in my page and I got a question: Once I'm in the second tab and my page get reloaded, I always return to the first tab. Is it possible to stay in the second tab after a page reload? Can someone give me an example ? Thank you
[jQuery] SITE SUBMISSION: iFilm.com
Another high-profile jQuery site: iFilm.com/Spike Digital Entertainment – Leading online video network, serving user-uploaded and professional content to over ten million viewers monthly. Rey...
[jQuery] starter
respected seniors i found out jquery on my way to something else and realised how great it is n decided to start learning it. i have just written my very first code with jQuery but it doesnt seem to work: <html> <head> <title>tut1</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $("a").click(function(){ $(this).hide("slow"); return false; });abc </script> </head> <body> Click <a href="http://www.yahoo.com">here</a> </body> </html> jquery.js is in the
[jQuery] Superfish v1.3.1 - ie third level menu clipping display problem
Hello all, I had a problem that was very similar (prol' the same as) this guys: http://groups.google.com/group/jquery-en/browse_thread/thread/6112ba78fd2acc1 In other words, I do not see my third-level menu when using the vertical.css and a few modifications. Mostly, I widened the width's to 18, reduced the padding, and used a bold verdana font at .9em. Everything's cool in Firefox; work's great! Even fourth level is beautiful. IE just doesn't show anything outside the "bounding" area of the containing
[jQuery] jQuery Bandwagon! Wohoo!
Hello Everyone, I just hopped on and I'm working on the following functionality so if there are any examples or tutorials that do anything like this I'd love to hear about them. I realize I will eventually figure all this out but if anyone knows of any working models, examples that are close to what I want or a list of what methods to study would be greatly appreciated because it would speed things up. (And that's what we're all here for right? �� ) Type 'n List: I would like to type into a box.
[jQuery] Cycle and Ajax give problems
The Cycle plugin for jQuery http://www.malsup.com/jquery/cycle/ , wont work if i load the images to be "cycled" with ajax. This works as the pictures are staticly on the page, like on the cycle webpage: $(function() { // run the code in the markup! $("#fade").cycle(); } ); #fade: <div id="fade" class="pics"> <img src="img1.jpg" width="200px" height="200px" /> <img src="img2.jpg" width="200px" height="200px" /> </div> But if i want to load the pictures from a file using some
[jQuery] Duplicate row in a table + Masked Input Plugin for jQuery v1.1.1
Hello everyone I am a html page like this <head> <SCRIPT LANGUAJE="JavaScript"> $(document).ready(function(){ hideLoading(); $("#btnAdd").click(function(){ addRow(); }); $("#dbirthdate").mask("99/99/9999"); }) function addRow() { var clonedRow = $("#gridBody tr:last").clone(true); $("#gridBody").append(clonedRow); } </SCRIPT> </head> <table> <thead> <tr> <th></th> <th>Nombre</th> <th>Fecha de nacimiento</th> <th>Parentesco</th> </tr> </thead> <tbody id="gridBody"> <tr id="rowx"> <td> <input type="text"
[jQuery] TableCloth
Hello, I have found a really good script for row and column hightlight, maybe the best one I saw until now: http://cssglobe.com/lab/tablecloth/ Is there something as good as this using JQuery? And is there any advantage of making this code using JQuery? Thanks, Miguel
[jQuery] new plugin: jClocke
i have been working on a plugin and have gotten to the point where i think i need some feedback. i'm sure there are bugs and code that could be better or is just bad practice. i haven't done any docs or extensive demos - this is just sort of a proof of concept. so have a look and feel welcome to reply. http://briskey.com/jClocke cheers, db
[jQuery] clueTip: activate from event in other element?
Forgive me if this is a dupe, but I did try searching through the clueTip threads. I have a page with an image and table of data. I've overlayed small divs with a marker image that represent the objects that are detailed in the table. When the user hovers over a link on a row in the table, I want to be able to activate the clueTiped anchor in the related overlay div. Is there a way to do this? Thanks much, - mars -
[jQuery] fValidate breaks jQuery
I am making an autocomplete text box for a page that also uses fValidate for form validation. As much as I might want to I can't ditch fValidate in favour of another library as there isn't time, but it seems that fValidate refuses to play nice with jQuery. Trying to add content to the page with html(), replace(), before(), append() etc will not work in IE 6 or 7 unless the fValidate includes are all commented out. Has anyone else run into this? What's causing it and what can I do about it?
[jQuery] [OT] Wordpress plugin release using jQuery and it plugins
Hey guys, Just wanted to drop a line and hopefully get some feedback on a Wordpress plugin I put together using some of jQuery plugins as well as the gallery plugins I put together.<br clear="all"> Have a look at the demo: <a href="http://galleries.benjaminsterling.com/wp-admin">http://galleries.benjaminsterling.com/wp-admin</a> un/pw: demo/demo Once in, click on the BSG tab. And the blog post and download at: <a href="http://benjaminsterling.com/2007/11/20/benjamin-sterling-galleries-wordpress-photoimage-gallery-plugin-for-flickr-picasa/">
[jQuery] Best way to detect collision or... how to select by element position
I have an application I'm trying to develop that has an interface much like a windows desktop, in which a user can drag icons to any position on the container, and the icons will stay there. Right now a user could stack icons by dragging one onto another one, but I don't want them to be able to do that: users should only be able to drag icons to places that don't collide with other icons. I thought that maybe I could try to select an element in the given position in a draggable callback function,
[jQuery] Cloning Question
When I clone, it causes my page to reset at the top of the page as if the anchor is reset. I have a form that adds schools, highschool and work places to a form and when the user "adds" a new school and the clone works but for some reason take you to the top of the page. Any ideas for a fix would be greatly appreciated.
[jQuery] Replace the horizontal scroll bars!!!??
Hi, I'm looking for a script in jquery to "Replace the vertical scroll bars". I found "jScrollPane.js" but is only for vertical scrollbar. I'd like to replace horizontal scroll bar with my images. Is it possible? Anybody have an idea? Thanks a lot . Fabio
[jQuery] Accordion Bug?
Hi all, I think I've found a bug with the accordion [1] component. $().activate(false) [2] doesn't seem to remove the "selectedClass" class from the header of the selected element, as I'd expect it to. I've made a simple test case over here... <a href="http://jason.m.cartwright.googlepages.com/accordionbug.html">http://jason.m.cartwright.googlepages.com/accordionbug.html</a> Could someone confirm this is a bug pls? Cheers, Jason [1] <a href="http://docs.jquery.com/UI/Accordion">http://docs.jquery.com/UI/Accordion</a>
[jQuery] Bug in jquery 1.2.1 .text() with Opera 9.x?
Hi. I have to strip html-tags from a string. I use $(a.response).text(), which works in FF 2.x, IE 7, Safari 3Beta, all on win xp, but with Opera 9.24 i get the complete html-document, while a.response is "[12:00] <span style...>Error</span>" Is there any other simple method to strip the span-tag? In general i would prefer the .text method, since its easy to use. TIA, frank aka dfd
[jQuery] ui.datepicker.js - setDateFor()
I just wasted an hour trying to figure out how to simply set the date for a datepicker from within code. So I'm posting what I've learned here hoping that I might save someone that hour themselves... What I was trying to do was to simply show a default date in my text box. I wanted to use the datepicker's methods so that a) I would have the same format as the results, and b) I wouldn't need to worry about creating a custom format method for the default that may or may not create a format that would
[jQuery] Suggest a plugin for slider-like construction
Greetings, Could you please suggest a plug-in to create the following slider-like construction: - two vertical areas of content - a vertical control (narrow rectangular area) separating the two content areas - when dragging control left or right, the result is the two content area are resized smoothly Thank you. With all respect, Konstantin
[jQuery] Accordion Header Image Replacement
I have a simple accordion set up with the code below, but I want to be able to change the header's background image from an up arrow state to down arrow state and back automatically. Any ideas on where to go from here? $(document).ready(function() { $('div.acc> div').hide(); $('div.acc> h1').click(function() { var $nextDiv = $(this).next(); var $visibleSiblings = $nextDiv.siblings('div:visible'); if ($visibleSiblings.length ) { $visibleSiblings.slideUp('slow',
[jQuery] Preloading images with a callback function
I understand how to preload images. Well, at least to an extent (although I'm sure jQuery must have some easier solution for this). But now I need to be able to send a callback function the moment the preload is complete. Anyone have any code on this?
[jQuery] Image replacement
I have an accordion-like setup for several divs to contract and expand when the header text is clicked on... On the line with the headers I have an arrow image which I would like to swap from up to down on show/hide. Can anyone provide some pointers? <span style="font-weight: bold;">jquery:</span> $(document).ready(function() { $('div.acc> div').hide(); $('div.acc> h1').click(function() { var $nextDiv = $(this).next(); var $visibleSiblings = $nextDiv.siblings('div:visible');
[jQuery] IE7 Tabs are invisible
Hello, I already did a search query on the site looking for other people having the same problem, but couldn't find any. My problem is the fact that I use FireFox as default browser, so I don't see any problems until I decide do check it in IE 7. Well this problem is really weird. Take a look at the snapshots: Internet Explorer: http://img87.imageshack.us/my.php?image=ie7nc8.png FireFox: http://img143.imageshack.us/my.php?image=firefoxiy1.png You can clearly see the difference. The code looks like
[jQuery] Performing actions at specific times of day, or at random?
Hi there! I'd like to load a different css stylesheet depending on the time of day. If it's 6am-12noon, it'll be one sheet. If it's 12noon-6pm it'll be another. And 6pm-6am, it'll be a third. I'm sure there must be an easy way of getting jQuery to take the browser's time and date, check which time range it falls within, and summon up the correct stylesheet (or simply add a class to the body tag, to which I'll hook css rules). Similarly, how would I get it to choose a stylesheet at random, from the
[jQuery] New plugin: Jquery Fx Queues
Hi, Since I needed a global queueing system for jquery's effects for a project, I decided to develop it myself. The result: http://jquery.com/plugins/project/fxqueues (http:// www.decodeuri.com/jqueryfxqueues/) As the introduction explains: "The jQuery Fx Queues plugin is a global queueing (duh!) system that allows to enqueue effects of different elements, but also keeps jQuery's default queueing option. A wait argument was also added to be able to specify the time to wait before starting the animation."
[jQuery] how to use :empty selector
hi all, i want to select all empty tag " <input type='text' ". I try this : $(document).ready(function() { $("input[type=text]:empty").each(function (i) { alert("vide"); $(this).val(i); }); }); But ALL tag " <input type='text' " are selected not ONLY the EMPTY one. PLZ help.
[jQuery] WAI-ARIA support in jQuery?
Hi! Is anyone working on implementing the appropriate WAI-ARIA roles, states and properties [1] where relevant in jQuery? [1]: http://www.w3.org/TR/aria-roadmap/ Regards, Peter Krantz
[jQuery] (this) question
Hello, a beginners question: */ JS ----------------------------------------------------- */ $('.wallpaper').each(function(){ $(this).find('.images > .anim').hide(); $(this).find('.buttons > .anim').click(function(event){ $('p').toggleClass( 'rainbows' ); $(this).find('p').toggleClass('fraggle'); // $(this).find('.images > .anim').show(); // $(this).find('.images > .static').hide(); return false; }) }); */ HTML -----------------------------------------------------
[jQuery] Ajax xhtml incompatability?
I'm trying to get a simple ajax load going, like the example on this page: http://docs.jquery.com/Ajax/load#urldatacallback. My source page is this xhtml file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> </head> <body> <div id="content">HELLO WORLD</div> </body> </html> When I try $('#destination').load('/test.xhtml? #content');
[jQuery] I need use bgIframe plugin with ClockPick puglin
Hi, I´m new. I want to use the bgIframe plugin with ClockPick puglin, because I have a "select" near to the clockPick and when you make a click and the clockpick expands the select is always first in Internet Explorer. I made this change in the ClockPick.js but only fix the div of the hours, not the div of minutes: line 56 of version 1.1 so so $hourcont = jQuery("<div id='CP_hourcont' class='CP' />"); $hourcont.bgIframe();//this is my line jQuery("body").append($hourcont); binder($hourcont);
[jQuery] I'm confused on how to parse XML using jquery's ajax feature.
<?xml version="1.0" encoding="ISO-8859-15"?> <pmtemplate> <reciever>Enter Your Friends name Here</reciever> <sender>webmaster@google.com</sender> <subject>We will be canceling your google account</subject> <body>Hello, FRIENDS NAME HERE It seems that we've been getting many complaints from different people about you abusing your Google account, and we are on the urge of canceling your Google account in 24 hours. If you have any questions contact us immediately. Regards, Google.com.
[jQuery] $(document).scroll() not functioning in IE?
I added some fun infinite scroll functionality to my employer's blog. http://molecularvoices.molecular.com/ All of it is based on a $(document).scroll() event that doesn't seem to fire in IE6 or 7. My alert() debugging shows that IE won't enter into the function attached to the scroll event.. You can test on the above link. Any ideas?
[jQuery] Tab that links to another page
Is it possible to create a tab that links directly to another page? I can't load the contents of the other page because of limitations in the app, but I want to keep the link consistent with the other tabs. How canI do that? -- Owen
[jQuery] Positioning an element towards the bottom, within limits
I'd like to position an element at the bottom of the screen. This is easy, using position: fixed and bottom: ...px. However, on screens higher than 600px, I'd like to fix it at 600px from the top. That is, if the screen is shorter than 600px, push it to the bottom of the screebn otherwise, push it down to 600px. Is there anyway to do this? If this can be done with CSS alone, great! If it needs jQuery, please let me know how to do it (of course, pure CSS would be preferred, but I don't know if it's
Next Page