[jQuery] Strange Delay
Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy. The weird thing is though, if you click on the 'rates' link or the 'main' link and then back to the 'faq' link, when you click on one of the bold questions, you get an annoying delay of approx half a second, and I shed a tear. I can't for the life of me figure this out. Can anyone see what could be causing the delay please?
[jQuery] Validator plugin problem with radio buttons
I have two radio buttons on a form - one to select payment by card, another to select an alternate method. I'm using Jorn's validation plugin to validate the credit card fields but ONLY IF the credit card radio is ticked: "CCType": { required: $("#paycredit").is(":checked") } However, this isn't working quite right - the button is checked by default when the page loads. I uncheck it, and it STILL executes the validation. If, on the other hand, I load the page with the ALTERNATE button ticked, the
[jQuery] hiding a div when another div becomes empty?
Hi all, I am removing links from a div when they are clicked on using the code below: $('#hiddenleft a').livequery('click', function() { var $this = $(this).attr("class"); $('#'+$this).show(); $(this).remove(); }); when all links are removed, i want hide that div & the div above it - hiddencontent . the links are displayed in the following divs: <div id="hiddencontent">hidden items</div> <div id="hiddenitems"><div id="hiddenleft"> ...links...</div></div> any ideas on how i
[jQuery] Tooltips
Can jquery or a plugin do this: On http://www.ns.nl -> click on the inputfield next to 'station'. A text balloon shows up and disappears when you click somewhere on the page. It would be great if you could change the text in the balloon for each input field.
[jQuery] Fade out the whole page before loading next page
I need to add a simple effect to my website but I've been searching all afternoon with no luck, hope someone can help me. I need to add a Fade out effect to the entire page whe the user clicks a link leaving the current page. How can I do it?
[jQuery] selectors question
hi list I try to access the innerHTML of a list to change it's content to links with wich I wand to insert the text of the list to an input field. the code looks like this: <input name="Categories" class="listcomplete" value="Cat1 Cat2 Cat3"> <ul> <li>Cat1</li> <li>Cat2</li> <li>Cat3</li> <li>Cat4</li> <li>Cat5</li> </ul> list items should change to: <a href="javascript:updateInputField('inputname', 'Cat1')">Cat1</a> So I need an array of all list items. This so var I could like this. function setLinks()
[jQuery] BlockUI: Compress Version
Hi, I like blockUI, it's a nice plugin ! I suggest to propose a minified version and a packed version for this plugin. And, or can you see the changelog ? Thx, M@tthieu PS : sorry for my bad english :(
[jQuery] MooTools to Query
Hi, I have a coda slider working using mootools, but want to use JQuery as my main library. I have this code for my slider: window.addEvent('domready', function(){ var scroll = new Fx.Scroll('demo-wrapper', { wait: false, duration: 1000,//Speed to slide transition: Fx.Transitions.Quad.easeInOut }); $('link1').addEvent('click', function(event) { event = new Event(event).stop(); scroll.toElement('content1'); }); $('link2').addEvent('click',
[jQuery] jsonp in GAE for jQuery xss
Alphabet soup! I think I'm trying to learn too many new things at once... Anyone got examples for Google App Engine deliving basic web service type API's ? A "hello world" type example would do nicely - I would like to serialize objects and return them with jsonp so I can fetch them from jQuery code running on multiple sites.
[jQuery] Drag content from a page into a portal area - is it possible?
Hi can anyone help? I was just wondering whether anyone has come across any scripts which you have a portal in a page that you can update the content of - sort of like the functionality used in drag and drop shopping carts etc where you can drag an item into the basket area of the site - and that basket will update. Only i want to be able to drag content into a portal instead - and then be able to move that around. I've done a quick search on the net but at the moment i've not really come up with
[jQuery] keycodes abstraction layer for different platforms
I've noticed that the keycodes of < and > didn't work as expected on Windows (using the thickbox's keycodes). Keycodes of arrows 37 and 39 work fine. Is there a plugin that abstracts keyboard events from the platform of the browser? Something like if (keycode === 190) // actual if(jQuery.keycode(">")) // desired Thanks.<br clear="all"> -- Massimiliano Balestrieri <a href="http://www.maxb.net/blog/" target="_blank">http://www.maxb.net/blog/</a> <a href="mailto:io@maxb.net" target="_blank">io@maxb.net</a>
[jQuery] Sometimes my dynamic content doesn't load - please help!
Hi, I've got a series of pages with different stylesheets and different jquery content occurring. In Fx 2 on my mac things are fine, I can click all of the links and pages load just fine. In Safari, every time I click a link for the first time I get a white flash and none of the content that is displayed dynamically by jquery is displayed. However the second time I click a link the pages load just fine and on all subsequent loads until the browser is restarted. In Fx 3 on my mac I have the same problem
[jQuery] when to call noConflict?
hi everybody I have some code where i need to use jQuery.noConflict() Do i call it before or after jQuery(document).ready() ?
[jQuery] Flicker code in js
Hi guys...! Is there any sample coding for integrating FLICKER PHOTO by JS ( i am new to JS ) ... if yes please send any sample link thanks in advance Austin
Navigation scrolling
How would i make Navigation starting to scroll after some point and then stucks fixed at top. Like in http://www.espresso-online.info/ when u scroll "older page 1 -14" is always visible
[jQuery] Only Acept Number and "." or ","
I need to create a input, but only acept numer or this caracter "." or "," Español. Necesito crear un input, pero que únicamente acepte números o los caracteres "." ò ",". Gracias. Don Quijote de Nicaragua. Elder Soto.
[jQuery] jScrollPane ie error on ajax response
I've been using the jScrollPane on two divs in my page. Everything works fine in FireFox and Safari, but both IE 6 & 7 returns an error. if I remove the line, i get no errors in IE. [code] $(holdTracks).jScrollPane(); [/code] The error I do get with this line in place is in the jQuery file, I've tried version 1.2.3 and 1.2.4 The error is [code] if(value!=undefined)elem[name]=value;return elem[name];} [/code] this error means nothing to me. here's the code I'm using. First the code where the jScroll
[jQuery] reflect.js question
Hi, a very simple html with reflection <a href='xxxx"><img src=abc.jpg class="reflect"></a> once call reflection JS, it taken effect of the image, but href feature are disappear, why? thanks/Davis.
[jQuery] Need to assign and then track a class after browser refreshes
I like the accordion plug in, but it does not do everything that I need. So I rebuilt everything to do what I needed it to... with one exception. I need to have a "last active state". By that I mean, I need to first set and then track an active state in my accordion. Using the jquery.cookie.js plug in, I am able to write the cookie. However, I can't figure out the following: 1. How to track where the last click was... 2. How to reintroduce the classes assigned to that click. I may be going about
[jQuery] BlockUI: What's wrong with this code?
Can anyone tell me what's wrong with the following code: $(function(){ $(".thumb").bind("mouseover", function(){ $(this).blockUI({ message: $(this).attr("alt") }) }).bind("mouseout",function(){ $(this).unblockUI(); }); }); the "thumb" class is applied to a bunch of images on my page. when I mouseover the image I want a layer put up over just
[jQuery] Checking a radio button
Hi, When my page loads, I'd like to check a radio button whose ids are "Demo" and whose value is "hello". How do I do this with JQuery? Thanks, - Dave
[jQuery] alert shows value, but can't get it passed to a function??
Hey, I'm kinda stumped on this one, but I'm sure it's not that complicated. I'm using jmaps to load a google map, and i can set the zoom with mapZoom by manually entering 'mapZoom: 12', etc. However I have a form, and I am trying to adjust the maps zoom based on the range selected in the form. I have an alert, and it shows the right value, and the other value from the .split (range) works perfectly, and is below the 'zoom2', but zoom2 just doesn't work. Can you see my mistake? I can't find it. [code]
[jQuery] attr difference in Firefox and IE7
Hi, I'm using the .attr() to set attributes of an img tag. This works in Firefox 2.0.0.14 but not in Internet Explorer 7. The offending piece of code is $('#preview').livequery(function() { $('#preview').attr('src',previewImage); $('#preview').attr('width','302px'); $('#preview').attr('height','188px'); return false; }); Works in FF but in IE, only the src is changed. The width and height remain unaffected. To see, check http://sid-deswal.110mb.com and click on 'Themes' And I can't
[jQuery] Need your help (Newbie) for HHeaings Tags visble and invisible
<body> <h1>Title I </h1> <h2>Chapter I </h2> <h5>Art. 1.</h5> Ut labore et dolore magna aliqua. Eu fugiat nulla pariatur. Duis aute irure dolor quis nostrud exercitation excepteur sint occaecat.</ p> Ut labore et dolore magna aliqua. Eu fugiat nulla pariatur. Duis aute irure dolor quis nostrud exercitation excepteur sint occaecat.</ p> Ut labore et dolore magna aliqua. Eu fugiat nulla pariatur. Duis aute irure dolor quis nostrud exercitation excepteur sint occaecat.</ p> <h2>Chapter II</h2> <h3>Section
[jQuery] [autocomplete] Is there an update planned to work with jQ 1.4 ?
Hello everybody, Since Dimensions plugin is fully included into the next jQuery release, do you plan (Jörn or someone else) to update your autocomplete plugin ? More infos : http://blog.brandonaaron.net/2008/05/09/dimensions-now-in-jquery-core/ Thanx for your answers !
[jQuery] How to extract an object from a jQuery reference?
I'm not quite sure how to describe, or search for, my question in existing discussions. I apologize in advance for my lack of search savvy. I understand that you can take an ordinary DOM object and create a jQuery reference out of it: var myDOMObject = document.myform.mytextfield; var myJQueryRef = $(myDOMObject); var myHtml = myJQueryRef.html(); I know, I can chain. But for the sake of this example, I won't. Is there a way to do the opposite? An imaginary method could be: var extractedDOMObject
[jQuery] [tooltip] explorer 6 conditional statement?
I've using the tooltip script from bassistance.de and I have some issues with IE6. The jquery code has a line that defines the position of the tooltip (top: 15;) I'm not 100% sure why, but for all other browsers, the value for "top" should be -60 and just for IE6, it should be 100 Is there any way I can add a line to the jquery.tooltip.js file that will target the change for IE6? The link is: http://www.projects.redpointdesign.ca/rp/index.php I am using a conditional css for IE6. I'm not a javascript
[jQuery] Show element onclick
I have a list of divs that I would like to display one at a time when a link is clicked. How would I do this with jQuery? <a href="#">Show another</a> <div>Content 1</div> <div style="display:none;">Content 2</div> <div style="display:none;">Content 3</div> <div style="display:none;">Content 4</div> <div style="display:none;">Content 5</div> <div style="display:none;">Content 6</div> What I would like to do is reveal the next div in the list when the "Show another" link is clicked, allowing the user
Simple Ajax Uploading File
hail to all i need the simple tutorial or example for jquery ajax file uploading. thanks.
[jQuery] [SITE] Site
<a href="http://www.eurovision.tv/">http://www.eurovision.tv/</a> on pages dedicated to each contestant. At least, they use lyte(light)box and sifr. <br clear="all"> -- Dragan Krstić krdr <a href="http://krdr.ebloggy.com/">http://krdr.ebloggy.com/</a>
[jQuery] .css question
Hi, i got a simple html <a href="abc"> <img id="xxx" src="{$image_dir}mu_ad_space.png" border="0" alt="" /> </a> once i applied $('#xxx').css({position:'absolute',top:'250px'}), it taken effect, but why href are disappear? appreciated for any input. Thanks/Davis.
[jQuery] livequery in navigation
I am using jquery and superfish in my horizontal navigation menu. The navigation is loaded via an external file. The drop down menus set up nicely, and I have js set up so that when a user select a menu item, different content is loaded into a <div> in the middle of the page depending on what they click on. I just switched to livequery, so my js is: $(document).ready(function() { ('#home') .livequery('click', (function() { $('#content').load('index.php') return false; }) ('#search') .livequery('click',
[jQuery] Thumbnail Cycle Plugin ala YouTube?
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] jscrollPane scroll to can't find first element
Hey, I'm using Kevin Luck's jScrollPane on an ajax retrieved list. The first time I call the page, it works no problem, but when I reload the ajax content, if the user has scrolled down, the scroll doesn't return to the top. I call the jScrollPane again on each ajax reload so that the scroller adjusts to the length of content on the page. But the scroller does not return to the top of the sroller. So i've tried adding the .scrollTo function but can't seem to get that to work. I've tried .scrollTo(2)
[jQuery] Weather forecast recommendation?
Hi! I am looking for a nice looking 2 or other multiple-day weather forecast. Does anybody have good recommendations (also for commercial use)? Thanks for your help!
[jQuery] Best RSS/XML/News feeder for jTabs?
Does anybody have experiences with setting up a news feeder for jTabs/ Tab browsing? (like Yahoo is doing it?) I am confused with all the info on the web. Thank you!
[jQuery] Accordian crashes IE6
Hi, I can't seem to figure out why IE6 crashes with this accordian script. Here is a live demo: http://tiny.cc/TIQ11 <script type="text/javascript" src="http://code.jquery.com/jquery- latest.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ ui/ui.core.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ ui/ui.accordion.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#resources> div").hide();
[jQuery] Traversing AJAX Response?
Is it possible to parse the HTML of an AJAX response and grab only a certain piece of the response to be displayed by the caller? Specifically, I'm trying to modify a page so that when I hover over a certain set of links, a pop-up window is displayed with the link's target in the pop-up. The problem is that the URL is an entire webpage, and I only want to display a certain piece of text from this webpage. Is it possible to traverse the AJAX response using selectors so that I can grab a certain div
[jQuery] Finder like navigational widget
Hi, Does anyone know of and OS X Finder style widget/plugin? As in, several lists of items, click one a list of child items appear in the list to the right etc. Cheers Rory
[jQuery] Using javascript on Ajax loaded content?
Hi there I am having trouble using javascript on contact that was pulled in using Ajax. I assume this is because the javascript already loaded when the page loaded that any new content won't be affected by it. Am I wrong on this? Is there a way to use javascript on the new Ajax loaded content? Thanks
Next Page