Jquery UI tabs lockable ?
Hi i was wondering if it would be possible to lock out other tabs so the user is stuck on one ..until a user hits a button. For example an Admin is adding someone to a database- the Admin is on the add user tab but after enacting this add process by input they cannot leave this tab until either cancelled or accomplished both done by a user input button . so again would it be possible to Lock out other mobility to tabs locking on just one?
[jQuery] JQuery or JBoss RichFaces Which is the best?????
Hi I work for some time with JBoss Richfaces and I like it for several reasons. However now it was requested to study the integration of JBoss Richfaces and JQuery. I saw in the Richfaces demo that's already some kind of integration between the two Richfaces and JQuery . However, from your point of view until here can the integration go? Can I use for instance components from both? E.g. use a JQuery menu and Richfaces table in the same page? If this is possible how can this be made? Thanks in Advance
Help with flyout menu
I'm trying to do a simple flyout menu. I am using a template already created by someone else. The top header navigation is acheived using an unordered list and CSS. It makes a horizontal nav menu for About Us, Products etc. What I would like to do is add onto this list and make sub menus that flyout. I have the jquery code to do this, but I cant get the CSS right for the sub-menu because the CSS from the top level UL is bleeding into the sub menus. This may actually be more of a CSS thing than jquery,
[jQuery] How can I create an element dynamically using jQuery
Hi, I'm sorry if this question has already been asked, but I searched for the term 'create element' on the jQuery Google Groups and didn't find the answer. I basically want to create html dynamically and be able to add it to my webpage. Suppose I have the following html: <html> <body> This is the first paragraph of my webpage. Here is some more stuff and some more <p id="foo">and even more and even more </body> </html> How would I be able to create the html " text I want to insert" and append it
Event delegation plugin
Hi, because of the bad performance of the .live-event, I wrote a little plugin to handle event delegation. Now there are several plugins out there, but they are much bigger and slower than the following one. So I ask myself: Did I miss something? The plugin: // listen $.fn.listen = function(event, selector, callback) { return this.bind(event, function(e){ el = $(e.target).closest(selector, this); if (el.length) callback.call(this, e, el); }); } Examples: $('#home').listen('click',
Jqzoom: How to hide the loading image animation
Hi, I have a problem with jqzoom. On my website, there are a lot of pictures. I have a javascript function implemented, which checks if the big image (used for the zooming) does exist or not. The problem is... then the page loads, it automatically binds the jqzoom, like so <a href="image_does_not_exist.jpg" class="MYCLASS" title="kawasaki"> <img id="photo_large" src="kawasakigreen_small.jpg" /> </a> What if the big image (in this case "image_does_not_exist.jpg") does not exist? Ok the big
problem with IE7
hi i have "made" a drop down menu with jquery but for some reason on IE7 it drops down in the wrong place? you can see is it here : http://www.trendsspotting.com (hover over the trendlab icon) appreciate any help thanks count
getting/parsing xml from ajax
I'm building an application with a c#.net server and a good bit of jquery on the front end. I'm having trouble getting/parsing data from c#. In the C#, I am doing a db call to pull the information for all users, and putting it into xml format: string xml = "<?xml version='1.0' encoding='utf-8' ?>"; xml += "<Users>"; while (res.Read()) { xml += "<User>"; xml += "<Userid>" + res.GetValue(0) + "</Userid>"; xml += "<Username>" + res.GetValue(1) + "</Username>";
[jQuery] Help with async ajax inside a loop.
Hi, I have a block of code which iterates through a list of urls and performs an asynchronous ajax request on each url. The call back function assigns the returned data object to the key of another object. The key is the current item in the list that is being iterated on. The problem: The key is always the last element of the array when the call back function is executed. I think this is happening because of the way closures work in javascript. How can I accomplish building my data object the way
help with jQuery History
hello. i'm using jQuery History on my webbsite, and almost works great, but if i use like this one: <a href="#index.php?page=1" rel="history"> i can get the "index.php" working but not "?page=1" what can I do? please help
[jQuery] Problem with using autocomplete on Firefox - asp.net
Hi, I have a search interface on my site http://www.govforyou.co.uk/Default.aspx that allows users perform multiple kinds of searches. You can try it out by typing in the text box at the top. It basically contains a drop down which has 5 options and a text box next to it where user can type search query and a "Go" button. Now, the Go button is displayed and should be applied only for the first of the five options. When user has chosen any of the last four options, the search box is attached with
Modal Window on mouseOver?
Good morning, I was wondering - Is it possible to display a modal window (Preferably one which can display HTML and not just images) when a user hovers over a link, as opposed to a mouse click? What I would essentially like to do is create a "menu" button/link which when hovered over would bring up a full page modal window with clickable content inside of it. I've been browsing the 'net for a solution/example but the only one i've found so far is made in Flash. For an example of what i'm trying to
[jQuery] (validate) Adding in custom validation
Currently I am adding my custom validation messages, rules into jquery.validate.js directly. Anyone know how to adding in own customized validation into another js file and if possible, make the jquery.validate.js UNTOUCH.
[jQuery] Replacing HTML Content for Elements of a Certain Class
jQuery group, I've been using jQuery for my website, and have come up against an obstacle. My page dynamically loads comments from DISQUS, and as a result the comments take a few seconds to load. I need to make some jQuery code that runs a function once the comments which are of class dsq.comment.message are created. I've tried using the load fn event, but it doesn't seem to work for objects that have not yet been created. In essence, I need jquery to watch for new elements of a certain class to
[jQuery] Can jquery do this? font-colour
I'm very very new to jquery so please be patient with my questions. I have a layout that has white colored text. When you turn images off the text disappears because the back background is completely white. So, with the scenario above.... is it possible to use jquery to do the following: font color is white when user turns images off on their browser then change font to color =black So basically its not 'how do I change the font color' but 'how do I detect that the user has images turned off, *then*
Make a with JS new added DIV also droppable?
Hi everybody, I got a, perhaps very easy or perhaps not solvable question about the droppable function, I could not find anything about this so far. I got a basket, and a couple of products. The products are draggable and the basket is droppable. This of course is done in the $(document).ready(function(){} and works fine. Now I got a button “add new basket” and if the user clicks on it, Javascript generates a new basket like this function addElement() { var content = document.getElementById('content');
[jQuery] Hello all , this is my first venture with Jquery , I am trying to build a Dropdown menu with Menuselects in the Dropdown please take a look
I in IE 8 and Firefox , Opera , and Safari it works fine but im having problems with IE6 and IE7 for some reason when i mouse over and try to move down the box dissappears ... it is a modified version of Plain Drop Down Menu http://afterofficemiami.com/dropdowntest.html in IE6 and IE7 it doesnt work can someone please help me ??? Thank you very much....
[jQuery] jQuery and IE 8
Hello guys, I'm developing a web site for a friend and I'm worried about a problem. The Url is: http://www.futuragames.com.br/radioboy As you will see, it works perfectly on Firefox and Google Chrome, but I get a mysterious when running on IE 8. The error message is: "Invalid argument" on line 53 of the jQuery library file. I don't know what does it mean and how can I figure it out. Can anyone help me, please? Thanks!
[jQuery] Validation rules using alert() instead of message text
I have done a lot of searching for this answer but I can't quite find what I am looking for. I have a form with multiple fields - name, address, email, etc. When you make a field required or email you can specify the message to appear in a text summary or as text next to the field. What I would like though is "alert " summary of all of the errors. I know you can get the numberOfInvalids in the invalidHandler but I would like to know the specific errors for each of the fields. For example, I would
[jQuery] jQuery AJAX Question
I was curious if there was a way to hit the current xhr object in the success callback. I've been tinkering with it, and have been unable to figure out how to do that. The reason I ask is because I am trying to debug an application I've been working on, and sometimes the response XML is not formatted correctly; however, the occurrence seems random, and still triggers the "success" method, since there are no actual server-side errors. I'm looking to do something like: var data = $.param myObj ; //
[jQuery] different lengths by IE and ff
Hi, I have a dropdown which diplays a companyname with 4 hidden inputs. these hidden input values are set in text boxes on selected index change of dropdown. like this var sourcedropdown = $ e.target .parent .parent .children ":nth- child 7 " .children .eq 0 ; $ sourcedropdown .append $ '<option></option>' .val val .html sourcename .addClass 'selectedval' val ; var priceval=text[1]; $.each priceval,function leftval,rightval { $ sourcedropdown .append $ '<input type="hidden" id="hid' leftval ' />'
[jQuery] error messages via remote validation
Hi, I am fairly new to jquery, jquery validation and competely new to JSON. I was wondering if anyone could provide or point me to an example of a use of the remote method of the validation plugin that can display the error message returned by the remotely called php file. I have an input field wherein someone enters an id to a database table, specifically an id called media_id. I have the remote method set up to call a php script check_database.php that looks for that media_id in my database. There
[jQuery] JQuery Cycle Speed
Hey, I'm using the JQuery cycle plugin http://malsup.com/jquery/cycle/ and I have images set to auto-scroll horizontally. The plugin automatically eases the slides I've tried turning easing off , and I'm wondering if anyone knows of a way to get them to just continually move horizontally without slowing/speeding up . I'm using it to create the illusion of moving fish in a background image: http://blazonmarketing.net/projects/mspd Any help would be appreciated. -- View this message in context: http://old.nabble.com/JQuery-Cycle-Speed-tp27061872s27240p27061872.html
[jQuery] The form is not submitted onKeyDown
Hello everyone, I'm trying to submit the form normally as well as by pressing Ctrl Enter. Yepp, the same task. What I'm doing is the following: var validator=$ "#myform" .validate { // tralala, here go the rules, error messages and stuff } ; $ document .keydown function e { if e.ctrlKey && e.which==13 { validator.form ; } } ; then I'm trying to submit. If I do something wrong for example, leave a required field blank and press Ctrl Enter, Validator gently tells me that yes, that field is required,
[jQuery] Validation on a Modal form does not work
I have a modal form that I want to validate. The modal is based on the simple modal plugin and the validation is based on validation plugin. The validation works well on a regular non modal form. ANy ideas? <script type="text/javascript"> jQuery.validator.addMethod "zip", function value, element { return this.optional element value.match /^ \d{5}- \d{4} \d{5} [a-z]\d[a-z]\s?\d[a-z]\d $/i ; }, "US or Canadian postal code only" ; $ document .ready function { getaddressBook ; $ "#addAddress" .validate
[jQuery] Can somebody tell me how I can Unsubscribe to the mailing list Pleeeeeeeeease!
<html> <head> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana } --></style> </head> <body class='hmmessage'> Can somebody tell me how I can Unsubscribe to the mailing list Pleeeeeeeeease! <br /><hr />New! Receive and respond to mail from other email accounts from within Hotmail <a href='http://clk.atdmt.com/UKM/go/186394593/direct/01/ ' target='_new'>Find out how.</a></body> </html>
[jQuery] IE 6 and jQuery 1.3.2 .load() issues
The following javascript works just fine when called from Firefox, but IE 6.0.2900 chokes when it sees it: $ "#data_entry" .load myurl ; ---- html --- <div id="data_entry"> </div> The exception I'm getting is: Exception line 1642 Error: Exception thrown and not caught I'm quite new to jQuery. I've been searching the bug list but haven't seen this precise problem documented. Can anyone with more experience reading the jquery codebase explain what's happening where it's choking? Thanks, kmh
[jQuery] highlighting
Hi guys and galls, Im not really a jquery programmer but i build lots of sites and i love the jquery plugins that i can easily copy and paste. So anyway im building a new site and i am using alot of jquery to emprove usability. So i am using a little script that scrolls easy to the <a name="p1"></ a> html tag. [code] $ document .ready function { $ 'a[href*=#]' .click function { if location.pathname.replace /^\//,'' == this.pathname.replace /^ \//,'' && location.hostname == this.hostname { var $target
[jQuery] Need help with a simple problem?
I am a total newbie when it comes down to Jquery, still in the learning process. $ document .ready function { $ '#top-bar-login li.current' .hover function { $ "#top-bar-login ul" .css 'display', 'block' ; }, function { $ "#top-bar-login ul" .css 'display', 'none' ; } ; } ; I created a simple "hover to show menu" But instead of the hover function, I want to activate the function on click. $ document .ready function { $ '#top-bar-login li.current'
[jQuery] Add a second trigger in this function
I recently implemented the Image Cross Fade Transition http:// jqueryfordesigners.com/image-cross-fade-transition/ It works great, and I'm hoping to add to the code to enhance the functionality. Currently, if I hover over the image, it runs the cross fade transition, which I would like to keep. I have another div on the page that I would like to trigger the first instance when hovered over as well. Is there a good way to add this? Here's what I'm using for the first instance: $ document .ready function
can jquery pre-parse Json file?
Hi I have a dynamic JSON file that pulls from a CMS system. The system has a WYSIWYG html editor and pushes html code with double quotes into the DB. When I pull the stuff to make the JSON file it pushes the double quotes into the JSON file and the file will not render out. I don't have the ability to catch the stuff before it renders and parse that stuff out so I was wondering if JQuery can pre-parse out the double quotes so the JSON file will be valid. Thanks.
[jQuery] [Form Plugin] Plugin returning page html on success
Hi I have a weird problem using the form plugin on a login page on my site, the form html is: <form id="form_login" name="form_login" method="post" enctype="multipart/form-data" action="dologin.php"> Form elements..... </form> I'm using dologin.php to check the login and password on my DB if the login and pass is ok it returns 'ENTER', if its correct but the user is disabled it returns 'DISABLED' else returns 'ERROR', and I handle that with this form plugin script: $ '#form_login' .ajaxForm { beforeSubmit:
[jQuery] JQuery files(.js) required
Hello, My site is loading very slow with all js files imported, so I putted all in one single file. I have a question. I have some file that I think I don't need it. I'm loading this files: jquery-1.3.2.js, jquery.bgframs.js, jquery.ui-1.7.2.custom.min.js, ui.core.js, ui.draggable.js, ui.resizable.js, ui.dialog.js, effects.core.js, effects.highlight.js, ui.tabs.js, editable,js I need jquery for dialog, tabs, editable field, what files is redundant information, and I can lost of it...I need minimum
[jQuery] CSS problem
Hi, I have a question about css. I want to dump out all css attributes and values of a UI element, how to do that in jQuery? Thanks in advance, John
Page loading + url change
Hi, I am currently writing a website where I want to use jQuery to load page. Now I know how to dynamically load page, there's just one but. For this example I will use 'home' and 'about-us' as pages. When I just perform a load my url does not change. So www.website.com stays the same. Is there a way that if I i.e. click on 'about-us' the url can change to www.website.com/about-us but the page won't load (so still dynamically load the page, not a 'refresh-load'). Thanks
Help with dynamicaly created table
Hi, Im currently using the tablesorter plugin to style a table im using, the code is the following: $ document .ready function { $ "#shop_list" .tablesorter {widthFixed: true, widgets: ['zebra'], headers: { 2: { sorter: false }, 3: { sorter: false } } } .tablesorterPager {container: $ "#pager" } ; } ; As you can see it applies the plugin to the table id 'shop_list' and works fine on page load,
[jQuery] Need your opinion you ALL!!!
Hello everyone, Someone wants me to use FULL DIRECTORY PATHS for every page and script for a website I just completed. I argued that it would slow down the website for users... I prefer relative paths such as "/src/" and "/img/". Am I wrong to say this? Is there really a difference in performance with speed whether I use absolute or relative paths? Love to hear your opinion... Thanks. Erik BTW - the website was transferred from WINDOWS SERVER to a UNIX... I actually preferred Windows. I'm dealing
[jQuery] Problem with $.post() and append()
Hi, I have problem with jquery, when I do a append call to in a post call internet explorer still not print the append ...if i write the same result out of the .post still work with no problem....any ideas? this problem is killing me xD...I hate internet explorer but here at work some users use it and I will to write a cross application that run on chrome firefox and ie 8. Sorry for my bad english & thank you DeltinoRosso
JQuery UI Draggable Thumbnail Filmstrip
As a learning experience (and to get the look I wanted), I hand wrote HTML/CSS/jQuery code for a photo gallery with a thumbnail filmstrip. I started with a few ideas of how to slide the thumbnails underneath the main panel of the gallery, and figured the easiest and smoothest way would be to initiate a draggable() function call on the <ul> selector or containing <div> of the list of thumbnails, constraining the motion along the x-axis. This works well, but I have a few problems which I'm not quite
help with modifying jCarousellite
Hi, I'm using jCarousellite: http://gmarwaha.com/jquery/jcarousellite/ to display a slideshow. However, I've been asked to make the previous button appear disabled (not clickable and a different, "grayed out" button image) the first time a user visits the page. Once the "Next" button is clicked, the "Previous" button will then be clickable and appear enabled. Any ideas as to how to accomplish this? Thanks!
Next Page