[jQuery] strange "bytes marker" at head of jquery.blockUI.js?
not too sure if anybody noticed this (I did a cursory search through the archives - but didnt find anything), but what is with those first 3 non-ascii bytes at the head of the js? (0xef, 0xbb, 0xbf) Are they supposed to mean or do anything? They arent present in the old version, btw (http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js) - I am led to think that they are there somehow as an "accident" of editting, or something... If i could get a confirmation here (one doubts
[jQuery] superfish z-index issue
Good Morning, Friends. In two days, I'm scheduled to release a very large project that I've been working on, and in the process of error checking I noticed one very large malfunction. In most all browsers, the drop down menus are working perfectly, but it seems in Internet Explorer 7, the drop downs are slipping behind the heading picture. Could someone please have a look and help me figure out what to do to fix it? I figure it's something to do with the z-index. I tried adding a high z-index to
[jQuery] window height
can anyone point me to where i can get the window height or viewport height of the current window. the code (below) in the onload event doesn't return anything in IE 6 or Chrome but does work in FF3 i just need the height so i can adjust another element on the page to fit in and leave a footer at the bottom of the page $(document).ready(function(){ // Your code here document.write('hello world '); document.write( $(window).height() ); });
[jQuery] Superfish - Fix to allow custom easing
I wanted an easeOutBack easing for my animation. It was easy with a few modifications: modify sf.defaults sf.defaults = { etc.... current defaults, easing : 'swing' }; modify showSuperfishUl (the 2nd to last line) from $ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); }); return this; to $ul.animate(o.animation,o.speed,o.easing,function() { sf.IE7fix.call($ul); o.onShow.call($ul); }); return this; Swing is a native function
Safari Accordian woes
Hi, I'm having a major headache with Accordian in Safari. It's working beautifully in all other browsers - even IE - but it seems to implode in Safari. I'm not entirely sure whether it's a Jquery issue or a CSS issue. http://www.viewnirvana.co.uk/prelaunch/ ... index.html Click on 'View Specification' in the bronze box - I've added the nasty colours, trying to find the problem - the menu is behaving very strangely. Thanks in advance k
[jQuery] Problem with imported style in text shadow with jquery
Hi; I have used this script for text shadow. http://eyebulb.com/dropshadow/ When css is in html file, every thing is ok. But when I ımport external css i cant see any style in my page, and i cannot use this script in my designs with imported styles. My example file is http://www.nabble.com/file/p19972001/jq.rar jq.rar How can I solve this problem. Thanks in advance Yassi -- View this message in context: http://www.nabble.com/Problem-with-imported-style-in-text-shadow-with-jquery-tp19972001s27240p19972001.html
[jQuery] question about loading javascript into an element after dom is ready
I'd like to load a js file into a specific location but it replaces the page with what is being written out. I suspect there's a fairly obvious answer (maybe it can't be done). Here's a basic version of the code and I would like it to write 'here i am' in the dom after <div id='jt'></div>. Currently, it replaces the dom. Also if I take it out jquery and place it at the end, it still replaces the page: <html> <head> <script type='text/javascript' src='/jsource/jquery.min.js'></ script> <script type='text/javascript'>
[jQuery] Prototype to Jquery
Let me first begin by saying that I am a total noob to jquery/prototype/javascript etc. I am trying to setup a basic mail signup script using one of the examples from the mail chimp website (http://www.mailchimp.com/api/downloads/mcapi-simple-subscribe.zip) which uses prototype however I am already using jquery on my page - I believe it is conflicting. The above code still seems to work when I don't use the prototype library (?) but I still get the following error in the debug - "Event.observe is
[jQuery] Jquery Ajax vs base Ajax approach
Hi, Jquery is gr8 I agreed. But when I am working on a registration page then this jquery is not providing me seamless effect. There is two select box - drop down 1 State 2 City when ever a user select a state correspondingly city comes in city drop down. I used two apprach for this 1 Ajax- Jquery $.ajax({ type: "POST", url: "<?php //echo $html->url('/users/city') ?>", data: "state_id=" + escape(state_value), success: function(html){ $("#id_city").html(html); } 2 Base Ajax approach Create a HTTP
[jQuery] [Validate]
Greetings, I'm running into a problem with the validation plug-in and was wondering if someone can point out the solution to me; I'm sure I have just missed something somewhere. Currently, using the markup below, error messages are showing up below the input field and I would like them to show up inline with the label ... How do I accomplish this? [code] <label for="menu_item">Create a new menu item:</label<br/><input id="menu_item" name="menu_item" class="required"/> [/code] Thank you, Michael
[jQuery] Does jquery click() always prevent a click-through to the url?
Is this a good way to let the user know that a slow-loading page is coming? $("#menu a").click(function(e){ $.blockUI({ message: "<h1>Loading...</h1>" }); location.href = e.target; }) I'm not very familiar with jquery, but as far as I can tell, the .click() function isn't a pass-through... it seems to stop the click in its tracks. Is this so? Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[jQuery] [validate] Only required when something else is selected?
Say I have a form that has a dropdown for "country", "state" and "zip/ postal code" Now, if you select "United States", both "state' and "zip/postal code" are required, but if you select, "Argentina" only "zip/postal code" is required, and if you select "vietnam" then nothing else is required.
[jQuery] tablesort url sorting issue
Howdy. I have a really simple problem that im generating a column of form items which look like: $Guid = new Guid(); $formname2 = $Guid->toString(); // RESULTS IN HERE echo "<td> <form method='post' name='" . $formname . "' action='horseview.php'> <input type='hidden' name='GUID' value='" . $result['HorseGUID'] . "'> javascript: document." . $formname . ".submit() " . $result['Horse_Name'] . " </form> </td>"; Hence i would like to sort the url based on the displaying text and not based
[jQuery] IE6 only 'partially' updating html loaded via ajax
I wanted to ask if anybody has a clue why a function 'updatePageLinks().. WORKS on all browsers on a standard page load, BUT DOES NOT WORK (in IE6 only) after an ajax success call here is the code (simplified to illustrate...): initial page load: ****************************** $(document).ready(function() { updatePageLinks(); }); after ajax call: ******************************************************* success: function (data) { updatePageLinks(); ....etc **************************************************
[jQuery] Dynamic load web pages
Hello everyone. I really hope someone can help me, I think what I need help with is a fairly simple issue, and I have found good stuff on the web, but just cant get exactly what I need. Its really simple, I just want to dynamically load a few divs so my users don't have to load a new page every time they click a button. Its for my portfolio. for example from the home page there is button called Audio/Video Production. On click I want it to update 3 divs. One called "media" where the videos will play,
[jQuery] problem with my plugin
Hello, I have a problem with my plugin. I have two error messages: invalid object initializer [Break on this error] $(this).startWidth.animate({endwidth},2000) jquery.m...gcolor.js (ligne 15) $("#msg").MsgColor is not a function [Break on this error] endHeight: '+=30%' my code : (function($){ var settings; $.fn.MsgColor= function(callerSettings){ settings = $.extends({ startWidth:0, endwidth:null, startHeight:0, endHeight:null },callerSettings||{});
[jQuery] how to auto-submit a form (when a select box changes) and load the response in the same page in a <div>
hi all! greetings to everyone! I am sorry if I missed the solution of this problem given here already but I searched for quite some time. here is my problem I have written a form with only a select box which, when changed, should submit its form and load the response from the server in the same page under a specific <div></div> so that the user doesn't have to navigate away from that page when he wants to change that select box again. So far I am trying with a submit button and when I click on submit
[jQuery] trouble with passing parameters to a callback function
This is my code: var ClassName = {}; ClassName.CallBackFunction = function(index,i) { alert($(index).attr('src') + ' ' + i); } function() { for (var i = 0; i < img_list.length;i++){ $(new Image()).load(function () { ClassName.CallBackFunction.apply(this,[$(this),i]); }).attr("src",$(img_list[i]).attr("src")); } However when the alert comes up it always shows the same value for i, not the value that was in effect at the time the load function was called. If I change my code to: function() { for (var
[jQuery] JQuery $ function
How does this work...(This actually does what I want it to, but I am amazed that JQuery can figure out how to select from an array) function get_selected_rows() { var selected_rows = new Array(); $("#sortable_table tbody :checkbox:checked").each(function() { selected_rows.push($(this).parent().parent()); }); return selected_rows; } $(get_selected_rows()).parent().parent().remove();
[jQuery] Check to make sure checkbox is checked using validator
My code: <span class="required">Do you agree to the terms above? </span> <label><input type="radio" class="radioButton" name="emp_termsAgreed" value="Yes">Yes</label> <label><input type="radio" class="radioButton" name="emp_termsAgreed" value="No">No</label> I want to require that the checkbox with the value of "Yes" is checked before the form will submit. How is this done?
[jQuery] Give rest to Mouse Buttons...........
Hi all, I got one problem when i am trying to write click free code. I am using onmouseover effect every time to give focus to HTML Elements. But i am facing two problems here 1. I am not able to execute my code in Internet Explorer. It is executing in mozilla. 2. I am not able to display drop down list of <select> object. For this i am triggering "click" event when "mouseover" event is fired. can any body solve this issue please............. Here is my Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
[jQuery] xml parsing useing jquery not working in IE7
below example is working in FF but not working in IE. Pls somebody help me. //xml file <?xml version="1.0" encoding="ISO-8859-1" ?> <Incentives> <incentive incentiveID="288061" name="FWD 4dr I4" notes="Gas I4 2.3L"/
[jQuery] Slider plugin not working in, at first, hidden div
Hello, For exercice, i have build a custom content slider plugin (which i will share as soon as it is finished). It all works fine so far. See http://preview.hetfabrikaat.nl/fabrikaat/car.htm http://preview.hetfabrikaat.nl/fabrikaat/car.htm for a working in progress example. As i said, all works fine. But please check out http://preview.hetfabrikaat.nl/fabrikaat/test.aspx http://preview.hetfabrikaat.nl/fabrikaat/test.aspx in IE if you please. A hidden div will open automaticly and show my slider
[jQuery] Need Help with Serializing Ajax Calls
I am using AjaxManager and I modified the JSuggest Plugin and set the option to abortOld so that it aborts all old requests. However, the older requests are not aborted. The fragment of the code for declaration $(function() { var ajaxManager1 = $.manageAjax({manageType: 'abortOld', maxReq: 0}); ............ The modified fragment is as below.(jSuggest) ajaxManager1.add({ url: opts.url, async: false, mode: 'abort', type: opts.type, data: realdata, success: function(msg){ $ (jC).find('ul').remove();
[jQuery] Find element in a iframe
Hello !!! I have a very nice problemen , I would like to keep all the ".entry" element in a Iframe. (<div class="entry">..... </div>) My Iframe is : <iframe id="test" name="hello" width="50%" height="500px" src="http://radiofrance-blogs.com/fabienne-sintes/ feed/" /></iframe> I try differents thinks whithout succes. If someone have the solution it wil be my friend for the next 3 years !!! Thank for your help !!! Fabrizio
[jQuery] Remove JS if statement from other script
How possible is it to remove ONLY part of a script, specifically an if statement from another script? We have a script that is in the header of our document, and it screws up a few of our pages, so I don't want to delete it, since it is needed for some pages, but for specific pages, I would like it to not execute the if statement. Is this possible?
[jQuery] few improvements for autocomplete widget
hello friends, i took autocomplete to make some ajax field choices from a database poered site. it works great, but i had the pleasure to add a small contribution too. 1. the ability to send additional fields data in the ajax call could of course be achieved with extraParams option. but i needed it for multiple fields, and to add multiple other fields to each ajax call. hence i made an additional list[] option, extraFields, that will add a key-value pair for each field in the list. if the field name
getJSON , trying to ouput some text but can't [solved]
I have a php script that echoes out a json type of file like this: ({ "title": "CommentLuv Output", "link": "http://www.commentluv.com", "description": "", "generator": "http://www.CommentLuv.com/", "items": [ { "title":"Why don?t they understand?"},"url":"http://www.fiddyp.co.uk/why-dont-they-understand/" }, { "title":"CommentLuvvers - Interesting sites that use CommentLuv"},"url":"http://www.fiddyp.co.uk/commentluvvers-interesting-sites-that-use-commentluv-3/"
[jQuery] jQuery Form Plugin
Hey Folks, Can I cancel a connection during an upload? I'm using this form plugin http://www.malsup.com/jquery/form/ and a dialog showing the process, but the dialog needs to have a cancel button to trigger a client-side cancel. As this plugin uses an iframe to target a form, I need just change the iframe src to 'about:blank'. But it seems not to have an "open way" to control the iframe. any thoughts?
[jQuery] Question: Using Autocomplete to pass the fields name to query URL
Hi, I wish to pass an extra parameter to the Autocomplete query URL that will determine the name of the current input field. The URL will then know what field is requesting the data and can return the relevant data. E.g. It could be list of countries or a group of surnames already in the database. I have read the documentation and thought the extraParams option would do this but i'm struggling with the correct syntax. The example below will pass an undefined value for 'fieldname' as $ (this) is out
[jQuery] move and resize window according to parent window position
Does anybody have a way to move a popup window so that it is always centered over the parent window. I am having trouble figuring this out. Thanks, Tom
[jQuery] Display a div if and id is found
Is there a simple way with jQuery to find a div with a specific id, and display a different div if the id is found? I know this may not be the best way to accomplish something, but I am trying to avoid rewriting a shopping cart plugin.
[jQuery] autocomplete - custom pagination + jquery UI autocomplete charade
caveat: this is actually my second post, the first one I forgot to put autocomplete at the title that might result in the author not being able to find it. Hi, I am trying to add a pagination capability to my autocomplete I am having trouble when I click the pagination link that I dynamically added , the steps that I do are: setData {page:next_page} -> flushCache and then trigger a search event, but the setData is not setting the extraParams. As in, it's not sending the page. help? this is my autocomplete
[jQuery] dot separated id
Hi! We're working with a java workframe that creates element ID-s separated with dots and thus we have problems using the jQuery selectors. Example: <input type="text" id="object.member.property" value="test"/> <script type="text/javascript"> t = $('#object.member.property').value; alert(t); </script> Of course, this script won't display properly the value "test". I've tried the $('#object\.member\.property') also but still obtained no result. Since the dot is a CSS selector, what can be done about
[jQuery] dynamically generated form
I have a form that allows user to add and delete rows as they desire, I tried to use the clone function but the problem is the clone give the same id as the previous row and causes trouble duirng form submission. Also, one of the column have input that is a JQuery datepicker, I am wondering if the action is going to be preserved? Thanks, Felix
[jQuery] Autocomplete result sorting help
I'm trying to normalize some user input on a form, and I thought Jörn's autocomplete would fit the bill, except I'm having trouble getting the result I need. Desired behavior - user can type either the abbreviation for their state or begin typing the state name, and autocomplete will return the most likely result. e.g. Entering a non-case-sensitive "va" would ideally return "Virginia", as would "vi" Actual behavior - entering "va" returns Ne*va*da, Pennsyl*va*nia, Virginia in that order. Entering
[jQuery] Adding a double click event to a form element
Hi, I'm new at this and I wasn't able to find what I was looking for by searching. On my form there is a few fields that will be populated when the page is loaded. These are fields that would rarely - if ever - be changed. So I want the user to have to double click the field to enable it. Thus ensuring that the fields aren't unintentionally modified. Any help appreciated! D
[jQuery] Suspending Requests in JSUGGEST
I am using JSuggest for autocompleting fields. Now if I go on typing the characters in the field, for every character that i type a request is made. Thus, a new request is made before the old one is serviced. Can anything be done such that all the old requests are suspended and only the new request stays when there is an request.
[jQuery] getting new window to appear at mouse click coordinates
I need to have a window appear at the exact location of the link that I click (so its not floating in the middle of the page or something). Can someone help me out? Thanks. <script src="jquery-1.2.6.min.js" type="text/javascript"></script> <script src="jqModal.js" type="text/javascript"></script> <script src="jqDnR.js" type="text/javascript"></script> <script type="text/javascript"> // this example shows the use of onShow and onHide callbacks. Make // sure to read
[jQuery] how to detect current toggle setting?
Good morning all, When you use the toggle() or slideToggle() what's the best way to detect the current condition of the effected elements? I'd like to save the state of the user's window in a cookie. I could toggle a class or add a property when I toggle things but I wondered if there was a better way.
Next Page