[jQuery] [SITE SUBMISSION] http://www.getitnext.com/
I found this in the wild: http://www.getitnext.com/ It helps to make searching for eBay items easier. Looks like they're using: jqModal.js jquery.dimensions.js jquery.hoverintent.js jquery.cluetip.js Additional press about them: http://www.auctionbytes.com/cab/abu/y207/m11/abu0202/s02 Rey...
[jQuery] Thickbox and javascript
Hi, Thickbox has been working very well, now I need to use it to pop up a page which also loads javascript as well, thickbox does not work in this situation, with iFrame option, it works, but that's not what I need. any solution to this? Thanks. A.C.
[jQuery] validate on ajaxform
let me first say i'm more of a designer then a programmer but i've whipped up some jquery to submit a form via ajaxform but i need to validate can anyone help me out? I'm just looking to do bare bones validate (make border red on error input field) heres my code jquery ---------- $(document).ready(function(){ $("#extra").css("display","none"); $("#checkme").click(function(){ if ($("#checkme").is(":checked")) { $("#extra").slideDown("slow"); }else{
[jQuery] Changing "a:hover" style
Hi; It is easy to select links just like $('a') however I want to change a:hover style dynamically. I try $('a:hover').css("color","#000") or whatevet, but it doesnt work. I think it recognize " : " signnn as a different selector. Can anybody tell me how to change a:.hover or a:visited style? Thanks a lot.
[jQuery] Alternatives to dom ready() for running Jquery code
Hey all, I've ran into a problem where I get code that runs occasionally on IE6 and IE7. It's working fine in Firefox, of course :/ The code I have is: $(document).ready(function(){ //$(function() headline_count = $("div.headline").size(); $("div.headline:eq("+current_headline+")").css('top','5px'); headline_interval = setInterval(headline_rotate,9000); //time in milliseconds $('#scrollup').hover(function() { clearInterval(headline_interval); }, function() { headline_interval = setInterval(headline_rotate,9000);
jQuery Fade Procedure works in Firefox but not in Safari?
This code works perfectly in Firefox, but in Safari, after the element fades in, it fades out again! The alert call only fires once, so it doesn't even seem like my call to fadeOut is even called a second time. Here's the code. function ScrollToDiv(theDivID) { $("html,body").animate({ scrollTop: $("#"+theDivID).offset().top }); } function ReplaceFormHelpButtonsWithImageOnlyHelpButtons () { var theHTMLString = '<img SRC="/images/Help_Button.gif" ALT="?"/> '; $("#help_button").html(theHTMLString);
[jQuery] Fade Function Works in Firefox but Not in Safari?
This code works perfectly in Firefox, but in Safari, after the element fades in, it fades out again! The alert call only fires once, so it doesn't even seem like my call to fadeOut is even called a second time. Here's the code. function ScrollToDiv(theDivID) { $("html,body").animate({ scrollTop: $("#"+theDivID).offset().top }); } function ReplaceFormHelpButtonsWithImageOnlyHelpButtons () { var theHTMLString = ' /images/Help_Button.gif '; $("#help_button").html(theHTMLString); } $(document).ready(function()
[jQuery] stick sidebar
I'm having problem to find out how to do that Dont know the keywords to google it I need an sidebar (like the one on the right at mininova.org) always showing up at the top of the browser, no mater what part of the page the user are. How can I do that? What's the event? thanks Feijó
[jQuery] Performing a function if an element is present
Hello, I'm getting started with jQuery and have read several tutorials, but would appreciate clarification: How can I create a simple conditional statement to check for the presence of a certain element on a page, such as an anchor with a certain class or id, and then perform a function? I hope that this is an appropriate place to ask this question. If it is not, I would appreciate any direction as to where might be more appropriate. Thank you! Ezra Gildesgame
[jQuery] selecting an appended element
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I have a problem with jQuery running on IE 6 and i hope you can help me. I want to dynamically add / remove child elements (items) all with the same basic structure to a <div> container. In order to do so, initially I have the container with a hidden prototype version of the item as the only child. When a creation of a new item is requeested i simply do something like jQuery('.container .item') .slice(0, 1) // select the prototype (first child)
[jQuery] Is it possible to use display:inline instead of block when running FadeIn or FadeOut?
When using fadein or fadeout they both set the element to display:block - is it possible to tell it to set it to display: inline instead?
[jQuery] Is this posible with JQUERY?
http://vikjavev.no/highslide/ extra fine jscript... does jQuery have a plug-in like that?
[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] jqModal timing issue
I'm not sure if I'm doing things quite right with jqModal (the docs are rather sparse). What I'm having a problem with is opening a dialog box (ajax call), and applying a click event handler to my "save" link. This sometimes works, and sometimes not. Even with a timer added, the handler sometimes is not applied, regardless of the timeout value I use. So I'm looking for a better way, or the bug in my routine.... Here's my code: $("#dialogOrg").jqm({ ajax: "dialogs/org.htm?r=" + Math.random(), trigger:
[jQuery] Advanced Problem - Any takers? (Repost - didn't seem to show up)
I'm dynamically inserting html into a page that only contains an image. Such as... <html> <body> <img src="http://my_domain.com/my_image.jpg"/> </body> </html> my script has a large amount of html that i want to insert. the html is stored in a variable . Such as.. var my_var = "<div>HI</div>"; (the actual html is much larger and more complicated than my example) I then have.. $('body').append(my_var); which you would think would insert the html into the page. it doesn't, instead it just inserts it
[jQuery] unsubscribe
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
[jQuery] is it possible to call jqModal after the page has loaded?
Hi. I would like to call jqm on an element's onclick event. It does not work. Why is that? Is it MANDATORY to make these calls inside the $().ready function? Is it impossible to do something like this $('#myDiv').jqm({ajax: '@href', trigger: 'a.ex2trigger'}); inside a button's onclick event? Thank you! -- View this message in context: http://www.nabble.com/is-it-possible-to-call-jqModal-after-the-page-has-loaded--tf4691602s27240.html#a13409161 Sent from the jQuery General Discussion mailing list
[jQuery] jQuery AJAX Docs
Are there any resources for newbies that explain how to do AJAX calls with jQuery ? Thanks, Dave Buchholz
Locking a DIV
Sup ppl, Just one question about layers and stuff it might be easy to solve this one with JQuery. Thing is as follows... I'm working on this website layout which has loads of DiVs in order to place every single part of the page properly around the layout!... i got a dinamically size increasing tree on a layer wich grows whenever certain event is triggered but then it grows over the footer layer which is located on the bottom of the layout. What im trying to achieve here is to remain the footer layer
[jQuery] Cluetip takes elements title away
It seems that when trickering cluetip plugin: $('p.latest a').cluetip({width:'400px'}); It empties the given elements title value. This becomes a problem as I have thickbox also attached to the element and clicking on it makes the title, thus caption of the thickbox window undefined. I have it in use here: http://paazio.nanbudo.fi/martial-arts/nanbudo The first icon from the left on the video link. Perhaps the cluetip could be changed to copy the title instead of cutting? Paazio
[jQuery] Namespace conflict
Hello, I want re-organize the jquery namespace into a more meaningful namespace, but I can't make it success, e.g. <html> <head> <script src="jquery-1.2.1.pack.js"></script> <script> var company = {}; var company.animation = {}; // Why this didn't work? company.query = jQuery.noConflict(true); </script> </head> <body> <script> company.query ( function() { alert('test'); } ); </script> </body></html> If I removed the `var company.animation ..`, then
[jQuery] select text for LI
I'm trying to select text inside list items. I'm using jQuery's .text( ) method. Unfortunately, that returns the text of all children as well. That means for a nested list like this <ul> <li>index.html</li> <li>about <ul> <li>index.html</li> <li>more.html</li> </ul> </li> </ul> $('li').eq(1).text() returns 'about index.html more.html' I just want to retrieve "about" not the text from the child list items. Any ideas on how to do that? thanks
[jQuery] Accessing height attribute in <a>
Hi, I'd like to retrieve the value of Height attribute in the following code(taken from Thickbox): function tb_init(domChunk){ $(domChunk).click(function(){ var t = this.title || this.name || null; var a = this.href || this.alt; var g = this.rel || false; var myHeight = this.attr("height"); // this line does not work at all, will abort thickbox as well tb_show(t,a,g); this.blur(); return false; }); } the element at this point is something like : <a class="thickbox"
[jQuery] jXML
Any docs or info on jXML? Can't find for searching Found a tutorial here http://blog.reindel.com/2007/09/24/jquery-and-xml-revisited/ but looking for more specific information. Is jXML included in jQuery 1.2.1?
[jQuery] cluetip + rounded corners + arrows
Hello! I finally ended up with cluetip for my needs, but have been sitting here the whole day trying to figure out how to use arrows and rounded corners (in need of 4 backgrounds + 1 arrow at the same time). Any ideas on the approach? tried to modify the rounded-template, but sides keep disappearing etc - John Sverre
[jQuery] fadeOut behaving funny
i have a page where a form is submitted to the same page, using php (no ajax). if the query that writes the data to the db is successful it sets $marker = 1; in the <head> of my page i then i have the code below, which tries to achieve the "yellow fade" technique: a message appears to indicate success and then slowly fades out. problem is that with the code below, it appears for just a split second and then abruptly disappears. could anyone tell me why and how to get this to work? <? if ($marker
[jQuery] Thickbox 3: a link to close the box
Hi, I tried thinkbox and like it very much, here is a situation I like to ask: I use Thickbox to popup a page which does not include Thickbox.js, when I click 'Cancel' or press escape, the page closes and the old page was shown at its original state, good. I'd like to put a link in the pop up page which will trigger the 'Cancel' event, is this possible? Thanks. A.C.
[jQuery] AJAX calls with dynamic variables.
Here is an example found in the documentation : $.get("test.php", { name: "John", time: "2pm" } ); How do I go about changing the parameters dynamically. Let's say I have a function that returns a name. I don't want "John", I want the string retuned from my getName() function
[jQuery] Best Practice
Hello All, I am a newbie and am trying to learn jQuery. I created this function: function getRecord(id,URL){ jQuery("#ResultsTable tr").filter(".selected").removeClass("selected"); jQuery("#"+id).addClass("selected"); ..... It goes on to return a record. The first line above removes a highlighted (selected) rows in a table. The next line highlights the currently selected row. This works but am worried that it is not the best coding by using "#ResultsTable tr" and that this type
[jQuery] NEWS: Google Code Using jQuery
While it was mentioned earlier, I found blog posts from Dion Almaer and DeWitt Clinton, both Google employees. Dion: http://almaer.com/blog/google-code-relaunches-new-redesign-using-jquery-great-video-content-and-more DeWitt: http://google-code-updates.blogspot.com/2007/11/my-how-weve-grown.html jQuery Blog: http://jquery.com/blog/ Rey...
[jQuery] SuperFish Menu & Flash
Hi all, I have been testing the SuperFish menu and and very impressed with it's features. However, when I included a Flash slideshow my menu no longer can be seen. I have followed all advise I can find on forums re: CSS z-index values and setting <param name="wmode" value="transparent" /> still to no effect. I would be grateful for any further help as I don't wish to change the menu at this stage. View the menu here: http://rican.ictirl.com/home/menu.htm regards, gracetec
[jQuery] Text Flickering/Distorting with Drop Down Menu (Superfish Javascript)
The rollovers and drop down items on my menu are causing the text on my site to distort and move. Not only the text in the menu, but also text underneath it, which I don't understand at all. Right now I am using the "Superfish" menu and the problem mainly occurs in Firefox: http://www.keithmuth.net/centennial/tests/ Please let me know if there is a fix for this, it is really distracting and looks terrible. I've been told that it is the way Firefox handles the alpha channel, but wasn't sure if there
[jQuery] AjaxCFC and blockUI -> event binding issue
Hi All, I'm using AjaxCFC, which (at the time I pulled it down) came with jquery.block.js version: /* * jQuery blockUI plugin (by M. Alsup) * Version 0.4 (12/27/2006) * @requires jQuery v1.0 * @license: Free beer and free speech. Enjoy! */ The AjaxCFC code I have is used in a lot of places in my app, as is blockUI, but I've always had an issue where if I try to rebind event handlers to objects that are blocked using inline blocking (blocking on a div instead of the full page), the binding doesn't
[jQuery] Selector for Toggled Element
I'm trying to write an if statement based on the toggled state of an element (a table, in this case). Attempting to select the table by any combination of id, class, and/or element type doesn't work. Using Firefox, I can see that the table is toggled between display:table and display:hidden. The selector that jQuery appears do be using is element.style. This selector is apparently built on-the-fly, as it's not one of mine. I thought 'aha, select it by using $("element.style")!' This didn't work.
[jQuery] Superfish, bgiframe, jQuery 1.2 issues...
I am currently working on a site for a client. The site can be viewed at www.allphasesfence.com. The issues that I am having are the following things: jQuery 1.2 does not seem to even be working. Menu's work fine under FF. The hover is not working in IE7. The menu's do not work at all in IE6. The following is my commented css: /* This file is commented in great detail for educational purposes. There is also * an uncommented version for use production use here: * http://users.tpg.com.au/j_birch/plugins/superfish/superfish.css
[jQuery] How do you do Client/Server interaction? (CakePHP/JSON/jQuery)
Apologies for the cross posting here, but I myself am at a bit of a crossroads in my applications development, and I'd like to take the time to put out this email in the hopes that it generates some good discussion, and can maybe teach me a few things. A little background first to my issues. I am developing my application at the moment (pastemonkey.org) and it's being built on CakePHP and jQuery. At the moment, I'm using a lot of CakePHP's built in stuff to generate my HTML, and I'm using jQuery
[jQuery] Guess who is using jquery, too?
Take a look at the source from http://code.google.com :-) Regards, frank
[jQuery] clueTips hangs on FF with $ signs in the ajax data.
I am playing the clueTips and get this problem: I tried to get the content via ajax, but there are $ signs in the content. The clueTip works fine on IE+XP and Konqueror+Linux, but it hangs if there are $ signs in the ajax data. otherwise, it is just fine. How to deal with this? Thanks a lot. VW
[jQuery] Validation plugin broken in IE6?
Hey all, It seems that either the Validation plugin is broken in IE6, or I am going crazy. I set up very simple test cases: http://www.igigi.com/tests/testvalidate.html (with email validation) On IE6, JS alert errors are thrown which appear to be related to the email regex. http://www.igigi.com/tests/testvalidate2.html (no email validation) On IE6, no error message is placed after the field when the field is not filled out. Both of these examples work exactly as expected on Firefox. I am just hoping
[jQuery] Form Valdation Issues
Hi There, I could use some jquery help here. This probably something very simple that I'm missing. I started using jquery a few weeks ago so please bear with me. In a nut shell, when a user submits the form (form id="register"), I want it check to make sure they have selected a radio button (class="amount"). If they forgot, I want it turn the #billing id (<h2 id="billing>) red. I have server side validation working using PHP. This is more of a visual indicator. I'm using the validate.js plug-in and
Next Page