stop/start function for slideshow - help
Hi all, I am trying to add a stop and start button for this slideshow: http://interface.eyecon.ro/demos/slideshow.html can anyone point me in the right direction, Cheers Jon
[jQuery] jQuery Not Adding Class/Attributes in IE
Hello all, For some reason this is not working in IE but fine in Safari/FF. jQuery('ul.nav a').addClass('scrollover').attr('type','scrollover'); You can see it on my site (www.siolon.com). It's suppose to add it in the navigation bar. Cheers.
[jQuery] Versions 1.2.5 and 1.2.6 not working with prototype
The latest releases of jQuery, i.e. 1.2.5 and 1.2.6 do not work in conjunction with prototype. I particular, the effects.js library of prototype and something in jQuery are not compatible. Below is an example of how to reproduce: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Test Page</title> <script type="text/javascript" src="/prototype/prototype.js"></ script> <script type="text/javascript" src="/prototype/effects.js"></
[jQuery] problems to trigger mouseout
Hi guys, I need a little help. I'm trying to create a toolTip Menu like shown in this picture: http://img233.imageshack.us/my.php?image=06criarestrutura10f16ij4.jpg the menu has the following behaviors: - when the mouse is over the blue link, tooltip menu apears. - when mouse goes out of tooltip's area, tooltip disapear. - 1 sec after mouse goes out of the link, tooltip disapear if mouse isnt at tooltip's area. I'm having problems in creating the third behavior. let me show you some code. Some working
[jQuery] jQuery UI Tutorials
Hi all, I just posted the second part in my jQuery UI Tutorials, this one is on the tabs widget, let me know what you think. I value your feedback. http://mdrisser.r1designs.net/blog
[jQuery] Selector help needed
Hi All, This is my DOM structure: <tr class="child1"> <td class="titleCell">First Name:</td> <td class="fieldCell"><input class="inputbox" value="John" /></td> </tr> <tr class="child1"> <td class="titleCell">Middle Name:</td> <td class="fieldCell"><input class="inputbox" value="Garry" /></td> </tr> <tr class="child2"> <td class="titleCell">First Name:</td> <td class="fieldCell"><input class="inputbox" value="Nick"
[jQuery] Selector help needed
Hi All, This is my DOM structure: <tr class="child1"> <td class="titleCell">First Name:</td> <td class="fieldCell"><input class="inputbox" value="John" /></td> </tr> <tr class="child1"> <td class="titleCell">Middle Name:</td> <td class="fieldCell"><input class="inputbox" value="Garry" /></td> </tr> <tr class="child2"> <td class="titleCell">First Name:</td> <td class="fieldCell"><input class="inputbox" value="Nick"
[jQuery] [Tooltp 1.2] "above" tooltip: offset according to dimensions?
Hi all, First, please excuse my english;-) I am completely new to javascript and jquiery. I discovered all this last week and I am trying to use some cool stuff in a new website project. The tooltip plugin fits perfectly to the project's design and you could see it in action here: http://www.mayorbeusch.ch/cms/ (roll over the pictures, works well in FF, not tested at all so far in IE...) My problem is: I absolutely want the tooltip with this design, and above the mouse; but when you size up the font,
[jQuery] How to get element's number of position, mean eq()
Hello again:) My qгestion is: I have several "attention" block: <div class="Attention">...</div> And there are button close in this blocks How I can get number, in which "attention" block clicked on the button? $('.Attention .Close').bind("click", function(){ alert($(this).eq()); }); How I can get numper of [position in eq() ??? Please, need a help Thank you allways :)
[jQuery] [Bug?] ajax and XML - issue with file extensions?
I have noticed some rather peculiar behavior with the ajax function: I have a file called person.owl, which contains xml syntax, and when trying to load that file the ajax call triggers the error function (parsererror) / fails to load. However, if I rename the file to person.xml (e.g. change the extension) I have no problems whatsoever anymore, the file loads successfully. Anything I can do to avoid this behaviour (with exception of renaming?), it seems to be reproducible. Spotted the bug when working
[jQuery] How to get element's number of position, mean eq()
Hello again:) My qгestion is: I have several "attention" block: <div class="Attention">...</div> And there are button close in this blocks How I can get number, in which "attention" block clicked on the button? $('.Attention .Close').bind("click", function(){ alert($(this).eq()); }); How I can get numper of [position in eq() ??? Please, need a help Thank you allways :)
[jQuery] Query z-index problem in IE6 with 1.2.5 and 1.2.6
To reproduce the problem var aa = jQuey("#content").css('z-index'); var bb = (/^\d+$/.test($("#content").css('z-index'))); 1.2.6 FF - aa -> auto; bb -> false IE6 -aa -> 0 ; bb->true 1.2.3 FF - aa -> auto; bb -> false IE6 -aa -> undefined ; bb->false the element <div id="content"> some content here </div> in css there is no attached z-index of this element Regards Tony
Reading content from an element then appending it elsewhere
Hello. I've done a bit of searching but haven't found exactly what I need. I'm trying to get the content from inside <address> elements, then place the content in a link, that will get sent to Google maps, after the <address> element. There will be multiple addresses on the same page. For example: <address>Some address</address> would become <address>Some address</address><a href="http://maps.google.com/maps?hl=en&q=Some address">Blah Blah</a> I imagine I need to use some combination of .clone and
[jQuery] superfish z-index problem with ie7
Hi, I'm trying to put a superfish menu online, and i have issues with IE 6 and 7.. it's visible on this site : http://www.voyagemotion.com/ but, it's in the members area.. so, i'll try to give the concerned code, here.. i'm using jquery 1.2.3, hoverIntent, and then call superfish.. I've not tried to add bgiframe, as i think it's only for IE6, and my problem is also with IE7... i've fixed the z-index of all the column that should be under to 1, but it doesn't change anything.. the menu appears under
[jQuery] .length doesn't work in Firefox
Hello, Have some strange behavior with Firefox, can someone please help me with this? This is the code (without irrelevant info): var content = $('#TextField'); //this is ASP.NET TextField var len = content.html().length; //same result with text() if(len == 0) { return false; } else { return true; } It works great in IE (6 and 7) but in Firefox gives me always len==0 (even if there is some text there) I use jQuery 1.2.6
[jQuery] Could we have a Cluetip or tooltip on "pause" with Cycle plugin?
Wondering what it would take to add a cluetip or other formatted tooltip on "pause". Tried adding class to the markup, per Cluetip instructions, and it disabled Cluetip on the page altogether. I have Cycle set up as a slide show and have a carousel below, to which I have added Cluetips. I would like to add tooltips to the slide show as well if possible, just when someone mouses over the image and pauses it. Ideas? Many thanks. I am new to this, but loving every (well almost) minute of it. Thanks
[jQuery] array problem
I'm trying to run the following code: var nav = [ "#home", "#contact", "#gallery", "#about" ]; $(document).ready(function(){ for(var i = 0; i < nav.length; i++){ $(nav[i]).mouseover(function(){ $(nav[i]).animate({ marginTop: "-5px" }); }); $(nav[i]).mouseout(function(){ $(nav[i]).animate({ marginTop: "0px" }); }); } }); however, those effects never get added. If I don't do the for loop and do each item individually it works fine. Do I just have a dumb bug in here? Thanks for any help, and thanks
[jQuery] How can I either clone just one class and children or append better html code
have this code that works! But looks like butt. As well as that this is a recipe for hell every-time I need to update it. I had clone working on the generated html code from the Rails server code. But in my simple tests the clone was cloning the class or id and it then more just make clones of the clones. Woot. So it became a power of 2 which as you know. ... From my short reading I cannot find any tools to fix jquery to paste code cleaner due to javascript restriction spacing.. <script type="text/javascript">
[jQuery] superfish - drop down menu not displaying in IE6
Hi Joel, Great plugin. Thanks for sharing and supporting it! I'm having a problem with the menu isn't dropping down in IE6 -- you can see the problem in http://best-learn-spanish.com/s/index2.php However, everything is working fine in Firefox. I tried adding the bgiframe code but perhaps I missed something? BTW, I tried changing the call to just .nav but then I get a javascript error in IE6: serial is not an object and the error: el has no properties when I hovered over a menu item in firefox. Thus,
[jQuery] my code only works under firefox
Hi, The following code only works under Firefox, I do not know why it does not work under IE. Could you help me? Thanks a lot. <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Insert title here</title> <script type="text/javascript" src="<c:url value='/javascripts/jquery/jquery-1.2.5.js'/>"></script> <script type="text/javascript"> function refreshProgress() { var uploadTicket = $("#uploadTicket").val(); $.getJSON( '<c:url value='/uploadprogress.spring'/>',
[jQuery] Image Map Help - Map Hilight
I am using Drupal for CMS and am having trouble with my image working properly - http://www.360painting.com/node/33. The image is showing correctly, but the hot spots are not there (hmm?). I figured I did something wrong with my file, so I posted the demo of the usa map that comes with the download - http://www.360painting.com/node/32 - and it is still not cooperating. Any advice and or tips would be great! Thanks. L
[jQuery] month not displaying in datepicker inside superfish menu
I'm trying to figure out what the layout for the datepicker looks like in plain html so I can figure out why the month doesn't display when the datepicker is inside of a superfish menu. Rather than display the month and the year arrows in a single row, the year and month arrows are displayed in seperate rows, and the month text does not appear at all. looking at the css file and datepicker.js files, it appears that the month is held in an h2, [code] // set the title... $('h2',
[jQuery] change innerHTML
<span class="HcCDpe">In my html, I have the following <span> to show upload percentage: </span><span class="HcCDpe"><span id="progressBarText">0%</span> I tried to update the percentage using the following javascript: </span><span class="HcCDpe">$("#progressBarText").innerHTML = "76%"; But it does not work. :( Thanks. Arden </span>
[jQuery] jQuery Validation Problem
hi all, iam new to jQuery. I used jQuery validation in my project. Validation is working perfect. But i cannot submit form. While iam submitting form iam getting an alert "submit! use link below to go to the other step". This alert message comming from [u]mktSignup.js[/u] file. Here iam display my codes. Please help me. All my project stuck because of this problem. /////////////////////////////////////////////////////////////////////////////// My JSP page: /////////////////////////////////////////////////////////////////////////////
jQuery Validation
hi all, iam new to jQuery. I used jQuery validation in my project. Validation is working perfect. But i cannot submit form. While iam submitting form iam getting an alert "submit! use link below to go to the other step". This alert message comming from mktSignup.js file. Here iam display my codes. Please help me. All my project stuck because of this problem. My JSP page: <html> <head> <link rel="stylesheet" type="text/css" media="screen" href="../includes/Validation/stylesheet.css" /> <script language="JavaScript"
[jQuery] how to change the value of a hidden inputtype?
I have a hidden inputtype: <input type="hidden" name="test1" id="test1" value="" /> How can I change the value of it by using JQuery? This is what I am doing. $('#test1').value = "hello world"; What am I doing wrong?
[jQuery] [validate] highlight effect on error
Hi, When there is a error due validating and a user submit a form again without filling the missing field, i want to appear a effect. Therefore the user notice he forget a field. Because i know user who dont recognize the neccessary fields. Currently I make it that way: $("input[type=submit]").click(function () { $("label.error").not("label.checked").fadeOut("fast", function(){ $(this).fadeIn("fast", function(){ $(this).fadeOut("fast", function(){ $(this).fadeIn("fast")
[jQuery] Accordion issues: Closes when clicking link
I am using the jQuery Accordion plugin (http://bassistance.de/jquery- plugins/jquery-plugin-accordion/) which is great. I have one problem. Inside of some of my accordion divs I have links to pdf files, external pages, etc. When you click on any of these links, it just closes the accordion, and does not take the user to the link. Was I suppose to add an extra option in order to let the script follow links?
[jQuery] jquery wrapper for widgets
Hi, I'd like to use jquery to create widgets that are deployed to other websites. However to do that I'd need to wrap jquery in a container so I know that it wouldn't conflict with any other javascript running on the site for example mywidget.$ rather than just using $. Is there a way to do this or has it already been done? Thanks, Gary
[jQuery] jQuery Google CDN
<span style="font-family: trebuchet ms,sans-serif;">Not sure if everyone saw this. Looks great to me. I think I will switch asap.</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;"><a href="http://code.google.com/apis/ajaxlibs/">http://code.google.com/apis/ajaxlibs/</a></span><br style="font-family: trebuchet ms,sans-serif;"> <br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">Originally read
[jQuery] $('*').not(':text').click(function() { $(':text').eq(2).focus() } ) ; wrong syntax?
Hi, Basically, I would like to select all elements apart from text boxes. When the elements (apart from text boxes) are clicked, the focus should go to the last text box. I have come up with this code: $('*').not(':text').click(function() { $ (':text').eq(2).focus() } ) ; However, the text boxes are *not* excluded from the selection - focus goes to the last text box when *any* element (including text boxes) is clicked. Thanks for any help. Paul Jones Here is the full code : <!DOCTYPE HTML PUBLIC
[jQuery] Help with combox
Hello my people, I am in some problems with a self populated combobox I want to make something from this: category -- PlayStation - 1 -- XBOX - 2 (From here they are automatically populated so I will by this as an example) Platform -- PSP - 1 -- PS3 - 2 -- XBOX 360 -3 Games -- Jogo1 PSP - 1 -- Game 2 PS3 - 2 -- Game 3 PS3 - 3 So how is to edit, stated that the box were "Selected" with the value coming from the mysql (the table news) ie the news had category = 1 platform = 2 game = 2 then the selects
[jQuery] loading a PDF file using Ajax
Is there any way of loading a PDF file using Ajax request?
[jQuery] Question about use of $.ajaxStart(callback)
Hello, Do you absolutely have to use the global event ajaxStart to process code only when an Ajax query starts, or there's a way to pass it as a parameter (either via an undocumented feature or 3rd party plugin) to the $.ajax() function? I can't seem to find any answer on this anywhere... I've written a javascript function that is wrapped around $.ajax since I need to call many different things using Ajax in my site (makes it easier to control some events). The thing is, there is no optional parameter
[jQuery] adding hyper links to text using jQuery
Hello, I have some text on the page and I would like to use jQuery to change all the hyper links in the text clickable. Does jQuery has this functionality? I know how to check if there is some substring but have no idea how to choose it and how to replace it with <a> tag. Will appreciate some help Thank you Vlad
[jQuery] getComputedStyle() fails in jquery.1.2.5 and 1.2.6
I am getting error messages in jquery.1.2.5.js and jquery.1.2.6.js, but not 1.2.4. Does anyone have any suggestion how to avoid this? Thanks - victor Below is the message: Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:3000/javascripts/jquery-1.2.6.min.js?1211852104 :: anonymous :: line 22" data: no] Source File: http://localhost:3000/javascripts/jquery-1.2.6.min.js?1211852104
[jQuery] Problem with Jquery Ajax call
Hi every1, i m quite new to jQuery and i not sure how to solve this simple problem...though it is quite simple ...plz bear with my long mail.... well the working code looks like this: function letsJQuery() { $.post("http://xxx.xxx.com/test.php", { title: "Jonny" } ); } This code sends my data i.e. Jonny and stores into the table column called title...with the help of my php script. but thats what i am not interest to save:) i want something like this........ ----------------------------------------------------------------------------------------------
[jQuery] How can I get HTTP status code using $.ajax()
Hi, I knew I can get "textStatus" in error function of $.ajax(). textStatus are "timeout", "error", "notmodified", "parsererror" or "success". But I wanna know the HTTP status code(403, 404, 500, ...) for detail error information. How can I get the status code using $.ajax()? Should I use raw xmlhttprequest to get that?? Thanks, Philip
[jQuery] validate the .load resulat
Hi all I need to validate the result of my .load in some way. $("#text").load("/file.php"); like this -------------------------- if (loadedResult == null) { do stuff 1 } else { do stuff 2 } Please some advise kind regarsd / johannes - sweden
[jQuery] livequery type capabilities for a simple slider component
Not sure if it's appropriate to ask plugin related questions here but I'd like to understand how to give the coda-slider (http:// www.ndoherty.com/blog/category/coda-slider) the ability to dynamically change content or add tabs.
Next Page