[jQuery] JQuery timer with reset option
Hi All, I'm very new at JQuery and have been messing about with a timer that will trigger a logout script on a page. what i'm trying to do is have a timer that counts down from lets say 10mins to 0 when it gets to zero it should call a function called logUserOut(). this works fine with a number of the timer examples out there (eg timer plugin) but i'm yet to find one that allows you to reset the time from an external function. once a user does certain things on the system i would like to restart
[jQuery] Lazy load in IE7?
Hi, I'm using the lazy load plugin from <http://www.appelsiini.net/ projects/lazyload>, but it doesn't seem to work properly in IE7. Some images load, others never finish loading. I tried playing with the failurelimit option but that doesn't affect it. Works great in Firefox and Safari 3 though. Anybody have an idea? Check http://jeroencoumans.nl/portfolio Thanks! Jeroen Coumans
[jQuery] nested Sortable Bug!!!
Dear sir , I'm working with nested sortable Plugin http://plugins.jquery.com/project/NestedSortable the ploblem is this plugin only works with jQuery 1.1.3 and if I change the jQuery source file to 1.2.3 it only Drags the Items Once .... this Ploblem Accured in IE7 , I need this plugin badly in my projecty what is the solution has anyone worked with this Before !!! Regards Pedram
[jQuery] nested Sortable Bug
Dear sir , I'm working with nested sortable Plugin http://plugins.jquery.com/project/NestedSortable the ploblem is this plugin only works with jQuery 1.1.3 and if I change the jQuery source file to 1.2.3 it only Drags the Items Once .... this Ploblem Accured in IE7 , I need this plugin badly in my projecty what is the solution has anyone worked with this Before !!!
[jQuery] nested Sortable Bug
Dear sir , I'm working with nested sortable Plugin http://plugins.jquery.com/project/NestedSortable the ploblem is this plugin only works with jQuery 1.1.3 and if I change the jQuery source file to 1.2.3 it only Drags the Items Once .... this Ploblem Accured in IE7 , I need this plugin badly in my projecty what is the solution has anyone worked with this Before !!!
[jQuery] nested Sortable Bug
Dear sir , I'm working with nested sortable Plugin <a href="http://plugins.jquery.com/project/NestedSortable">http://plugins.jquery.com/project/NestedSortable</a> the ploblem is this plugin only works with jQuery 1.1.3 and if I change the jQuery source file to 1.2.3 it only Drags the Items Once .... this Ploblem Accured in IE7 , I need this plugin badly in my projecty what is the solution has anyone worked with this Before !!! Regards Pedram
[jQuery] 3D Carousel Control Hot Spots
I have implemented the Interface 3D Carousel, but I need to have external controls that can be moused over to cause the rotation to occur just like when mousing over the lower corners of the carousel. These right and left rotation controls must be outside the carousel div. Does anyone know if this is possible? Thanks.
[jQuery] Trouble with jQuery Expander
I am attempting to play around with the jQuery Expander plugin at http://plugins.learningjquery.com/expander/index.html I copied and pasted the demo exactly as it was on the demo site, uploaded everything correctly, but the plugin won't seem to work for me. The page I'm working on is http://secondpagemedia.com/jad/new_fp/expandable.html I would appreciate any help.
sliding menu - code tweaking help!
hi all, new to both this forum and jquery in general. here is my problem: a very generous user at another forum donated his code to the community to make a sliding vertical menu using jquery. you can see his menu in action here: http://www.elarcadenoe.es/ his code for the menu is here: $(document).ready(function() { // First we hide all exhibitis $("#menu ul li.section-title").nextAll().hide(); // then the active exhibit is showed $("#menu ul").each(function(){ $(this).find("li.active").prevAll().nextAll().show();
[jQuery] Call function contained in object, from WITHIN object
<!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.16608" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=960505618-21032008><FONT face=Arial size=2>Tried to keep the title short and simple. I've got an object (namespace) which contains some functions (code below). I cna easily call these methods from outside this object</FONT></SPAN></DIV> <DIV><SPAN class=960505618-21032008><FONT
[jQuery] Download Documentation
Hi Everybody! I'am a new jQuery user and this is my first email. Where find i a downloadable documentation because afternoon I'm going to travel by train and i haven't internet connection. But I want to develop my application and need the documetation. Thanks the help! András -- -- Csanyi Andras - http://sayusi.hu - Sayusi Ando -- -- "Bízzál Istenben és tartsd szárazon a puskaport!" - Cromwell --
[jQuery] general onload
I need to know how to create an onload for all occasions. How do I make an onload for jquery and other scripts on my site. Not a jscript coder so take it easy for me.
[jQuery] jscroll not recognizing "mouse up" outside of the scroll pane
I am curious if anyone has come across or resolved this yet. When my user drags the scroll bar on mouse down and continues to hold their mouse down as they drag outside the scrollpane, and then release their mouse, jscroll doesn't recognize the mouse up outside of the pane window. The result is that when they come back to the scrollpane it still thinks that their mouse is in the down position. example here. http://zanaganda.com/JA2/books2_content.html any thoughts on this would be really appreciated,
[jQuery] unsubscribe
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[jQuery] Click scope issue
Hi, I am trying to resolve a scoping issue I have with the click event handler in jQuery, here is my code: <script type="text/javascript"> for(i in $('.container').get()) { $(".container:eq("+i+") .button").click(function(){ alert(i); }); } </script> <div class="container"> <div class="button">Click (should return 0)</div> </div> <div class="container"> <div class="button">Click (should return 1)</div> </div> <div class="container"> <div class="button">Click (should return
[jQuery] getting error in jquery-1.2.3.js
Firebug shows an error in jquery when the following code executes: $(function() { $("#quote").click(function(){ $(this).fadeOut(); $(this).load("getquote.php", { nocache:Math.random() }, $(this).fadeIn()); }); }); The error ('callback.apply is not a function') is on line 740: if ( callback.apply( object[ i ], args ) === false ) -- "There can be no freedom without freedom to fail." -- Eric Hoffer, 1964 Rick Pasotto rick@niof.net http://www.niof.net
[jQuery] JavaScript 2.0 -- moving forward or back
Hi all. I'd like to get some opinions from the more experienced JS programmers (especially Mr. Resig, if he would be so kind) about this post regarding new features in JavaScript 2.0: http://blog.jeremymartin.name/2008/03/web-20-meet-javascript-20.html I read the first-half of the article, then scanned the rest. The comments seemed split about 60/40, with 60 believing the new changes are a boon, and the rest seeing the changes as "another C++". My personal opinion is that the proposed changes are
[jQuery] timing of chained effects
I have this function: function getlastact(event) { $("#left_info") .fadeOut() .load("last_act.php",{'activity':$(event.target).attr('class')}) .fadeIn(); }; What I see happening is the fadeOut, then the fadeIn (with the old data), and then the new data replaces the old. Obviously not what I was intending. Is there a way to make the fadeIn wait until the new data has been installed? -- "Every great advance in natural knowledge has involved the absolute rejection of authority." -- Thomas Henry Huxley
[jQuery] HTML Partial contains plugin call...plugin call fails
I am trying to put a plugin cal in an returned HTML partial. So, for example, a partial returned from the server might conatin something like: <div onclick="$.MyFunction('param1');">Blah, blah</div> The issue is that I get an error about "$ is not defined" when I click. Any advice on how to approach this issue would be greatly appreciated!
[jQuery] How can I overwrite a var ?
Can I overwrite a var outside of an event function? var myVar = 0; function firstFun() { // some ajax call here success: function(data) { $("select #myOption").change(function(){ myVar = 1; // set new value secondFun() }) } } function secondFun() { alert(myVar) // instead of 1 I get 0. }
[jQuery] Avoiding recreation of the wheel with horizontal drop-down menus
Following LinkedIn's relatively recent site redesign, I feel compelled to believe that the way they've approached their top navigation bar is the correct way. The text links work as normal links and the small arrows trigger the drop-down navigation. Does anyone know how to impliment this in jQuery? Has it already been done? Thanks
jQuery is like my Wife... It never listens! [Solved]
Bit stumped by this one. I have searched through the forums here and although there are some solutions that almost hit the mark, none seem to solve my problem. Issues: 1. How to get a div to be hidden before the page loads? (I've solved this one!) $(document).ready(function(){$('#row2').hide(); = WOHOO! --- 2. How to (after a fairly short delay) have the div open (show) of it's own accord once everything else in that div has loaded, yet still be controlled by the toggle function. (I am completely
[jQuery] Star-rating/jQuery difficulty
<html> <body> Hello folks, I'm having a problem initialising Diego's star-rating system. I'm using it on an extension site - extension bulletins are drawn into the current page via an ajax call to existing html text pages via the following function.... <tt>function fnGetEbookFile(ni){ $("#asset_fback").hide(); $.get('textfiles\/'+ni+".txt",function(txt){ $("#justlist,#tech").hide(); $("#text").html(txt).show(); $('input[@type=radio].star').rating(); var options = {dataType:
[jQuery] hover plug in for http://bestwebgallery.com/
Hi everyone,.. I have been looking around the web and came across http://bestwebgallery.com/ who use a group of jquery plug-ins to show an image of the website you can open while hovering over the link. I have dissected the page and looked at jquery.tooltip.js jquery.tooltip.min.js jquery.tooltip.pack.js I would like to know more about how to configure this hover effect for a different size thumbnail, and also how best to use this plug-in. Thing is I am new to jQuery so I could do with any basic
[jQuery] passing tag attribute to click handler
The following line of code works: $("#updt_main img").bind("click",{ 'act':'10' }, getlastact) The '10' is actually a class value that will be be different for each image instance (the images are all the same). I tried this, but it didn't work: $("#updt_main img").bind("click",{ 'act':$(this).attr('class') },getlastact) Is there a way I can get the class value of the clicked on img from the event object that is passed to the getlastact handler function? If there is, then I wouldn't need to pass the
[jQuery] [ScrollTo] Remembering state between tabs
I use the ScrollTo plugin inside of UI tabs. When I let it scroll and then switch tabs and come back the element is back on its original position. How could I implement it to remember the position between tab switching? Thanks for helping!
[jQuery] [JCarousel] Smooth scroll, CSS, and wrap to first?
I am looking for a solution where I can have images scroll and JCarousel pretty much hits the nail on the head but I'm struggling with a couple of things. I want it to constantly scroll images but there is always a pause after a scroll. I am wondering if that pause can be removed so it's just a constant scroll. Also, I only want the images to show, no border or buttons at all, was hoping someone could point me in the right direction as how to implement that. Other than that, wrap wasn't functioning
[jQuery] BlockUI - Can't Keep Active Until all Iframe Content Loads from AJAX Response
Sorry if the title doesn't make much sense, but here's what I am doing. I have a page that searches the net for a search term that a user enters and then places webpages (not the links), which are the results of the search query, in their own respective iframe. This iframe is initially hidden until a line of text ("Click Here For Search Result 1"). After it is clicked on a jqModal box is displayed with the iframe as the content. When the user enters their search term and clicks the submit button
[jQuery] Help with plugin: a bind() / this problem...?
Hi folks, I wondered if some kindly soul wouldn't take a glance at something for me. I recently wrote a Prototype extension called "Smart Lists" (http:// www.benjaminkeen.com/software/smartlists/) which I thought I'd convert to jQuery. Mostly just to better familiarize myself with jQuery, but also to open it up to more users. I've implemented the plugin as a global function in the jQuery namespace, called like so: $.smartlist({options}); When running a single instance of it in a page (which, admittedly
[jQuery] Load IE stylesheet using $.browser
I'm hoping this is a really simple answer. What is the best method to load a stylesheet using the $.browser and jQuery? For instance: if ($.browser.msie) { /*load IE stylesheet*/ } I appreciate any help. Thanks.
[jQuery] sliding menu - sliding problem
i am having trouble making my menu transition smoothly between sections as i click. i added the last line of code to this JS in order to automatically close sections as i click on a new section (the original code did not have it on the first and last lines); if i have "A" open and click on "B", "A" jerks closed instead of smoothly closing as "B" opens. i am 100% n00b on this stuff so any assistance would be greatly appreciated. thanks in advance!! $(document).ready(function() { // First we hide
[jQuery] New jQuery Subtype -- methods attached to subset of jQuery objects
This is more of a OOP philosophical question on how to create new types of jQuery objects, and it's probably not supported but I keep WANTING to do this. I have a complex list element representing an album -- it has h2s and h3s for artist & title, img for album art, a custom "sprite" based rating control, audio playback controls, etc. This album element needs to be positioned and resized to various sizes. Naturally I want this to be a real OBJECT that knows how to resize itself. So, as opposed to
[jQuery] can toggleelements plugin be sticky ?
<script type="text/javascript"> $(document).ready(function(){ $('div.toggler-c').toggleElements({fxSpeed:'fast'}); $('ul.toggler-c').toggleElements(); }); </script> <div class="toggler-c opened" title="Welcome to the..."> <p class="Ininfo">Welcome to the CUS ETC ETC ETC </div> I've been playing with the jquery.toggleelements plugin. We're displaying the information to start, and we allow the user to hide the paragraphs.. I'm a real newbie at javascript, so this may be a dumb question, but is there
[jQuery] getScript does not bind plugin to $. alias
I am trying to load plugins dynamically based on certain url params. The part that appears to work: $.getScript('/js/jquery/plugins/myniftything.js'); The problem is, trying to access $.MyNiftyThing_MyFunction(); claims to be undefined. Is there a way to force the $ to bind with the newfound plugin? What about unloading the plugin when complete?
[jQuery] Help with plugin: a bind() / this problem...?
Hi folks, I wondered if some kindly soul wouldn't take a glance at something for me. I recently wrote a Prototype extension called "Smart Lists" (http:// www.benjaminkeen.com/software/smartlists/) which I thought I'd convert to jQuery. Mostly just to better familiarize myself with jQuery, but also to open it up to more users. I've implemented the plugin as a global function in the jQuery namespace, called like so: $.smartlist({options}); When running a single instance of it in a page (which, admittedly
[jQuery] hidden form submit
I am building a php page the shows some data to the users. But I also need to capture the name of the loggedin user from this page and post it to a different page silently in the background. So I would like to do submit a hidden form in the background when users are on my page. I do not want any content on the page changed <form name=myform action=target> <input type=hidden value=name> </form> I was thinking of hiding this form with a hidden div tag and then doing a ajax submit after the page has
[jQuery] Drag-and-drop: how to count dropped items and remove dropped items
Hi, I have a simple drag and drop application, which works by the user adding breakfast food items to a menu div: <div id="droppable-accept-function" class="droppable"></div> <div class="draggable breakfast"><span class="sweet">White toast/roll</ span></div> <div class="draggable breakfast"><span class="carb">Wholemeal toast/ roll</span></div> <div class="draggable breakfast"><span class="carb">Oats</span></div> <script type="text/javascript"> $(document).ready(function(){ $('.draggable').draggable({
[jQuery] localScroll question
hello! i just released a website about one of those Belgian artistic movements, available here: <a href="http://www.belgicaneum.be">http://www.belgicaneum.be</a> . It's a bunch of artists who reflected together on the future separation of Belgium, declaring their love (or hatred) of motherland. Aaanyway... don't blame me for the weird navigation system, it's "artistic" and on purpose (so says the customer, bah). To the point: i used the uber cool localScroll plugin, on one page: it works fine in
[jQuery] JQuery.ScrollTo Plugin
I recently posted to see if anyone could direct me to a nice scrolling plugin for the jquery library. I was pointed to jquery ScrollTo however the documentation on it is needless to say unpleasant. My problem is that I want to have a button when hovered to scroll down, or another button to scroll up. and when not hovered to not scroll. So far it's been really easy to scroll on hover for either up or down, but it seems that I can only do one at a time, it doesn't process both. My code. <script type="text/javascript"
[jQuery] Colorize td when mouse button is pressed
I have a script to change the background-color property of each td of a table when the user clicks on each td or when the mouse button is clicked. If the button is released then the background remains the same. The problem is that when the mouse button is clicked and then move the mouse in and out the table, the script works as if the mouse button is pressed. Any suggestions on how to fix this? Here is the code: var isMousedown = false; $("#grid td") .mousedown(function(){ isMousedown = true;
Next Page