[jQuery] Animation "Pop-up" jQuery
Hi Guys, I have a question about the UI framework and whether jQuery can do the same animation that apple has done here ? http://www.apple.com/ilife/ - under their "watch video" - a popup appears ? I know that using http://script.aculo.us/ you can do this - but I was wondering whether jQuery can as I have used it for all my other coding ? Any hints, tips would be much appreciated Thanks, T.
Help! newbie with looping issue
Hi I'm just getting into jQuery and am in need of some assistance I've got an asp page which gets a random record from a database each time you load the page I'd like to use jQuery to pull this page into a <div> fade it in, pause, fade it out and then run the whole thing again without refreshing the page. so far I've got $.ajax({ url: "random.asp", cache: false, success: function(asp){ $("#content").append(asp); $("#content").hide(); $("#content").fadeIn(3000); $("#content").animate({opacity:
[jQuery] No width/height set for items. This will cause an infinite loop. Aborting...
Hello, I get this error using jquery and jcarousel: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting... I don't know why, because every item has a width and a height attribute Here is the file: http://localhost:8888/variouselmts/endlich.html and here the projects I load with jquery: http://localhost:8888/variouselmts/back/tmp/Der_Schwarze_Riese.html http://localhost:8888/variouselmts/back/tmp/Hasenkatastrophe.html I really tried everything, hope you can help me
[jQuery] 1.2.7
does anyone has any Idea when 1.2.7 would be released !!
[jQuery] .nl localization
I just wrote a Nederlandse (Dutch or NL) localization for this plugin. http://www.spacebabies.nl/2008/08/09/jquery-validation-plugin-in-nederlands/
[jQuery] iif + Jquery
Hi, everyone, is posible using iff in Jquery, any sample. Thanks. Don Quijote de Nicaragua. Elder Soto.
[jQuery] Problem with appending to table using FF3
Hello everybody! I have a problem that only affects Firefox, aparently. I have a table like this: <table> <tr id="t1"> <td style="width:150px;height:150px;background-color:red;"> </td> </tr> <tr id="t2"> <td style="width:150px;height:150px;background-color:green;"> </td> </tr> </table> Now I want to do this: $('#t1').appendTo('#t2'); This works. But in Firefox, #t1 is now located on the right hand side of #t2. In Internet Explorer everything works as expected (#t1 below #t2). Any suggestions? I tried
[jQuery] [validate] Validate for different or contains string (different than a given string or field)
Hello ppl of the group, I'm here to ask if there is a way to validate a field to be DIFFERENT from a value from a hidden field on a form or a sample string. I'm using jquery validate 1.2.1 I have a username/pass validation ruleset, but i need the password TO BE DIFFERENT and DO NOT CONTAIN the username on it, is there anyway to do this? ATM all i have is this. clave: "Requerido", clave_verif: { required: "Repita su clave", minlength: jQuery.format("Repita su clave"),
[jQuery] The server script how to read the data with XMLDocument?
Sends an xml document as data to the server. By setting the processData option to false, the automatic conversion of data to strings is prevented. code from jQuery documentation var xmlDocument = [create xml document]; $.ajax({ url: "save.aspx", processData: false, data: xmlDocument, success: handleResponse }); Now,in server script, how do i read the xmlDocument and save a file.my code like this: private void Page_Load(object sender, System.EventArgs e){ Stream stream = Request.InputStream; XmlDocument
[jQuery] The server script how to read the data with XMLDocument?
Sends an xml document as data to the server. By setting the processData option to false, the automatic conversion of data to strings is prevented. code from jQuery documentation var xmlDocument = [create xml document]; $.ajax({ url: "save.aspx", processData: false, data: xmlDocument, success: handleResponse }); Now,in server script, how do i read the xmlDocument and save a file.my code like this: private void Page_Load(object sender, System.EventArgs e){ Stream stream = Request.InputStream; XmlDocument
[jQuery] Why won't both these functions work?
<script type="text/javascript" > lastBlockOne = $("#a1"); maxWidthOne = 274; minWidthOne = 117; lastBlockTwo = $("#a2"); maxWidthTwo = 221; minWidthTwo = 81; $(document).ready(function(){ $("#welcome-accordion ul li a").hover( function(){ $(lastBlockOne).animate({width: minWidthOne+"px"}, { queue:false, duration:400 }); $(this).animate({width: maxWidthOne+"px"}, { queue:false, duration: 400}); lastBlockOne = this; } ); $("#process-accordion ul li a").hover( function(){ $(lastBlockTwo).animate({width:
[jQuery] how to test if element has a class?
Hi, If I have an element with id "myId", how do I test if it contains the class "myClass"? Thanks, - Dave
[jQuery] unsubscribe
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><head><META content="text/html; charset=utf-8" http-equiv="Content-Type"> <META content="text/html; charset=utf-8" http-equiv=Content-Type> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></head><BODY> <DIV STYLE="margin:0 0 20px 0;"> <DIV> </DIV> </DIV> <DIV STYLE="FONT: 10px/1.4 verdana,arial; COLOR: #aaaaaa"><IMG ALT="in2 and Primal PR are part of BWP Group" BORDER="0" HEIGHT="100" SRC="cid:image9b3c48.gif@7c2fca70.11fe4794"
[jQuery] [HELP] Problem w/JQ in IE
Hi everyone! I'm new to jQuery and have been using it for about a day and a half. I must say it's really freak'n cool! I've built a small prototype application that's pretty simple to see if I can get things to work cross browsers and I have run into some problems. Of course things work great in FF but unfortunately not IE. Since I'm such a nubie at all of this would it be too much trouble for you all to take a look at what I've done in IE and FF and post some suggestions as what to do next? Here
[jQuery] Animate Clip CSS Properties
Hello All, I've found myself stuck with something. I have an image which has a clip applied to it: #some_image { clip: rect(0px, 150px, 0px, 0px); } and I want to animate it but the .animate function doesn't seem to work using the following: $('#some_image ').animate({clip:"rect(0px, 450px, 0px, 0px)"}, 400); Searching around I've found a Moo Tools Plugin which does this: http://georgschmid.at/dev/mootools/fxcssclip.htm but I haven't found anything in my extensive googling talking about how to do
[jQuery] [NEW FUNCTION] fixClearType (with opacity in IE6/7 quirkmode)
Hi, I had a problem with the feature Cleartype of Windows and Opacity (effects like "fadeIn", widgets like "tabs", etc...). The problem appears with IE6 and IE7 (quirksmode) browsers. You know it, the cleartype effect dissapears in text. I use jquery version 1.2.6 but it seems to me that, at the end of using/animating opacity, it leaves css feature "filter" with a blank string when it should be removed (when these effects end, you can see this behavior using: alert(this.style.cssText): 'FILTER:;ZOOM:1').
[jQuery] On window unload
I have a simple php page that when a GET variable of logout is passed, a session is destroyed. If a user doesn't explicitly logout and just closes the browser is there any way to destroy the session from the JS end of things? I tried firing a $.get() request on window unload but it doesn't complete because the browser has closed. Does anyone have any suggestions?
[jQuery] fadeout + text + fadein
Hi! I'm a newbie to jQuery and I wanted to make something simple: make a ajax query to get some values from a DB, fadeout the old values, change the text with the new values and then fadein the values. Unfortunately this doesn't work: $("#"+div).fadeOut("slow",function () { $("#"+div).text(newvalue,function () { $ ("#"+div).fadeIn("slow"); }); }); The text fades out but then never fades in again. Anyone has any idea why this happens?
[jQuery] Tabs fade effect triggered from Select drop down?
I have used the Tabs feature in the past, and it worked great for a smooth fade in and out toggle effect. Is there a way to achieve this, but if my 'nav' is a select drop down? I have the select being able to trigger the divs right now, but not sure how to get a smooth toggle on the items, as the page loads with the items hidden. My current code 'works' but there is some issues with the z-indexes since it only fades them down, not hides them. I also will have 5 options, and I think adding the fadeTo
[jQuery] jQuery and JSON
Hi Guys, I am having some difficulty with jQuery and JSON. Can someone illustrate how to 1) Post a request containing JSON 2) Serialize any object to json string itself as a client-side request ? There is info available on the server side, but nothing on the client side ? Really appreciate any help. Thanks, Andy
[jQuery] what is the simplest way to highlight an element briefly rails-style?
I want to highlight an element for a second to draw attention to it and then remove the highlight affect to return it to its normal state. I would use this for flash messages or on elements that just changed on the page if say I'm making an ajax call. Would I use animate? addClass/removeClass? How should I proceed?
[jQuery] jquery rotate
Hi, i'm trying to use this plugin : jquery-rotate-1.1.js http://code.google.com/p/jquery-rotate/ It works well with IE but i have problems with firefox.. i'm using firefox 2.0.0.14 on Windows XP.. I have this error : [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCanvasRenderingContext2D.drawImage]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://www.voyagemotion.com/js/jquery.rotate.1-1.js :: anonymous :: line 51" data: no]
[jQuery] Datepicker
I am using the Jquery inline datepicker plugin.. When I select on a particular date I would like to load the appointments page for that particular date on the same page. Can anybody tell me how to go about it
[jQuery] [validate] opera shows no errormessage
Hi Jörn, I´m a jquery-beginner and try to build my first form with your validation-plugin. I appreciate your great work! Everything works fine, only opera in version 9.51 shows a strange behaviour: I validate the fields onblur and show a ok-image onsuccess. When i leave a invalid email-inputfield, opera don´t show the errormessage. The inputfield itself has the errorclass - i can see this because there ´s a red border from my css. But the errormessage don´t appear. When I click submit, or I leave
[jQuery] How would I create
<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>How would I create a simple 50px X 50px hovering square that popups up on a give event at stays a given amount away from the cursor?? This goes along with the "Hover Select" email i sent yesterday. </div></body></html>
[jQuery] jquery ajax not working on firefox 2
Hi, I'm using jquery ajax for a part of my site and it works on firefox 3, ie 6, ie 7 and safari, but not firefox 2. Anyone come across this before? Here's the ajax function checkUsernameAvailability: function(i) { // var sBaseName = 'user_name'; var sBaseName = i.split("reg_")[1]; var sValue = $('#reg_'+sBaseName).val(); if (4 < sValue.length && sValue.length < 16) { $.ajax({ url: usernameAjax, type: 'POST', data: 'testUsername='+sValue, dataType:
[jQuery] Weird thickbox/Jquery failure.
OK, Ive got a form with some links that trigger thickbox windows. This is the short version: <form id="reply"> <a href="#TB_inline? height=175&width=305&inlineId=linkerBox&modal=true" class="thickbox"> <img src="/media/img/icons/fam/link.png" title="Insert Link" alt="Link" /> </a> <span id="linkerBox" class="formatHelper"> <label for="url">Link URL:</label> <input type="text" id="url" /> <label for="linktext">Text to display:</label> <input type="text" id="linktext" /> <button id="linkercloser"
[jQuery] Using :nth-child(index) in IE with XML errors
HI, Has anyone experienced problems using the :nth-child selector when trying to navigate XML in IE? It works properly in Firefox, only IE is being stubborn. I am doing something like this: $(xml).find("mynode:nth-child(3)") My XML looks something like this: <root> <one/> <mynode/> <mynode/> <mynode/> <mynode/> </root> Any suggestions appreciated. :)
[jQuery] bind function error Please help
Hi all, I tried the following example: ==================================== function handler(event) { alert(event.data.foo); } $("p").bind("click", {foo: "bar"}, handler) ================================= I am getting the following error: =================== c[j].apply is not a function =================== Please help me how to fix this issue .. Thanks in advance.
Loading issue with iframe using Jquery
Hi, I am loading a page into an iframe using JQuery by changing the src attribute of the iframe when the user clicks a button. Is there any way to have it so that if the button is clicked again it doesn't reload the page into the ifram but just keeps it as it is? Here is my JQuery code: $(document).ready(function(){ $('.button').click(function(){ $('iframe.chart').attr('src', 'page.html'); }); }); Thanks in advance
[jQuery] SOT: TinyMCE changing my HTML, not being consistent.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=632552713-08082008><FONT face=Arial size=2>I've got a container element which holds a string of user defined HTML. I'm planning on swapping the contents in and out using TinyMCE but I'm running into a problem.<BR></FONT></SPAN></DIV> <DIV><SPAN class=632552713-08082008><FONT
[jQuery] JQuery UI Date Picker and Thickbox wont work
Im trying to run UI Date Picker from a Thickbox. Thickbox screen is appearing on the screen but UI Date Picker is not. When I run Date Picker on a normal page everything works fine. Is there any solution for this problem? Any other date picker or solution is more than welcome. Thanks Rob
[jQuery] new plugin
What do you think about my new plugin??? This is the last .... http://www.nicolaferrari.name/progetti_nicola_ferrari_TypeHtml%201_1.php Here other 2 http://www.nicolaferrari.name/progetti_nicola_ferrari.php
[jQuery] Radio Button Event
I have a set of three radio buttons. I would like it so when clicks a certain radio button that is fades a hidden div. How would I do that?
[jQuery] JSON object as a part of URL
Greetings! I need to pass an object of type // a,b - strings function JsonObj(a, b) { this.a = a; this.b = b; } as a part of URL http://localhost/jsonobject/{serialized instance of JsonObj} As a part of URL, object is properly stringified by json2.js to http://localhost/jsonobject/{"a":"avalue","b":"bvalue"} but the request URL in the end is like http://localhost/jsonobject/%7B%22a%22:%22avalue%22,%22b%22:%22bvalue%22%7D This results to "Bad Request" response from the server. What's wrong? Alternatively
[jQuery] How can i do this with jquery
Hi does anyone know how to add/remove country from one column to another in jquery. Please see this image: http://www.tenthweb.com/country.jpg
[jQuery] jquery.cycle - pagerAnchorBuilder
Hello, I'd like to use the image "title" in the pagerAnchorBuilder - instead of thumbnails. The example on the jquery.cycle site is: pagerAnchorBuilder: function(idx, slide,) { return '<li> # ' + slide.src + ' </li>'; } I'd like the "return" to look more like this return '<li> # + slide.title + </li> Any help would be much appreciated. -- View this message in context: http://www.nabble.com/jquery.cycle---pagerAnchorBuilder-tp18884376s27240p18884376.html Sent from the jQuery General Discussion mailing
[jQuery] jquery.cycle - pagerAnchorBuilder
Hello, I'd like to use the image "title" in the pagerAnchorBuilder - instead of thumbnails. The example on the jquery.cycle site is: pagerAnchorBuilder: function(idx, slide,) { return '<li> # ' + slide.src + ' </li>'; } I'd like the "return" to look more like this return '<li> # + slide.title + </li> Any help would be much appreciated. -- View this message in context: http://www.nabble.com/jquery.cycle---pagerAnchorBuilder-tp18884376s27240p18884376.html Sent from the jQuery General Discussion mailing
[jQuery] Input field: focus=remove text; blur=put it back
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=247521716-17072008><FONT face=Arial size=2>Is there a plugin for this by chance? I know it's pretty quick to write, but wanted to find out if someone's already done it better than I could.</FONT></SPAN></DIV> <DIV><SPAN class=247521716-17072008><FONT face=Arial size=2></FONT></SPAN> </DIV>
[jQuery] The server code how to read the data with XMLDocument?
Sends an xml document as data to the server. By setting the processData option to false, the automatic conversion of data to strings is prevented. code from jQuery documentation var xmlDocument = [create xml document]; $.ajax({ url: "save.aspx", processData: false, data: xmlDocument, success: handleResponse }); Now,in server script, how do i read the xmlDocument and save a file.my code like this: private void Page_Load(object sender, System.EventArgs e){ Stream stream = Request.InputStream; XmlDocument
Next Page