[jQuery] news scroller example with innerfade and easing plugin
I thought I would share a news scroller like module I developed using innerfade and easing plugins here. this is how made some changes in innerfade plugin $.innerfade.next = function (elements, settings, current, last) { if ( settings.animationtype == 'slide' ) { $(elements[last]).slideUp(settings.speed, $ (elements[current]).slideDown(settings.speed)); } else if ( settings.animationtype == 'fade' ) { $(elements[last]).css("z-index","-2").fadeOut(settings.speed/3); $(elements[current]).css({top:
[jQuery] Sortable Box example
Greetings, New to the group and to JQuery. I am fascinated with the sortable box demo. I am using the one with the green itemHeaders. It flickers in IE 7 when minimizing the groupItem and in Firefox, an iframe inside a groupItem does not stay within the div but spills outside. That might be a matter of setting the height of the iframe but it looks ok in IE. Has anyone taken this basic demo and refined it? Has anyone coded an example that saves the positions of the portlets as the user leaves them?
[jQuery] avoid event bubbling to ancestors but still activate the default action?
I have an A in a DIV: <div id="divid"><a href="somewhere" id="aid">asdf</a></div> and bind the click event of the div: $("#divid").click(function() { ... }) Now I want the click of A execute the default action, i.e. go to another page, without execute the div event function. How to do this? "return false" doesn't work.
[jQuery] Using the history plugin for non-Ajax purposes
I am wanting to use the history plugin for a situation where Ajax is not used. Like how it works for the tabs plugin. Here is what I have so far: http://www.texotela.co.uk/sandbox/historytest/ The example on the test page (http://stilbuero.de/jquery/history/ index.html) is only for remote pages, it may be helpful if there was a non-Ajax example (like in mine where links added via JavaScript toggle the visibility of something else). One thing I am not sure how to do is how to handle it when there
[jQuery] question about the jQuery which is the ext adapter
i'm familiar with jQuery ,new to ext. I wanna know when I use jQuery with ext. Can i coding with the jQuery style? This is very important to me.thank you!
[jQuery] Jquery mailinglist suggestion
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=359564122-16052007><FONT face=Arial size=2>hello to the jQuery team,</FONT></SPAN></DIV> <DIV><SPAN class=359564122-16052007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=359564122-16052007><FONT face=Arial size=2>i was wondering, does google group allows
[jQuery] How to use easing plugin equation in innerfade plugin
I have been trying hard for some time now to use the equations of <a href="http://gsgd.co.uk/sandbox/jquery.easing.php">easing plugin</a> in innerfade plugin. I included the easing plugin JS in page. This is the innerfade function in which I am using it $.innerfade.next = function (elements, settings, current, last) { if ( settings.animationtype == 'slide' ) { $(elements[last]).slideUp(settings.speed, $ (elements[current]).slideDown(settings.speed)); } else if ( settings.animationtype
[jQuery] packed jquery hiccups in FF2?
Ever since I upgraded to FF2 from FF1.5, I have noticed sometimes the browser hangs and not responding for couple of minutes. I'd thought it might be the problem with FF2. But, yesterday when I dared to hit the "Debug script" option, it was stopping me at the jquery.pack.js (I was browsing sf.net) Is it a known issue? If not, anyone facing the same and know of any workaround? TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[jQuery] Need to make page do 2 things at the same time. Is this possible?
All, I have a jsp that needs to do 2 things: 1. the jsp page needs to invoke a servlet (I'm currently doing this when the user submits a form in the jsp page). The servlet will check some info and if the right info is there it will direct the invocation (request) to a media file. The media file will play. 2. the jsp page needs to redirect itself to a different page *after* it has confirmed that the media file (in #1 above) has started playing. I've figured out how to do either #1 *or* #2 (easy) -
[jQuery] Linking each list item to respective div container.
Hi there, I just started to working on jQuery and am finding it extremely easy to use. However I've been trying to find a solution to a simple navigation problem here.. My markup has a list with a few 'li' items. So for each click on a list item it would show the respective div container and hide the rest... <!-- List Menu --> <div id="dropbox"> <ul> <li>Cash</li> <li>Personal Assets</li> <li>Certificates of Deposit</li> </ul> </div> <!-- Div Containers --> <div class="formcash"> <h2>Cash</h2> </div>
[jQuery] jQuery Rounded Corners problems with IE
I have a jumping corners problem in IE 6 in my gallery http://nosite.ru/HU I can't find the source of this problem. can anybody help?
[jQuery] Next/Previous Links
Hey all! Here is the URL for the issue I am referring to: http://manhattanwest.com/media-center/video-images.php Problem: I need to make the "Previous" and "Next" links function to rotate through the 4 columns of links below the image area and unfortunately I am not the best with Javascript so any help would be AWESOME!!!!! Any ideas? Thanks in advance! -- View this message in context: http://www.nabble.com/Next-Previous-Links-tf3766061s15494.html#a10646671 Sent from the JQuery mailing list archive
[jQuery] ajax call to load iframe
I did some test in order to load div using ajax call: jQuery.ajax({ type: "get", url: Purl+separator+new Date().getTime() , async: true, dataType: "html", success: function(data) { jQuery("#"+fTarget).get()[0].innerHTML=data; } }); However I don't know how load content into iFrame....using ajax call. Anyone could help me?
[jQuery] Descendant axis with node context
The following script throws the error this.getElementsByTagName is not a function using the current jquery release. $("//tr").each(function(i) { f = $("//td", this).text(); alert(f); }); The problem appears to be in lines 869-880, where jQuery assumes that an XPath expression that leads with "//" or "/" is always evaluated in a document context rather than a node context. // Handle the common XPath // expression if ( !t.indexOf("//") ) { context = context.documentElement; t
[jQuery] Determining event bindings?
I'm mainly interested in this as a debugging tool, but is it possible at a given time to determine which jQuery objects have events bound to them, and to get details about the bindings? Also is it possible to determine if an object has the same event bound more than once? I had a situation this morning where an AJAX call was running twice. This was evidently due to a form having a submit bound twice. Thanks, Brad
[jQuery] New jTip, Plugged In (alpha)
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey everyone,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've been toying around with a new version of the jTip plugin, which was originally created by Cody Lindley.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This one is a complete re-write, and like Klaus's Thickbox Reloaded, it uses the more jQuery-ish syntax. So, now you can do something like this to have a jTip appear
[jQuery] jQuery + Wordpress?!
Sorry if this is old news (but I didn't see any announcements about it). I just upgraded my Wordpress install to 2.2, and noticed in the release notes that the Admin now uses jQuery. http://wordpress.org/development/2007/05/wordpress-22/
[jQuery] ajax issue with ie6 ie7 ?
Hi, I have this ajax call: $.get("/cgi/check", function(data) { $("#check").append(data); }); as part of my local home page. The first time this loads on IE6 , IE7 it prompts an "Operation cancelled" alert, but later viewing/launching of the home page do not cause this behavior. This works ok with FF2. Any ideas why this might be ? Thanks jose
[jQuery] Small delay in animate function - how can I fix it?
<!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.16441" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><A href="http://www.commadelimited.com/clients/haven/atkins/floor-plans.html">http://www.commadelimited.com/clients/haven/atkins/floor-plans.html</A></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><SPAN class=729513513-15052007><FONT face=Arial
[jQuery] jquery tabs and IE 6
Hi, I have been using JQuery and it is great. I have a problem which is related to viewing more than anything else. When I click on the tab the text of the div appears on the right of the last tab rather under the tabs. When I use FireFox the text is displayed correctly. I have tried using a table and setting the alignment to left. Or just setting the text to left and using a . None of these worked. Any suggestions. Regards, --jh
[jQuery] DOM issues with an AJAX loaded form
Hi guys, I have a page which contains javascript validation for an existing form. There is also a link where another form can be loaded onto the page via ajax, this step is working fine. My problem is that the validation/submission code in the page header isn't picking up my *new* form (from the ajax request) as the new form fields aren't in the DOM. Is this something anyone has come across before and has a solution for? Thanks
[jQuery] Strangeness with fade(), alpha-opacity PNGs and IE
I've only tested this with IE7 (don't have IE6 available - I'd imagine it'd be worse what with it's lack of native alpha-transparency support) but it's pretty strange. http://www.devioustree.co.uk/ At the link above I'm using fadeIn() and fadeOut(). It works fine apart from when I've got a PNG background that uses alpha-transparency. For some reason IE7 shows a black (maybe dark-blue) background behind the PNG during the transition and reverts back to normal afterwards. I'm assuming this has something
[jQuery] Plug-in Mailing list?
Is the plug-in mailing list still alive? I'm writing a plug-in and I've got some questions I'd like to talk about with other plug-in developers. Thanks, Chris -- http://cjordan.us
[jQuery] jquery in several iframes
Using several iframes on one page, I want to load jquery (1.1.2) (and extensions) in one special iframe ("jqueryload") and then use it also in the other iframes, e.g. "jqueryuse", where it is not explicitly loaded. I'm trying to reference it, via: $ = parent.frames["jqueryload"].window.$; $(document,parent.frames["jqueryuse"].window).ready(function() { $("div",parent.frames["jqueryuse"].window).css("border", "1px solid black"); }); But i get the error "this.setArray is not a function". What would
[jQuery] wrap span tags around the contents/text of a link
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi, I am trying to wrap <span></span> elements around the text within <a href="#"></a> elements, like this: <b>before:</b> <ul id="mainlevel"> <li><a href="#" class="mainlevel">Link</a></li> <li><a href="#" class="mainlevel">Another Link</a></li> <li><a href="#" class="mainlevel">Some Other
[jQuery] jquery.innerfade.js Random Problem
I am trying to use this script jquery.innerfade.js but am having a little bit of a problem. You can see it here. http://medienfreunde.com/lab/innerfade/ I have set it to random but it still always starts with the first item and then shows the others randomly. How can you make it start out by displaying one of the items randomly and not the first one everytime. This is what the code is in the jquery.innerfade.js file. /* ========================================================= // jquery.innerfade.js
[jQuery] Set the position of an element using the dimensions plugin
Hi, With the plugin 'dimensions' I figured out how to get the position of an element. But what do I have to do to set it?
[jQuery] Form plugin: Multiple submit buttons
I've a form with serveral submit buttons which should call quite some different functions. Is there a way to overwrite the URL depending on the submit button, calling separate server functions or do I have to separate them on the server? O. Wyss
[jQuery] Getting a checkbox value
Hi, how do I get the value of a checkbox? If i use this code I get for both checked and unchecked 1 as a result. $('#edit-use-background-image').change(function() { alert($(this).val()); });
[jQuery] Parse XML with IE
Hi all, I know IE6 (maybe 7) is known to have limited ability to parse XML but it seems it can. After an ajax call, i'd like to parse the xml file like this : $.ajax({ type: "GET", url: url, complete: function(response){ var rootNode = $("/rootNode", response.responseXML); } }); Is there a hack?, is there something specific about the XML file it can parse (ex: no node attributes). Regards, Phil
[jQuery] * Important: Repent, Completely trust in God only and, Love Him with all of your heart.
There is a section below with the title "Atheism and Evolution are WRONG." All those who have sinned deserve to suffer in Hell forever. "Pride" is an example of a terrible sin. 1. Repent (be truly sorry for your sins; beg for God's forgiveness; abandon sin; ask Him to help you stop sinning; and repent for His sake). 2. Completely trust in God only; do not trust in yourself. 3. Love the Lord with all of your heart. The Son of God (the Lord Jesus Christ) suffered and died on the cross to pay for the
[jQuery] jquery tabs: changing color of unselected tabs
Hi, This should be simple, I know, but I'm having problems. Using the default stylesheet that accompanies the Jquery Tabs example, how do I change the color of unselected links? I tried adding a "color:" directive to the ".tabs-nav a" class, but to no avail. The links still appear as the standard link color in both IE and Firefox. Thanks for any advice, - Dave
[jQuery] (OT) Node.prototype
Mozilla (Firefox) can extend Node, but IE cannot. Here's a snippet of what I am trying to do: Node.prototype.ac = function(e) { this.appendChild(e); } The problem is that "Node" is not defined in IE. Does anyone have any bright ideas on how we can trick IE into working also? ~Sean
[jQuery] JQuery Shopping Cart
Has anyone done a shopping cart using JQuery? I'm about to try and create a nice spiffy shopping cart that allows the user to add and edit items in a cart without refreshing the page. Before I start, does anyone have any tips, advice, or source code to share to help me get started?
[jQuery] showing overlay when loading doesn't fullscreen when scroll-down
css code is : #overlay { display: none; position: absolute; z-index:100; top: 0px; left: 0px; background-color:#000000; filter: alpha(opacity=75); opacity: .75; height: 100%; width: 100%; } #modal { display: none; position: absolute; left: 50%; top: 50%; z-index: 101; width: 200px; margin: -100px; background-color: #fff; border:1px solid #222;
[jQuery] jqModal Ajax question
I'm trying to open another jqModal window within a jqModal window and then resize the new window. Currently I'm using latest JQuery and jqModal +r9. I'm having problem bringing up the modal window, and I tried specifying trigger: false in the parameter. Here's my Javascript. <script type="text/javascript"> $(document).ready(function () { bindModalBox = function(){ $(".modal_box").each(function(){ $(this).click(function(){ $(".jqmdWide").width(600); $('#ex4').jqm({
[jQuery] return a variable after an ajax call
Hi all, I'm sorry if this has been answered before; it seems simpler than I'm making it. I am validating a form field on blur by calling a function validateField. This function handles the ajax interaction and passes the response to another function showIcon, which determines which icon to display and may or may not display an error message div. This is all working, but now I want to display only the first form field on load. The remainder of the form should display only if the first field passes
[jQuery] Text Highlighting from Search
<div>I have a search which yields a URL like this: (searching for [jets daniel])</div> <div> <div><a href="http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search">http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search</a><a href="http://www.commadot.com/index.php?s=Jets&searchsubmit=Search"> </a></div> <div> </div> <div>I also have a <span ID="searchterm"> with the contents of "jets daniel" on the page.</div> <div> </div> <div>Looking for a jQuery way or plugin to highlight
[jQuery] thickbox reloaded?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=171171914-15052007><FONT face=Arial size=2>hello,</FONT></SPAN></DIV> <DIV><SPAN class=171171914-15052007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=171171914-15052007><FONT face=Arial size=2>I know thickbox 3 is out. What of the parallel branch "thickbox
[jQuery] Retrieving specific xml node from xml document
Greeting all, I'm sure this is quite simple; however not sure how do it. I want to be able to get a specific xml node from the xml document using a function call after I have initially retrieved it with jquery. Hope my code will explain better: XML DOC: <?xml version="1.0" encoding="ISO-8859-1"?> <schedule> <show> <date>Monday, May 14, 2007</date> <dayofweek>Monday</dayofweek> <image>051407.jpg</image> <title>San Antonio Hosts Training for Ministry Conference</title>
Next Page