Load new content, new links dont activate jquery function..
Hi, im quite new to jquery so not sure what im doing wrong. (or if what im doing is the best way). But here goes, i have a rating script, that allows ratings between 1-10. The HTML: <div id="userrate">User Rating is 7.8/10</div> The current rating is fetched from a mysql database with php. <div id ="clickrate">1 2 3 4 5 6 7 8 9 10 | Your current rating is 5!</div> 1-10 are links that have the href="rate.php?rate=1" or "rate.php?rate=2" etc My Jquery is as follows: ----------------------------------------------------
[jQuery] How to achieve 2 "moo" gallery effects?
I am looking for gallery and slideshow effects like these, can i achieve them with jquery and how please http://tools.yootheme.com/yootools/extensions/yoogallery.html http://smoothgallery.jondesign.net/showcase/gallery/#myGallery-picture(4)
[jQuery] <%= myvarvalue %> not working. Urgent. Please help
I am net able to access my ASP server side constant value in jquery file. I am trying as: var myvar = "<%= myvarvalue %>"; but when i put an alert on myvar, it shows <%= myvarvalue %> and not the value of myvarvalue. Can anyone pls help. Its really urgent. Thanks in advance
[jQuery] mcDropDown - problem getting displayed value
Hi, I'm using the (excellent) mcDropDown plugin: http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm ...but can't seem to get the displayed input value, after hours of Googling & hacking. Code ----- $(function () { mc = $("#modelName").mcDropdown({ 'select': function(){ modelName = $('.mcdropdown input').val(); updateModelName(); // fn that sets text of .modelname spans } }); }); Text ----- Your model: <span class='.modelname'>REPLACE ME</span> What's strange is that the first time
[jQuery] Accessing parent element after wrapAll
Hi, I have the following source: <input type="text" class="myclass" value="Hello" style="width: 200px" /
[jQuery] document.my_chart swf object
hi there, i run a swf chart system on a website, id like to access the swf from javascript the following is working: chart=document.my_chart; if i alert this its an HTML EMBED OBJECT chart.Update_XML( xml, spinning_wheel, mode ) ..... this will caue the swf to realod data BUT id like to make it dynamic with a function where i put both xml url and the flash name eg. updateChart(xmlurl, objectid) so => chart= $(objectid) ........... will return just an html object .... chartUpdate ... fails chart=
[jQuery] Cycle plugin and dynamically loading images from array
Hi all, I've been working with the fantastic Cycle plugin on a client site. The client has 30+ fairly big images to load (~3MB total page load), so the normal loading scenario doesn't work very well. The way I worked around it, is I've added all the HTML code for all the images, without the actual image file. When a visitor views the page, I progressively load the NEXT/PREVIOUS image into position from an embedded JS array on the page. ie: replacing the img.src attribute with the full path instead.
[jQuery] validate
Hi Jörn / people I am using the jquery.validate.js (1.4 version) for a web application. For the submission of a webpage which has widgets in it. My issue is that with IE (6 and 7) my form is getting submitted even after the jquery validations fail. For example if I enter a wrong value for the url class. Although I can see the message (in red) to enter a valid url value, still when I click on save button to submit the form, it gets submitted. However, this behavior is not seen with FF browser. I FF,
[jQuery] Norton thinks jQuery is a virus?
Hi all, Couple of lads in here using IE and Norton Antivirus 2009 have suddenly had popups in our intranet declaring that an intrusion attempt has been blocked and a file has been prevented from running. The source of this supposed intrusion? A compressed jQuery - can't remember which version it is. Norton is now preventing any of our sites that use jQuery (which, believe me, is quite a few) from executing jQuery based code on at least one of these computers. The details: Risk name: HTTP Acrobat
[jQuery] [UPDATE] kiketable.colsizable (aka, jquery.grid.columnSizing)
Hi everybody, I've just released a new version (updated to jquery 1.2.6) of an "old" plugin. Please all request for features or report of bugs make it through the plugins.jquery.com: http://plugins.jquery.com/project/kiketable_colsizable the official page is: http://www.ita.es/jquery/jquery.kiketable.colsizable.htm (demos, docs, etc...) -- Enrique Meléndez Estrada (2367) Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón
[jQuery] jQuery reloads all JS files on show()
Hello out there! Hope this message isn't posted twice, but i can't see it in the mailing list two hours after posting it the first time ... My problem: I want to show/hide a div element using the UI effects. In this div element there are JavaScript files included, it looks something like this: <img src="button.jpg" onclick="$('#mydiv').show(.....)" /> <div id="mydiv" style="display: none"> <script type="text/javascript" src="myscript.js"></script> <!-- more content ... --> </div> Everything works
[jQuery] Error getting value from server
I am migrating my existing ASP application javascript code to jquery. However places where i want to get the value from server, I am getting an error like: var myvalue = "<%= myservervalue%>"; when i check in myvalue, it is populated with <%= myservervalue%> as string. If I try to remove "" then it gives an error in comparison. Any help would be appreciated.
[jQuery] Some problems with ajax
Hello i'm trying to use jquery to do some ajax but having some troubles... and i can't really figure why javascript: $("#recaptcha_response_field").keyup(function () { var captcha = $("#recaptcha_response_field").val(); if(captcha.length >= 6){ $.ajax({ type: "POST", url: "captcha_validate.php", data: "dados=querty", beforeSend:
[jQuery] Make script global (for every ajax page)
Hello, I have a problem, i have this script: $(document).ready(function() { var requestURL = "index.php"; $("a").click(function() { var params = $(this).attr("data"); $("#content").slideUp("slow"); $.ajax({ type: "post", url: requestURL, data: "new=y&page="+params, beforeSend: function() { $("#loading").slideDown("fast"); }, success: function(response) { $("#content").html(response); $("#content").slideDown("slow"); }, complete: function() { $("#loading").slideUp("fast"); } }); }); }); i added it
[jQuery] [validate] Having an issue with validator clearing file input fields onfocus in IE
Hi, i'm having an issue when using the validate plugin. When the plugin is applied to the form, if I select a file in my file input field then focus on another field in the form it removes the value. This only seems to happen in IE and only to file input fields. Any ideas as to why this would be happening? Thanks!
[jQuery] JQuery selector-equiv for XPath position() predicate
I have a number of <table>s. I want to find all the columns in all the tables that have a heading <th> that matches a given string. Now, it's easy to find the heading with something like: $('th:contains(' + $(this).text() + ')') But how do I index from that to get the <col> to be able to style the column? And remember, I want to do this for all <table>s. In XPath, I'd use position() as part of a predicate to index between two nodesets. I'm unable to find something similar in JQuery selectors as all
Auto Refreshing my Height var.
I have a pretty funky sliding/accordion(ing) menu right now as the main navigational means of my page, unfortunately the height is set at a static number since I cannot get a "Get Curr Height" function to work, I've tried about a dozen different ways, and no dice each time. I am not using the dimensions.jquery.js so I know it limits my abilities to capture height a touch, but I would think that there is a way to do it without adding dim? Some of the things that I tried were scrollHeight, innerHeight,
[jQuery] Nested value for callback
Hi, I'm in over my head with this one, and I can't seem to find the solution to make it work. I've taken some time to break out the code for the problem, and below is the code that manifests my dilemma. This code presents a simple table with rows that are tagged with row id's. When the user clicks on a link inside a row I present a confirmation dialog and then if the user clicks "Yes", then I'll execute the provided callback. What is going wrong is that the last alert (from the callback) only works
[jQuery] auto generate tabs according to text content length
Hello, I use ui.tabs to paginate a text content. It works well, but in a specific case, i need to tabbify a div which height is fixed, but the content is dynamic, so i don't know in advance if tabs should be rendered or not. In most cases, i let the editor insert a page break marker, and use them to organize the tabbing. But in this case, the content is compiled from different sources so i cannot make someone manually design the pagination breaks. So i'm wondering if there is a way to know the current
[jQuery] need help
i've been surfing over net to find a slide show similar to http://www.frontpageslideshow.net/ i checked the jquery site, almost entire one, couldn't find similar. can someone provide any link which is totally based on css and javascript? i've very short time and want this solution. http://www.frontpageslideshow.net/ need php, i want css and js. thanks in advance.
[jQuery] jCarousel - mixed items width problem
Hi, I have problem with firstly loading of jcarousel. The UL #mycarousel width is shorter like width of all items. This problem is only by first loading. After refresh display jcarousel correctly. This is HTML: <ul id="mycarousel" class="jcarousel-skin-tango"> <li><img src="index_files/tn_s0000.jpg" class="thumbnail" title="zoom" alt="" /></li> <li><img src="index_files/tn_41000.jpg" class="thumbnail" title="zoom" alt="" /></li> <li><img src="index_files/tn_40-10.jpg" class="thumbnail" title="zoom"
[jQuery] using validate plugin in conjunction with form plugin (ajax submit)
I'm trying to submit a form via ajax using the form plugin, and also perform some validation, using the validate plugin. The problem I'm having is that when I submit the form, it performs the validation, but also submits it and returns the ajax response, regardless of the validation result... I need to figure out the proper coding so the submit only fires ifif it passes validation... Here's the code I have at this point, any suggestions is appreciated: $().ready(function() { $("#my_form").validate({
[jQuery] JQuery Validation Dynamic updates
I have javascript code that alters the values inside the validate attribute set on a ui element. An example of what I change is validate="required:true, messages{required:'Please give a value}" to validate="required:true,messages{required:'Give a different value'}". This is changed via javascript and I find that the validation does not recognize these changes to the attributes. Is there anything I am supposed to call to make the framework recognize these changes that were made on the fly? Thanks,
Jquery UI Sortable issues
Alright here is my problem... I took the Jquery Sortable demo and tried to make it work for me... i'm using the 1.5.3 b/c its stable and seems to work... The issue i'm having is that i am try to change the ul li list so that its not just one item after the next. I would like 3-4 items in a row - "floating"? "All Items" - should be 3-4 items in a row and "Items in cat/arc" should be only one item per row... Well i tried to do that, and it kinda worked however when i go to drag the items back from
[jQuery] [TUTORIAL] How to create a tabbed menu in jQuery
In this case, we are going to learn how to create a smooth tabbed menu with our lovely jQuery library. With simple and clean layout we can have a great tabbed menu for our websites. We won't use UI Library, just a simple and cool solution ;) http://yensdesign.com/2008/12/create-a-smooth-tabbed-menu-in-jquery/
Mootools Conversion
I would like to convert this neat lightbox script from mootools to jquery- need a little help... is this possible? [url]http://www.coders.me/ejemplos/sexy-lightbox-2/?TB_inline?height=200&width=300&inlineId=myOnPageContent[/url]
[jQuery] [validate] - form submission in IE even after jquery validation failure
Hello Jörn This is regarding an erroneous behavior of the form in IE. My form used widgets in it. With FF when I submit the form after inputting an invalida value for say a url class. The form does not submit due to the validation failure as the case should be. But the same form gets submitted when I do the submit in IE (6 and 7). I do not want the form to be submitted when there is a validation failure by jquery. The version of jquery.validate.js that i am using is 1.4. Can you please help ? I have
[jQuery] How do I create an auto scaling background?
Take a look at http://ringvemedia.com/shanghai Do you see how if you resize the browser window, the background image automatically scales? How would I do this with jquery?
[jQuery] Making a UL simulate an option box?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Making a UL simulate an option box?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Anyone know of a way to collapse a UL containing n number of LI tags into something that appears to be an option box?</FONT> </P> <BR> <P><FONT SIZE=2 FACE="Arial">Andy
[jQuery] Cycle image gallery question
I am working with the jquery cycle plugin, (http://malsup.com/jquery/ cycle/). What I need to do is have images scroll left in a continuous flow, with no break between them. I haven't been able to achieve this by editing the css, and if wrap a <nobr> tag around the images, the plugin stops working. Can anyone help? Thanks very much.
[jQuery] JQmodal:Close button doesn't appear in IE6,7
I use JqModal for my own site! <a href="http://swoop.homelinux.org/mychico/">http://swoop.homelinux.org/mychico/</a> At the bottom of page, have a link <font size="2" color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif"><a class="ex4Trigger menuLinkWhite_footer" href="ads_request.php">Advertise</a> | <a class="menuLinkWhite_footer" href="about_us.php" target="_parent">About Us</a> | <a class="menuLinkWhite_footer" href="contact_us.php" target="_parent">Contact Us</a> | <a class="menuLinkWhite_footer"
[jQuery] jQuery.data(name,value) returns jQuery?
The docs at http://docs.jquery.com/Core say that jQuery.data (name,value) should return the value, but instead it seems to be returning jQuery. Is this what is supposed to happen?
[jQuery] Make datepicker populate form field when "Today" is clicked
Is there a way to make the datepicker control close and populate the form field with today's date when "today" is clicked? That seems to be the most intuitive thing to happen when that link is clicked, and I'm getting flack from my users indicating that's what they expect also. Otherwise, they want that link removed. Any help would be appreciated. Thanks. pc
[jQuery] Timed Modal (or whatever)
I just know that this is going to be one of those dumbo questions but I have been trolling for a plugin to do what I need without luck. Basically I want a modal style display that I can open after the page has been loaded for a certain amount of time, display the modal and then fade/slide/whatever it away. My use is for our gaming site, I would like to pop something up (basically like a pop over ad) with a graphic and a bit of text as a tease. I can see how to do everything but get rid of it automatically
[jQuery] Autocomplete with JSON contacting the server frequently
I have noted that the JSON version/usage http://jquery.bassistance.de/autocomplete/demo/json.html is contacting the server frequently. The standard version is not unnecessarily contacting the server. It's contacting the server whenever a key is pressed. What could be the reason and any solution? TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[jQuery] jQuery Tabs -- Are disjointed tabs possible?
Is this possible with jQuery tabs? To seperate certain tabs and push them to the right? http://www.nabble.com/file/p20924502/Untitled-1.jpg -- View this message in context: http://www.nabble.com/jQuery-Tabs----Are-disjointed-tabs-possible--tp20924502s27240p20924502.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] cloning events as they happen
i'm currently creating a tracker as a proof-of-concept. before the tracker is started, events to be hooked are registered. when the tracker starts, a timer is started and events are tracked by "frame" which, by default, is 1 second in length. all hooked events occurring within the "frame" are saved for reference. my problem lies in copying the events as they happen. we all know that objects are passed by reference, so i'm trying to clone the event object so i can reference that event later on (think:
[jQuery] cloning events as they happen
i'm currently creating a tracker as a proof-of-concept. before the tracker is started, events to be hooked are registered. when the tracker starts, a timer is started and events are tracked by "frame" which, by default, is 1 second in length. all hooked events occurring within the "frame" are saved for reference. my problem lies in copying the events as they happen. we all know that objects are passed by reference, so i'm trying to clone the event object so i can reference that event later on (think:
[jQuery] Overlapping BlockUIs
Is it possible to display one blockUI over another
[jQuery] fadeIn something from JSON
Hello, I have got this: var showDescription = function() { $element = $("a.info", this); if ($element.next("div.info").length == 0) { var urlForDescription = $element.attr('href') + '/description'; $.getJSON(urlForDescription, function(data) { $div = $("<div class='info'>" + data + "</div>"); $element.after($div); // pop! :( }); } $element.next("div.info").fadeIn(); } Problem is, that new descriptions will immediately pop up without fadeIn. Subsequent hovers will work nicely. How can I fadeIn this
Next Page