[jQuery] Text Animation Plug-in?
<!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 08.00.0681.000"> <TITLE>Text Animation Plug-in?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">A few weeks back I saw a new plug-in</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"> that would</FONT></SPAN></P> <P DIR=LTR><SPAN LANG="en-us"><FONT
[jQuery] project/jCache + path incorrect?
Hello, i want to use the jquery-plugin: http://plugins.jquery.com/project/jCache but it doesnt work realy good. My problem is maybe very easy but im blind :( im using this script 1&1 and change onyl the path for a loading file from this function here: function loadFakeData(no) { makeRequest("", "demo/mydemo.html" + no, '', "demoContent", "demoLoading"); but the text into this file is never loading. the onyl messasge i become is:Couldnot retrieve information. The script jcache.js is with the actualy
[jQuery] SharedObjects with jquery
Hello, to need help for read/remove/get Flash Storage with jquery. Anybody idea ? << hans
[jQuery] jQuery.dequeue is not a function
In a web application I am working on there is a menu that slides down when you mouseover something and slides back up when you mouseout again. If you did this too quickly the result would be that the animation would bounce up and down quite comically with no way to stop it other than waiting for the jQuery animation queue to empty itself. With jQuery 1.2 it seemed like a solution to this problem was available, because you can now stop animations. I tried adding stop() calls into the code in the belief
[jQuery] Cycling images based on background-image
I have a container div with a few things inside such as navigation, a logo, and a few other bits. I'd like to continuously cycle through different background-images of container div. I have to keep images applied as a background-image; any suggestions? Fading and other effects are nice, but I can certainly do without them. Does something like this already exist that I've just overlooked? Thanks.
[jQuery] Fade Divs one by one
I have table with entries. each entry is contained in the div. What i want to do is to fade them one by one, the slide up the table. is it possible in jquery. i tired this but its not happening exactly $('td','#products_table').each(function (td_id) { $('#products_table td:eq('+td_id+') div.entry ').animate({height: 0}, 'slow').empty(); });
[jQuery] Help with Tabs 3 and struts
Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use Tabs3 , but i need that the context of the tab call an action first (using struts), and then charge the jsp, is it possible? thanks a lot!
[jQuery] I've used the "replaceWith" function, to replace stuff with new stuff, which works. Now how do I use "replaceWith", to replace the new stuff?
I've used the "replaceWith" function, to replace stuff with new stuff, which works. Now how do I use "replaceWith", to replace the new stuff? ================= extracted source code ================= <script> var emailmexswap="<div id='menubar' class='menubar'><img src='tab_viewskills.gif' id='tabmain'></div>" var emailmex="<img src='emailsplash.jpg' align='left'><div class='offsetform'><form name='txtmail' action='txtmailer.php' method='post' onSubmit='return chkForm(this)'><table id='Table_01'
[jQuery] [jquery-en] Error on jQuery's report page
I'm getting an error @ <a href="http://dev.jquery.com/report/24">http://dev.jquery.com/report/24</a>
[jQuery] Having problems making my function work on safari
The script presented here works like a charm in firefox 2. But it doens't do anything on safari. What it is supposed to do is take the name of a input field then the id if it is text, div. then change the color depending on the id of the input field if it is text then change the text color. if it is div change the bgcolor of the div. $(document).ready(function () { $('input[name]'),$('input[id$=div]').change(function(){ $('#'+this.name).css('background-color',
[jQuery] How can I switch elements by fades?
$(function() { $("#message_1").clone().removeClass("hidden").appendTo($("#message")); $("span.text1").click(function() { $("#message").empty().html($("#message_1").clone().fadeIn("normal")); return false; }); $("span.text2").click(function() { $("#message").empty().html($("#message_2").clone().fadeIn("normal")); return false; }); }); From the script above, it works fine, but what I wanna do is to fade out the current element first, then the new
[jQuery] Trying to set the id of a 2nd level div and failing
I'm trying to set the id of a 2nd level obj selected by class and it doesn't seem to work as I thought it would. Unfortunately all of the level one objects get the id assignment, not the level two object. Here it is before I do the operation: <div id="obj"> <div class="obj_level1"> <div class="obj_level2"></div> </div> <div class="obj_level1.1"></div> </div> Then I do this: var obj = $("#obj"); //bunch of code obj.children(".obj_level1 > .obj_level2").attr( "id", "Bob" ); It ends up like this: <div
[jQuery] Loading dynamic JS libraries with jQuery
Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... I thought I had this working before but now it's not. Here's my code: INDEX.HTML <html> <head> <script type="text/javascript" src="scripts/jquery.js"></script> <script type="text/javascript" src="scripts/global.js"></script> </head> <body> </body> </html> GLOBAL.JS function loadJavascript(scriptFile) { var scriptsPath; // Builds the correct scripts path scriptsPath = $('script').attr('src');
[jQuery] match element based on CSS value
How can I select an element based on it's CSS style value? For example, let's say I have an element absolute positioned at top=100px. How can I do something like the following? $(top=100px) thanks Jason
[jQuery] how can a text field be hidden based on condition
Hello, I'm a little new to jQuery. Is it possible to hide/disable a text field based on a certain value in a drop down box on the same page?? I'd appreciate if someone could either show me a similar example or guide a little. Thanks
[jQuery] Superfish without hoverIntent
I'm using clueTip and Superfish. The only problem is that I need hoverIntent for clueTip to do what I intend, but it makes the menus lag ever so slightly. Without the hoverintent plugin, Superfish seems to be just fine. So, what I need is some way to disable Superfish's use of hoverIntent (keeping hoverIntent only for use by clueTip). I presume I'd have to hack something out of Superfish, but I just don't know what. Thanks, Alex
[jQuery] ZOOM on the image
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">At this uRL</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="http://demo.magentocommerce.com/sony-vaio-vgn-txn27n-b-11-1-notebook-pc-intel-core-solo-processor-u1500-2-gb-ram-100-gb-hard-drive-dvd-rw-drive-vista-business-charcoal-black.html">http://demo.magentocommerce.com/sony-vaio-vgn-txn27n-b-11-1-notebook-pc-intel-core-solo-processor-u1500-2-gb-ram-100-gb-hard-drive-dvd-rw-drive-vista-business-charcoal-black.html</a></div><div><br
[jQuery] navigating complex xml
Hi, I'm currently trying to use JQuery to navigate through OWL (type of xml) files, it works quite well but I do have a problem with traversing : for a fragment like this: <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#hasColor" /> <owl:cardinality rdf:datatype="&xsd;nonNegativeInteger">1</ owl:cardinality> </owl:Restriction> </rdfs:subClassOf> the regular syntax seems to use the localName of the node (not namespaced) to fetch: $('subClassOf') gives results this goes completely
[jQuery] Validation Plugin - using required inside of addMethod
Hi, I'm trying to create a new custom validation method similar to the other methods included in 'additional-methods.js'. I've created my method like this: jQuery.validator.addMethod('dateAfter', function(value, element, param) { var dVal = new Date(); var dParam = new Date(); dVal.setTime(Date.parse(value)); param.indexOf('#') > -1 ? dParam.setTime(Date.parse(jQuery(param).val())) : dParam.setTime(Date.parse(param)); return !jQuery.validator.methods.required(value, element) ||
[jQuery] "translating" to jquery
hi. i have a little question... im not quite sure, because i don't know how to find out if this is working correctly. is this $('body').unload(google.maps.Unload); like the correct "translation" of this? <body onunload="google.maps.Unload()">
[jQuery] Element by Name associative array
Hello all, I'm trying to get the value of an element by it's array key. <input name='example[key]' /> Any guidance would be appreciated. Thanks
[jQuery] lost process running after form submit with impromptu
Hi all, I'm using Impromptu to provide a simple confirm before submitting a form from within a greybox. Everything works great, but whenever the form is submitted (im not using ajax, ajah). Its like some lost process starts running in the parent window that spawned the greybox. Once I click any link it goes away, but it shouldnt be doing this. I am still on jquery 1.1.4 (yes I plan to update). Any ideas? simple submit $.prompt('Submit report',{ buttons: { Submit: 'yes', Cancel: 'no' }, callback:
[jQuery] Adding <div>
I have this code so far: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function(){ $(document.body).click(function () { if ($("div:first").is(":hidden")) { $("div").slideDown("slow"); } else { $("div").hide(); } }); }); </script> <style> div{ background:#000000; margin:3px; width:960px; height:40px; display:none;
[jQuery] jQuery + PHP MCV Framework
Hi guys, is anyone there using jQuery with php mcv framework like CodeIgniter / Cake ? how do you guys solving the problem url param generated by jquery example: abc.php?c=controller&m=methods&p1=var1$p2=var2 into abc.php/controller/methods/var1/var2 any tips will be very useful for me. thx dian yn
[jQuery] detecting keystrokes for ie
hi, i'm using yahoo autocomplete from an input field and jquery to detect keystroke to trigger function. Everything works fine with the enter key, but it doesn't work for the tab key (both firefox/navigator and ie). Here's my code: $("#ysearchinput").keyup(function(e){ if(e.keyCode==13){ // (e.keyCode==9) doesn't trigger anything taglia(); } }); I also tried with blur and it works fine in firefox/navigator but not in ie it looks like it calls the function twice $("#ysearchinput").blur(function(){
[jQuery] SimpleModal v1.1 released
Hello, I've released a new version of SimpleModal. I added some new options that allow direct CSS styling as well as moved the critical CSS attributes from external stylesheets into the script. Another big change is the way that the modal dialog data is handled. Now, SimpleModal will, by default, clone the data and then re-insert the cloned data into the DOM when the dialog is closed. There is a new option, persist, which will allow you to have changes to the data maintained across modal calls. Project
[jQuery] [OFF TOPIC] Really weird Behaviour in IE
I just found the oddest behaviour in IE6. If you have an <a> tag with content that is a domain name e.g. : <a href='www.google.com'>www.google.com</a> if you set the href attribute (via jquery or natively) to another domain name - it will change the innerHTML to reflect this. E.G. $('a').attr("href", "www.yahoo.com") will turn this into <a href='www.yahoo.com'>www.yahoo.com</a> If the innerHTML is not a domain. then it won't do this. You can see that the IE programmers we obviously trying to do something
[jQuery] Problems with Interface Sortables
I have a demo page here: http://www.iohelix.net/formbuilder/formtest.html When you go to the page, add a few items (say 5 or so), and then try to reorder them (by grabbing the blue bar), if you reorder from the bottom up, and go below the containing div, the element you are moving disappears and it looks all weird. If you try to reorder any of the others by moving them down, it will skip any below it and go straight to the bottom (sometimes if you are really careful, you can insert it into a higher
[jQuery] using resizable handles that are not children
i posted this over at jqueryUI forum, but there doesnt seem to be a whole lot of acitvity over there. the problem is here- http://groups.google.com/group/jquery-ui/browse_thread/thread/653876bcc27ade9b
[jQuery] 1.2.2 Released 20 minutes ago
http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2.pack.js
[jQuery] AJAX and javascript?
Has anyone ever had incompatibility when getting an external file via the simple function function loadContent(id) { $("#ajaxContent").load("externalFile.aspx?program="+id+""); } The external file I'm getting uses the contains multiple Cases which function fine when called. However, in one of the Cases I am attempting to utilize jQuery accordion, which doesn't work at all when pulled into the mother page. It does work on its own if you're on just the externalFile.aspx page. Furthermore,
[jQuery] jqmodal autosize to fit contained image in window
hi all! i was wondering if anyone had a go at having jqModal adapt its size to the image it is displaying? All my attempts failed miserably, if anyone has an idea i'm all ears :) Cheers, Alexandre
[jQuery] Cluetip ajaxProcess and .find Problem
I'm using cluetip to pull a page via ajax and want to display only a certain div from the page (using an ID selector). If I use the defautl ajaxProcess code, it works normally and pulls in the entire page into the cluetip. However, when I modify it to use .find to narrow it down using the ID selector, I get the following error: ret[i].getElementsByTagName is not a function on line 1362 of jquery- latest.js Here's the code I'm using for ajaxProcess to grab the div by ID: $("#test2").cluetip({ sticky:
[jQuery] trying in a function to change css color on divs
Hi, I'm trying to change color on a div from the change of an input field. what i need is to get the name of the input field that is the same as the div name ( and the value, to be able to do the change). to avoid repeating i'm trying to create one function that can handle all. the html part: <input type="text" id="body_bgcolor" name="body_bgcolor" class="update" value="<?echo $body_bgcolor1 ?>" class="texte" style="width:50px;" /> <input type="text" id="header_bgcolor" name="header_bgcolor" class="update"
[jQuery] Attempts failing to cause div to slide up, slide down
Hi, all. I've made several attempts to figure out how to cause a div to slide up and slide down when a menu item is moused-over but so far, all attempts have failed. I can get the div to hide upon initialization of the page, but the slide is non-responsive. My jQuery has been tried like this: $(document).ready(function() { $('div.image-wrapper').find('div.menu-details').hide().end().find('a').mouseover(function() { var answer = $('div.menu-details'); if (answer.is(':visible'))
[jQuery] another fade problem in IE
HI everyone, Im trying to make a fade between pages on a website using ajax. Everything works fine in firefox and safari. The navigation is completely this way. Im using the jQuery 1.2 In Internet Explorer, sometimes the div fade sometimes not... its really strange... sometimes fade some elements, another times not. I ready set hasLayout in the target css and give a explicity background-color. Any ideas???
[jQuery] Forms AjaxSubmit: no error handling?
Hey all, In using the AjaxSubmit method of the Forms plugin, I notice that there is no error param to allow for the handling of an server side error after submission of the form. How are people handling this? I was thinking about just using ajaxForm and then doing the submit using the jquery $.ajax method, which does have error handling? How are other people doing this? -- Josh
[jQuery] simple ajax question
I have a small ajax issue here: function someFunc(){ var someVar = true; $.ajax({ type: "GET", url: requestURL, success: function(msg){ .... } }); } I have 2 problems: 1. I want someFunc to return a value according to the result of the ajax request - e.g. if msg is empty to return true, otherwise false. But if I attempt to return something, actually the function(msg) returns it somewhere and I don't get any result, which is logical since I'm inside an anonymous
[jQuery] progressive enhancement link href hurdle
Hi All, I want to use a whole bunch of jQuery functionality on a website and still have it accessible in its current form. I believe the term for such a process is 'progressive enhancement' Correct me if I'm wrong but I understand about adding enhancements to an existing webapp is that: 1) There are three layers to a website: HTML,CSS and JS 2) Each layer adds more functionality/style/interaction than the last and these layers should be applied in order to all browsers than are compatible So with
[jQuery] Method to convert dimenions value to ColdFusion variable?
<!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 08.00.0681.000"> <TITLE>Method to convert dimenions value to ColdFusion variable?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Hi, all</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">…</FONT></SPAN><SPAN LANG="en-us"></SPAN></P> <P
Next Page