[jQuery] OT: js file obfuscation
Hi All, Any recommendations for a (preferably free/opensource) js obfuscator that you've used and liked? I'm looking for something to take what packer does to the next step: at minimum, obscure methods names, but preferably scramble the dickens out of the file to reduce the likelihood of reverse-engineering. Thx, Jack
[jQuery] My Jquery-Tab plugin allow selectable remote tab and add oninit even function
Hi all, Happy to share this plugin! It is base on Klaus's tab plugin. http://www.twe-market.com/tab/#remote-tab-4 Regards, Tung
[jQuery] Detect when scrollbar gets to bottom
Hey all, I'm having trouble working out a way to detect when a scrollbar has hit the bottom. I've played about with the scrollTop property but because this gives the number of pixels from the top of the element to the top of the bar, I can't easily compare the height. Any ideas or pointers? I would like it to work with elements as simple as an overflowing div: <div style="width: 100px; height: 100px; overflow: scroll;"> Some content that will cause a scrollbar to appear in the parent div Some content
[jQuery] Looking for a different type of menu
I've been using a javascript menu system in my application that I haven't seen replicated yet in any of the jquery plugins I've been able to find. I'd like to find a replacement for the script I'm using because it's quite bloated and I think using jquery could greatly simplify it. Also, the script requires using a "value" attribute in the <li> tags, and that attribute is not XHTML compliant. This current menu system is based on the yahoo mail system's menu buttons. I've setup an example page at:
[jQuery] Iteration through multiple class attribute values
Hi All I'm trying to iterate through a DOM object's class values to develop a form validation routine. At the moment the $.each() function is treating each and every character in the class value as a separate item, instead of splitting the values into separate values based on spaces. Therefore this doesn't really work: var fieldClasses = parsedInField.className; or var fieldClasses = $(parsedInField).attr('class'); $.each( fieldClasses , function (count, clarse) { if (clarse == 'alphanum') { // blah
[jQuery] how do a post-action by default for every ajaxCall success
I need to control the expiration time session in order to warning the user. I am using settimeout method. In order to update the settimeout I need to call a method each time that Ajax call has success. I have a lot of Ajax calls... I would like execute by default the update timeout for every Ajax call. Is there any way to do it using ajaxsetup? Or ... Are there any palace into jquery code where I could add this call?
[jQuery] [ANNOUNCE] jCarouselLite version 0.4.0
Hi list, I have updated the jCarouselLite plugin to its next revision - 0.4.0. The project page is at <a href="http://www.gmarwaha.com/jquery/jcarousellite/index.php">http://www.gmarwaha.com/jquery/jcarousellite/index.php </a> This revision adds a few cool features(based on demand) and fixes a few bugs. It looks pretty stable now. If it stays stable for sometime, i might raise it to 1.0 status pretty soon. 1. Added support for mouse-wheel interaction. By adding "mouseWheel:true" to your list of options,
[jQuery] ANOUNCE: Grid Row Sizing v.0.1 plugin released !
This plugin applied to HTML tables, provides the ability of expand/collapse rows (in IE with animation). The key is using CSS over simple TR, TDs (not using DIVs embeded in TDs). check it in : http://jquery.com/plugins/project/gridRowSizing -- Enrique Meléndez Estrada Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón
[jQuery] It's all in the mind - the power of belief
Sources: http://www.ehponline.org/members/2007/10286/10286.pdf http://news.bbc.co.uk/1/hi/health/6914492.stm http://www.theregister.co.uk/2007/07/25/mobile_sufferers_unaffected_by_turning_kit_off/ There are people who believe that signals from mobile phone masts are causing them ill health. Symptons include headaches, nausia, anxiety and lethargy. A double-blind study was undertaken to determine the validity of the claim that radio emissions from mobile phone masts can cause illness. Two groups of
[jQuery] $strip has no properties (??)
Hi list. If yoy have FF with Firebug, and go to this page http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/beta/continuous.html you "MAY" have an error that pops up that says that $strip has no properties $strip in this script should be (should be because i'm 'learning' jquery) the paragraph that continuosly scroll $strip = $("#mask p#strip"); Now have you an idea of why if I simply reload that page that error popsup but the script runs ok? Why if teste locally $strip makes a continuous
[jQuery] [Off-Topic] CSS Combine Images
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] $(e.target) & $('#id'), IE got problem
I'm building one ajax paginator. Cosider the following conditions: Common snippert: $(document).ready( function(){ var opts = { url : '/vstock/query', target : '#id-vstock-query-result', success : paginator_hook }; var form_id = '#id-vstock-query-form'; $(form_id).ajaxForm(opts); $(form_id).ajaxSubmit(opts); <<< Difference >>> }); It works in Firefox and Opera, failed in IE, when <<<difference>> is: function paginator_hook(){ $('div.paginator a.ajaxpage').click( function(e){ $.ajax( { url : $(this).attr('href'),
[jQuery] Jumping of interface slider indicator
Just a bug that I can't seem to fix. I am using a slider that has a dynamically sized indicator (or elevator, whatever your terminology). It acts as something similar to a window scroller. I'm currently testing a scenario now where the indicator is approximately 90% of my window. When I click on the upper and lower areas of my indicator, the slider seems to interpret my click as a jump-to event, and immediately jumps my indicator to that location... as opposed to simply letting me click and drag
[jQuery] SITE SUBMISSION: Please add gsalr.com to the list of sites
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello Rey, I was wondering if you could add <a href="http://gsalr.com">gsalr.com</a> to the list of sites that use jQuery. The site is a mashup of Google Maps / Craigslist and a few other sites that list garage sales on the web. The site provides a map view of garage sales in various cities
[jQuery] Joomla and jQuery
Hi guys! I've successfully implemented jQuery library into my Joomla based site - I'm using it for the drop-down login on the top of my page, but I have a bit of a problem with the gallery section. I'm using Simple Image Gallery ( http://www.joomlaworks.gr/#downloads_section ) and everytime I open the gallery my drop-down login (on the top of my page) doesn't show, but it works flawlessly everywhere else. If anyone has some experience with it, please help. Thank you in advance, NeOman
[jQuery] SITE SUBMISSION: Please add www.fppdesign.com.au to the list of sites
Hi Rey, I was hoping you could add www.fppdesign.com.au - a site I did over a year ago. This site has used jQuery since before there was a jQuery version number! Over time, I have added quite a few jQuery enhancements including: - Rounded Corners plugin by Dave Methvin to round off the active navigation tab - My jQuery port of Dustin Diaz's SweetTitles (is it worth officially releasing that as a plugin?) to provide stylised tooltips that fade in. - AHAH retrieved email address inspired by "15 Days
[jQuery] Form Client and server side validaion probleme
Hello, I'm trying to fix a validation form probleme but I don't have any idea. This is the probleme : I have a forum with inputs, for the validation, I have some client side controls and server ones with an ajax call. this is the code : -------------------------------------------------------------------------------------------------------------------------------------- $("#Register").submit(function() { $(".ErrorDiv").hide(); $(".SuccessDiv").hide(); var msg_error
[jQuery] ANNOUNCE: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more
The jQuery moreSelectors plugin has been updated for jQuery v1.1.3.1. For example: "DIV:color(red)" to match DIVs with red text. Automagically matches #rrggbb and rgb(r,g,b) formats too. "TD:colIndex(1)" to match table cells in column 1 (allowing for colSpans too). "SELECT:modified" to match SELECTs that have been changed. "*:blur" to match form element that last had the focus. - jQuery Plugin page: http://jquery.com/plugins/project/moreSelectors - Download: http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
[jQuery] jQuery Calendar
Hi! I have one problem: I search for plugin 'calendar' like Google Calendar, where we can select the time for every events with mouse - we just draw over the timetable and new event was created. Are you know 'plugin' like that or can you tell me, how can I create that plugin? By, PeterKl
[jQuery] Data, get response.
Is there a way to pull a div out of a get response? ive tried all sorts of uses behind the find, even the (expr,contenxt) method and im just getting stuck at every corner. This is what im currently doing but I have to append to the dom HTML data all the time, after one click event, my hide and show no longer work. So im trying to see if i can just pull the div out, w/o having to append to the dom. $(document).ready(function(){ $('body').append('<div id="hiddenDiv" style="display: none;"></ div>');
[jQuery] BlockUI not displaying overlay background in IE6 and IE7
Hi guys! I have a problem regarding BlockUI. I'm using it on a website where I have a few users registered. The idea is that a user can browse for an image, select it and as soon as it has been selected the BlockUI will appear and ask them to wait. Then it runs through a PHP code via Ajax and displays "Hurray" if it worked and "Burray" if it didn't. This works like a dime in FF but in IE it's all messy. First of all I can't get IE to stop following the form submit. IE always tries to submit the form
[jQuery] [OT] Development tool by yahoo for firebug
Guys and Gals, Came across this today and found it pretty interesting when looking at some of my current projects. Figured I'd share. <a href="http://developer.yahoo.com/yslow/">http://developer.yahoo.com/yslow/ </a><br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com">http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a>
[jQuery] Rss Feed pagination animation
Tossing this one out as I've not idea if there is a way to animate the loading of an RSS feed (remote content). Had the idea to say maybe pull in gallery screenshots from CSSmania for example maybe 3 at a time and have them slide out and three more slide in. It might require the magpieRSS app, not sure. Similar to the way the google or is it yahoo autoPager works. so it would load 1-3 then 3-6 and so on, possibly limiting it to maybe 5 iterations in the loop. It's way beyond me but seems like something
[jQuery] Field Plug-in Update - TabIndex Navigation...
Everyone, I've updated my Field Plug-in with some new methods to make it easy to go to specific fields within the tabIndex of the form. I'm looking for people to test the new functionality before updating my Plug-in in the repository. http://www.pengoworks.com/workshop/jquery/field.plugin.htm Please check out the "Field Navigation Methods" under the "Interactive Examples" section. The "autoAdvance()" method may be the one that developers find the most useful. However, from time-to-time I've needed
[jQuery] Get a range of elements (getting late, and losing my mind)
Hey everyone, I'm working on some pagination. Before I move on to my issue, the best pagination plugin I've found is John's pager (http://jquery.com/ api/js/pager.js). But it doesn't seem that this is being developed further, and the only other I've found (http://rikrikrik.com/jquery/ pager, listed on jquery.com) is really only suited to paginating large amounts of text, and not lists. Is there anything else out there? So far, John's pager is looking really good but for one problem - it has no handling
[jQuery] reproduce position:fixed
hello! i'm trying to have a div box stay permanently on the same position in the viewport, no matter how much the page is scrolled. I try to use dimensions.js to do it, but so far i've failed to calculate correctly the new top position of my element. Can someone explain me what i'm doing wrong? $(window).bind("scroll",function(){ $this = $('#leftCol'); var newTop = $this.offset(); var scrollTop = $this.scrollTop(); $('#leftCol').css({top: fixedTop.top + scrollTop}); }); Thank you! Alexandre Ce message
[jQuery] Opacity in fadeTo, etc does not work in IE, am I crazy?
Hi, I've posted about this before but no one has replied. Is anyone having issues in IE 6/7 with opacity? It doesn't seem to be using the filter: to toggle opacity for me... I find it bizarre that jQuery would not have covered this. Maybe it has something to do with running IE through parallels? Thanks!
[jQuery] Testing required for latest jQuery Maps Plugin
Hi folks, Today I have uploaded the latest development version of the jQuery Maps Plugin (available here: http://jmaps.googlecode.com/files/jquery.jmaps.development.js or in the branch of the SVN). I've started making this plugin more of a maps framework, and have included support for Yahoo! maps, as well as Google (which is now the default). To use it for example you can do either: $('#jmap').jmap(); // Creates a google map $('#jmap').jmap({provider: "yahoo"}); // Creates a yahoo map To make creating
[jQuery] [ANN] Dimensions 1.0 final is finally here!
The 1.0 release of Dimensions is finally here. It has been a long time in the making. Thanks to everyone who helped me test it! You can get the details and see an example using the new position method over at my blog: <a href="http://blog.brandonaaron.net/2007/07/22/dimensions-10/">http://blog.brandonaaron.net/2007/07/22/dimensions-10/</a> You can download dimensions from the project page: <a href="http://jquery.com/plugins/project/dimensions"> http://jquery.com/plugins/project/dimensions</a> Or
[jQuery] ANNOUNCEMENT: jQuery resetDefaultValue plugin
Hi, It´s a simple plugin, that let you clear and reset the value of input elements. Example of usage: $(function() { $('input').resetDefaultValue(); // for all input elements $('input.className').resetDefaultValue(); // for some elements $('#q').resetDefaultValue(); // for a especific element }); The plugin code: /** * jQuery resetDefaultValue plugin * @version 0.9 * @author Leandro Vieira Pinho <leandro.w3invent@gmail.com> * How to use * $(function() { * $('input').resetDefaultValue(); // for
[jQuery] Is it possible so scroll all the way to the end a div overflow: scroll; ?
I have a div that its overflow attribute is set scroll (or auto), basically, I need to make sure it's always at the bottom. How do I do that? Thanks, Sam
[jQuery] datePicker plugin inline
Hello, jQuery. My apologies if this is a dupe; the first copy didn't seem to go through. I'm working with Kevin Luck's datePicker plugin, v2[1], because it seemed the least unsuited for what I was trying to do and I'm already using it elsewhere. What I'm trying to do is have an inline calendar grid rather than a popup, and have that inline grid offer paging and multi-select abilities. Then on submit, grab all of the selected dates and serialize them to a hidden field and submit. I'm replacing
[jQuery] alternate next() behavior
.next() grabs the very next sibling. I need to be able to grab the very next occurrence of an object if it's a sibling, cousin (parent's next sibling's child), uncle/aunt(parent's next sibling), nephew/ niece(sibling's child), or whatever. If memory serves, .next() used to have this behavior even if it might not have been intended. Does anyone have a good way to execute this type of behavior? I'm guessing you would need to walk all siblings and their children recursively. If that failed, you would
[jQuery] list height after an effect inconsistent
Hi, I've this example on my site to better explain my problem. http://www.gianiaz.net/jquery/dimension.html What I'm try to do is to retrieve the height of the list containg the news element after the effetct show applied to the paragraph. Try clicking two times on "news1" link. The problem is that I get the height of the element before the effect, I've tried also putting the code to retrieve the height in a callback function but I get the same results. Thank you.
[jQuery] Does $('input#myId') search for inputs first or is it optimised?
I should really know this, but I've come to realise I'm not 100% sure. Does this: $('input#myId') ...search for all inputs first then narrow down to the ID, or does jQuery work out before hand that "there can be only one" Id - and therefore is the same, with respect to processing to: $('#myId') Cheers. Remy.
[jQuery] Interface Slider - onChange doesnt fire
<div>Hi friends,</div> <div> </div> <div>I am using interface slider for range selecting in one of my projects. I faced quite a few issues with it, but solved them all either through some work arounds or some modifications to the slider code...</div> <div> </div> <div>But, now i am facing a problem, that i am unable to solve. I would sincerely appreciate if someone could help me if they travelled the path.</div> <div> </div> <div>The onChange event is firing when a user drags the slider handle and
[jQuery] Manage overflow auto or something similar
Hi, I've a div with a list inside, each element contains a <a> tag and a tag with a class that is hidden for default. I post some code for better explain: <div id="news_eventi"> <ul> <li> <a href="#" onclick="$('.surprise').hide('slow');$('#news_3').show('slow');return false;"> + 19-06-2007 09:09 <strong>tre</strong> </a> <p id="news_3" class="surprise"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
[jQuery] Allowing Interface Draggables to scroll the document
Hi, I've noticed that the default behavior for Interface draggables is to not allow scrolling the document while you're dragging. However, for a certain project I need to be able to scroll the document while dragging for users with small browser viewports. What is the easiest way around this? I tried using an array for the 'containment' property, setting h to document.body.clientHeight, but this didn't seem to work. Any ideas?
[jQuery] Does jQuery have function for ajax periodical updater
I just wonder if jquery has function for ajax periodical updater. I mean, for example, for every 5 minutes it loads the Ajax to request the result from the server. Are there any tutorials or solutions? Cos I could hardly find the tutorial about this. Thanks in advance. Makara
[jQuery] Selector Optimisation Question
I have just started to use jQuery in my web development and have a question concerning optimising element selection. I find that I create a lot of references to id'd elements: <img id="myImage" src="todaysimage.gif" width="20" height="20" /> Then, in my JavaScript, I want to obtain a reference to the element. Now, even though it has an id, I tend to use the full CSS descriptor as, to me anyway, it makes the code more readable: $("img#myImage").addClass("border"); My question is, apart from the overhead
Next Page