[jQuery] Simple click event
I created an email link, that I want invoked ("clicked") on page load. I thought I could simply do: $().ready(function() { $("#thelink").click() }) Do I need to do something else? Thanks.
[jQuery] Please examine my code or tell me why it may not be working.
I downloaded the jquery cycle plugin from http://malsup.com/jquery/cycle/ and renamed it jquerycycle.js. I made minor changes to the images but kept everything else pretty much in tact. I didn't touch the javascript file except for renaming it and it is not working. HELP! I have an external style sheet style.css as follows: .pics{ height: 430px; width: 287px; padding: 0; margin: 0; } .pics img { padding: 15px; border: 1px solid Black; background-color: #A52A2A; width:
[jQuery] JQuery Introduction
A very good lecture on jquery http://saqibshehzad.blogspot.com/2008/09/jquery.html -- View this message in context: http://www.nabble.com/JQuery-Introduction-tp19252954s27240p19252954.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] JQuery Introduction
A very good lecture on jquery http://saqibshehzad.blogspot.com/2008/09/jquery.html -- View this message in context: http://www.nabble.com/JQuery-Introduction-tp19252954s27240p19252954.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] how to and block ui
I'd like to use block ui to delay access clicking on links until page has loaded completely. The examples I've seen all include the push of a button. I need the overlay to start as soon as early as possible even can anyone please point me in the right direction? Thanks a bunch.
[jQuery] Possible jQuery versions conflict
Greetings, The task: to insert a DOM-style JS code using jQuery into a thrid- party page. Example: code snippets used to generate AdSense blocks. This will require a user to include a jQuery source (directly or indirectly - either the user includes it, or my code snippet does). The problem: if the page already uses jQuery, the problem looks inevitable when two jQuery libraries, most probably of different versions, are loaded. What is the simplest way to load jQuery in such a case without causing
[jQuery] count children
<div dir="ltr">Hello all<div> </div><div>I have seen examples of counting children of an element like a div. I have tried to customize those examples to work for my situation, but with no success. What I'm trying to accomplish seems simple, but I have not been able to make it happen. I'm simply trying to count the 'group#' divs inside of the 'master' div. I was hoping that something like:</div> <div> </div><div> <span class="Apple-style-span" style="font-style: italic;">var ct = $('#master').children().size();</span></div><div><span
[jQuery] jQuery project works fine in IE6, but bombs in FF2
My first jQuery project has me puzzled. I have a page http://twinflamingos.com/chris/chris.htm that throws an error when any of the menu headers is clicked in Firefox. In IE6 the drop-down works perfectly, but FF2 doesn't work and puts an error in the log. Specifically it says: Error: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://jqueryjs.googlecode.com/files/jquery-1.2.6.js :: anonymous :: line 871" data:
[jQuery] addEventListener onerror workaround with jQuery.fn.bind
In Firefox if an error is thrown in an event handler attached using addEventListener it will not make it to the window.onerror handler, see: https://bugzilla.mozilla.org/show_bug.cgi?id=312448 The solution to this problem is to override jQuery.fn.bind with a handler in a try/catch block. Has anyone done this with strong familiarity with the jQuery.fn.bind? Thanks, Carl
[jQuery] hideErrors. bug or not?
Could someone tell, why after clicking on sumbit button on second time all validation messages disappear? I have form with a lot of radio buttons which are required. I've overriden highlight and unhighlight methods. It is related, I guess, to the hideErrors usage inside validation plugin. Am I wrong? My code of overriden methods: highlight: function(element, errorClass) { $(element).addClass(errorClass); var label = $(element.form).find("label[for=" + element.id + "]"); label.addClass(errorClass);
[jQuery] Look for validation plugin option
How can I point the element in which validation error is shown? I have specific validation form that consists of many radio buttons. Vaidation error is shown near the first radio button that have the same 'name' attribute. Problem is that I do not want to have error near the first radio element, but near the last or in another 'td' element. All radio buttons are in separate <td> element and are grouped into table row. Example: <tr> <th>Name</th> <th>A</th> <th>B</th> <th>C</th> <th>D</th>
[jQuery] thickbox bring my IE window back
Hi, I just found this problem, I have a asp.net application, at client side, I use thickbox to show some picture in a modal dialog box, kind of. generally, when you click a link, my code will show a modal with pictures in it. It works fine till today, when I click the link, whole IE window go under other windows (Window Explorer, Outlook, ...). This only happen if there is only tab in the IE. I use jQuery 1.2.6 and thickbox with modification. What could be the reason? Thanks, Wes
[jQuery] Date and Time
Hello, Is it possible to get the Date and Time of a user and convert it to UTC using JQuery? I need to find the time zone of the user to display the server time in that time zone and when the user inserts a date and time convert it back to UTC to place it in the database. Thanks, Miguel
[jQuery] tree Sortable
Dear folk , how could we do some sortable jobs with tree s or is there any sortable which is developed and worked properly , I need a sortable which have some Branchs in it ... thanks and regards Pedram
[jQuery] tablesorter add date parser
I was trying to add to the date parser in tablesorter to be able to handle dates formated like DD-MMM-YY (04-SEP-08), but i havent been successful. In the shortDate parser i tried adding the following.. ... var months = {Jan:1,Feb:2,Mar:3,Apr:4,May:5,Jun:6,Jul:7,Aug:8,Sep: 9,Oct:10,Nov:11,Dec:12}; then further down in the if/else if statement i added this... } else if(c.dateFormat == "dd-mmm-yy") { s = s.replace(/(\d{1,2})[\/\-](months[[A-Za-z]{1,3}])[\/\-] (\d{2})/, "$1/$2/$3");
[jQuery] jquery flot - integers only on x and/or y axis
I've got this test page built using jquery flot to render a graph as price/quantity pairs are input I'm using the following jquery: $().ready(function(){ $.plot($("#graphHolder"),[]); $('#curveData input').change(function() { var d1 = []; $('#curveData tbody tr').each(function() { tr = $(this); pair = []; tr.find('input.qty').val() && tr.find('input.price').val()
[jQuery] jQuery debugging/Firebug techniques?
Hi all, New to this list and jQuery - but learning more every day. Hopefully a simple question: what techniques does anybody suggest for debugging? It seems like jQuery doesn't throw up errors as often as normal Javascript, I'm having trouble hunting down problems. I googled this, it seems like Firebug is capable of helping me debug but I guess I don't know how to use that part of it. Any help is appreciaated, thanks! dylan
[jQuery] best practices for scripts dir structure, etc.
Hi, Are there any good practices for how to keep the jQuery scripts (core, ui, plugins, etc.) organized? I currently have something like this. /jquery/jquery-1.2.6.js /jquery/ui/1.5.2/effects.*.js /jquery/ui/1.5.2/ui.*.jg /jquery/plugins/jquery.simple.tree.js I don't know what exactly makes sense and don't like what I've got so far since I'm using version numbers inconsistently, both in filenames and dir names, or not at all. Any tips would be great. Thanks! Eric P.
[jQuery] Modal Dialog and scrolling
Hi everyone. I want to display a long list of elements inside a modal Dialog(). I want that list to scroll when it reaches the edge of the Dialog box. For some reason, the bars appear but they wont scroll down nor up. (For information purposes, elements (divs) are dynamically added to #feedback-list in the javascript.) Thanks for your time. Heres the html <div id="feedback"> <form id="feedback-form" method="post" action="."> <div class="title">{{ form.title }}</div> <input type="submit" value="Submit">
Cycle Plugin and Internet Explorer
Hey guys, I'm new here, but I have a burning question. I just can't get the Cycle plugin for Jquery to work with Internet Explorer. At all. I'm sure you've heard this before, but I tried searching and couldn't find my answer. It works with Firefox, perfectly. When I load the page in either Internet Explorer 6 or Internet Explorer 7, however, I just see a bunch of images stacked on top of each other. I think it has something to do with the initiating script... or it could be the CSS I guess. Here's
[jQuery] How to retrieve jQuery.query?
Say a user called $('div.foo') I would like to get this 'div.foo' from within my plug-in context. I look through the code and couldn't find a property which contain this data; I was thinking that 'query' is the appropriate name for this property example usage: $.fn.MyPlugIn = function (){ if (/table|thead|tbody|th|tr|td/.test($.query){ // do the table thing } else { // do the chair thing ;-) } } $('table').MyPlugIn(); $('div').MyPlugIn
[jQuery] Change link dependant on select box.
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] New Google Browser announced
http://news.cnet.com/8301-17939_109-10029974-2.html?tag=mncol;txt Looks like we have another browser to contend with.
Tab menu, Expand upwards
Hello. I´m trying to make a tab menu with dropdown child menus. Nothing strange with that, just a nested unordered list like this: <ul> <li><a href="">Value1</a></li> <li><a href="">Value2</a> <ul> <li><a href="">Subvalue1</a></li> </ul> </li> </ul> Now to my problem/question: How to expand the submenu upwards? Please see this "what I want" picture. I have try with different types of animations, slideDown, but can´t figured out. $(".tabs li").hover(
[jQuery] jquery file upload with form plugin
Hi.. Trying to upload file with jquery form plugin , file was uploading but i was not getting json response still i have set frame parameter as true in ajax submit request options. please suggest.... Thanks in advance.
[jQuery] how to post to 2 different locations in jquery?
Hi, I would like to ask, how to post a form to 2 different locations in jquery? i use this code but seems not working : $(document).ready(function() { $("#contact").submit(function() { //var addresslines = doThing($('#address')) //remove all the class add the messagebox classes and start fading $ ("#msgbox").removeClass().addClass('messagebox').text('Sending....').fadeIn(1000); //check the username exists or not from ajax $.post("registersent.php",{
[jQuery] Coverflow
<div dir="ltr">No association with jQuery, but here's a nice JavaScript coverflow effect that I thought people might like:<div> </div><div><a href="http://radnan.public.iastate.edu/coverflow/">http://radnan.public.iastate.edu/coverflow/</a> </div><div> </div><div>It mucks around with extending builtin objects, which is bad form to us jQuerians, but it's a nice effect.</div><div> </div><div>--Erik</div><div> </div></div>
[jQuery] jqgrid + json search example
Hi boys, I'm trying to code some app. with jquery and jqgrid. Most of the app. is finished except search function. I can't get the datas from server when I want to search in my grids. Can anyone help me? Many thanks.... King Regards Ibrahim. Ps: I read the documentation. But i think i've problems with my JSON data. Who can explain me? My js file: Code: jQuery(document).ready(function(){ function pickdates(id){ jQuery("#"+id+"_tarih","#rowed3").datepicker({dateFormat:"yy-mm- dd"});} var lastsel; jQuery("#rowed3").jqGrid({
[jQuery] jquery ui demo site
Hi, I am wondering whether jquery ui demo site is written in jquery (would be ironic if its not ) http://ui.jquery.com/demos it looks very appealing how they have things going in a semi-circle. I am wondering if this is doable via jquery? and if so....are there any plugs to achieve this or anything similar w/ tutorial? Thanks!
[jQuery] jCarousel - Last entry not showing
Hi jan Sorgella, Our company has used the jCarousel for the Swiss newspaper called "Coopzeitung" and we have a little problem with it, when showing with Safari. Please go on http://www.coopzeitung.ch/ with Safari and you'll see your jCarousel on the first page. Scroll to the last item and you'll see, that it is completely empty. What's the problem here? Did I do something wrong? Please respond as soon as possible. It's urgent. Thanks!
[jQuery] jqModal - loading div on ajax
Hi. I'm sending an Ajax Request via jqModal and I'm trying to display a "Loading...please wait" div while waiting for the requested page to load. On my main page, I have: <div class="jqmWindow" id="request-load"> Please Wait... </div> My javascript includes: $(document).ready(function() { // Ajax call on a modal box for request schedule from dashboard widget $('#request-load').jqm({ajax:'schedules/request', trigger:'a#request-schedule', modal:true,
[jQuery] linking to areas within a page that uses "accordeon"
Hi, I'm using both "accordeon" and "tab navigation" on a portal. Is ist possible lo link to various areas of a page from within that page. It does work from another document - sort of deep-linking into a document - like this: <a href="http://localhost/templates/expansionspage.php#tabContent-03"> Go to div id="tabContent-03" and open expansion/accordeon accordingly </a> It does not work from within that page, say a link from within #tabcontent-01 to #tabcontent-03: <a href="tabContent-03"> From somewhere
[jQuery] data cache and tag attributes
Hi I've been setting arbitrary attributes on my html tags, and using jQuery to make AJAX requests based on their values. These has worked well so far as writing out arbitrary attributes from the backend is trivial. But I'm about to start using per element attributes more intensively, and now I'm questioning my approach. I'm aware that jQuery UI makes heavy use of the data cache and I assume it does so with good reason. At what point does it make more sense to use the data cache rather than just set
[jQuery] Wait Ajax end request before continue
Hi all, I have to execute an AJAX request in a function and only exit this function when the request have been terminated. This is an example : function myFunction() { var result; try { $.ajax({ type: 'POST', url: 'myPage.php', ... success: function(data){ // do something with result }, error: function(){ // do something else with result } }); } catch(e) { alert(e); result = false; } return result; } As I think you can understand, I want to "return result" be executed only when my success (or error)
jqgrid search + json data problem
Hi boys, I'm trying to code some app. with jquery and jqgrid. Most of the app. is finished except search function. I can't get the datas from server when I want to search in my grids. Can anyone help me? Many thanks.... King Regards Ibrahim. Ps: I read the documentation. But i think i've problems with my JSON data. Who can explain me? My js file: jQuery(document).ready(function(){ function pickdates(id){ jQuery("#"+id+"_tarih","#rowed3").datepicker({dateFormat:"yy-mm-dd"});} var lastsel; jQuery("#rowed3").jqGrid({
[jQuery] jqgrid search + json data problem
Hi boys, I'm trying to code some app. with jquery and jqgrid. Most of the app. is finished except search function. I can't get the datas from server when I want to search in my grids. Can anyone help me? Many thanks.... King Regards Ibrahim. Ps: I read the documentation. But i think i've problems with my JSON data. Who can explain me? -- http://www.arkeoloji.web.tr
[jQuery] need help with opacity
Hi all, I'm having some trouble with setting an 11% opacity for a parent container, while its children remain at 100% opacity. Here's my simplified html: <div> <img src="photo.jpg" /> </div> and I'm doing a simple css thing to control the opacity: $("div").css({"opacity": 0.11}); So now all content in the container is transparent, including the image. I tried setting the img's opacity to 1 but it doesn't work. And that makes perfect sense but I just don't know how to fix it. Any ideas? Thanks
[jQuery] .hide() problem in ie6 - ie7
hi all. i have a problem with jquery hide function in internet explorer. the animation itself works fine but in ie after the animation the div jump down again just for less the 1 second. has someone an idea to solve the problem. thanx roland
[jQuery] Can I generate an XML using jQuery, from a text?
Hi all ist. I'm in trouble with a strange MSIE problem that seems present only in IE6 SP3. I've a javascript code using AJAX (not jQuery) that return base XMLHttpRequest operation result. The .responseText is returning an XML in text format. The responseXML seems inusable. I wanna try to fix this using jQuery, but I'm not able to generate a jQuery object from a plain text XML. All the $("...").html("...") works only for HTML source as I read in documentation. There's a way to do this? Thanks in advance
div appearence from the bottom-right to the top-left corner
say, this $('#div').toggle('slow') makes div slowly appear from the top-left corner. How to make it appear from the bottom-right corner? Thx.
Next Page