Help with some jquery basics
Hi, I'm new to these forums and jquery, so hello all! I have this code below that iterates through a bunch of elements for every click. This works well and it iterates the correct elements ( i can see this via an alert that pops up the values i'm after). The problem is that I cannot figure out how to declare the variable `opid` so that I can have access to it below the each statement as shown in the code below. Thanks for any help you can offer! var opid = new Array(); $("a.btn.submit").click(function(){
jquery people?
Hi, I am in need of a freelance contract-based jquery web developer to help me with my company website. I am not sure if this is the right place to look for such talent but where is a good place? It is easy to find people who want to do freelance but I found it quite challenging to find someone who is real good in jquery and web interface. Sorry if this is not the right type of post to show up here, but any help is appreciated, regards, Jeff DJ
[jQuery] getJSON parameter - long string
Hi I am trying to send with getJSON a very long string as parameter: $.getJSON("/ajax.php",{id:myid, thetext:mytext},myAjaxResult) where "mytext" - is value from my fckeditor. If "mytext" value is not so long, everything is going fine, but if it become a very long, getJSON doesn't work. How can I solve this question?
[jQuery] Slide Effect With Right CSS Attribute
I have a div that I have a position to be absolute and always in the top right corner of the page (top:0, right:0). When I use any of the show effects, it always does the animation in the very middle of the page. It seems that this is caused because no "left" attribute is provided. Is there any support for the UI effects if the right position is provided?
A great website
Hello everyone! I am new to jquery and also new to the forums. I am loving the simplicity thus far though I admit I am confused on a lot and have much to learn. I look forward to being a part of the community. Now on to my post. I wanted to share a portfolio website with everyone that I find to be a wonderful sample. I would like to learn how they created a few of the effects. I have a general idea of installing plugins and jquery. I have successfully installed fancybox and experimented with a few
[jQuery] how can keep height 100% in a tab inside an iframe?
hello i am having problem to set height to 100% in a tab that is inside an iframe where the tab contant is also an iframe. any ideas? thanks
[jQuery] new to jquery, new to google groups :O
I am trying to populate the array opid, with values that I gain access to in an each function. I have crudely tested the loop working using some alerts, the each statement is looping the elements I want. Now the problem is that I want access to the opid array after the each function as indicated below. Can anyone help? Thanks Lee var opid = new Array(); $("a.btn.submit").click(function(){ // alert($(this).attr("id").substr(7)); var userid = $(this).attr("id").substr(4); $("#"+userid+"
[jQuery] Cycle Plugin Help - Image Anchors
Is it possible to use image rollovers instead of the default text that comes with the plugin?
[jQuery] How can I populate my global array?
Hi, I'm wondering if anyone can help. I am new to jquery and I am trying to get the variable `opid` to populate from within the $("#"+userid+" input:disabled").each() statement, so that I can use it immediately after that statement within the click $("a.btn.submit").click() function. Sorry if that doesn't make sense... Any help would really be appreciated. Thanks...... var opid = new Array(); $("a.btn.submit").click(function(){ var userid = $(this).attr("id").substr(4); $("#"+userid+" input:disabled").each(function(i){
[jQuery] :visible fails in MSIE8 (in a ThickBox)
Okay, so jQuery 1.3.2 defines the visible filter like this: Sizzle.selectors.filters.visible = function(elem){ return elem.offsetWidth > 0 || elem.offsetHeight > 0; }; Now I've got a table of hidden (style="display: none") rows. The user will click something that will .show() a specific row, and the whole table -- along with a lot of other stuff -- will be displayed in a lovely thickbox. The problem is that MSIE 8 assigns offsetWidths and offsetHeights to the rows; even those with "display: none"
[jQuery] Using $.each() method with an onclick event
I am new to jQuery and I am trying to use it to populate data from ColdFusion, which is working fine. My problem comes in where I am trying to pass an array of values to other methods that populate several fields on my page. Here is what I want to do: 1. Take a loop of id values 2. Pass the values to the other functions and populate the appropriate fields 3. The first id populates the fields automatically 4. All others are populated using an onclick event Here is what's happening 1. Take the loop
[jQuery] autocomplete
Hi, I've got a problem with autocomplete plugin : the loading image doesn't appear. The path to the image is correct, the problem is that everything seems to be stuck until the results appear, and that's also when the class is removed..so it never appears. Strangely, if I put an alert before this line : $input.addClass (options.loadingClass); , the loading image appears. Any idea to solve that problem ? Thank you.
[jQuery] I am using Thickbox for login but the login verify page is also opening in thickbox
Hi, I am using following Jquery for thickbox <a href="login.html?height=285&width=550&modal=true&TB_iframe=true" class="thickbox" title="Please Sign In">login</a> That i got from http://jquery.com/demo/thickbox/ Page...Problem is after entering into login.html i need to check user and password in login.php and redirect to home-page.But The login.php and home-page are opening in thick-box itself. I am not able to navigate after closing thickbox.... when i try to use "self.parent.tb_remove()" the thickbox
[jQuery] JQgrid:- How to i can see view "loading message" about ?????
How to i can see view "loading message" about ????? Thanks!!
[jQuery] problem with height value when inserting tab within an iframe
I can not get the height 100 % of the tab that is inside an iframe. this what I have: iframe (inside iframe) tab (inside tab) other iframe any help would be appreciate. Regards
[jQuery] tablesorter and pager: How to modify table cells in cache?
I'm using tablesorter with the pager plugin. The last cell of each row in the table contains a checkbox. The user should not be allowed to check more than 10 rows (out of several hundred); once ten checkboxes are checked I want to make all the others disabled. Now if I wasn't using the pager plugin this would be simplicity itself; using the pager plugin it is still simple to disable all the unchecked checkboxes currently displayed. But how do I access the rows of the table that are cached by the
[jQuery] [autocomplete][livequery] .change()
Hello. I'm having a problem with the following code: $(".prodname").livequery(function(){ $(this).autocomplete ("search.php", { extraParams: { 'type':'products' } }); }); $(".prodname").livequery(function(e){ $(this).change(function(e) { $(".barcode."+thisline(e)).val(''); $.ajax({ type: "GET", url: "agent.php", data: "prodname="+$(".prodname."+thisline(e)).val() +"&action=getprodid",
jQuery using $.each() with an onclick event
I'm new to jQuery (start learning 2 weeks ago ). I need to be able to loop over some methods returning values. I am loading the first value automatically, but need to be able to get the other values on 1 of 4 types of click events. Here is the code I have written so far: function CheckedId() { var datastring = "param1="+ value1+ "¶m2="+ value2; $.ajax({ type: "GET", url: "SpellChecker.cfc?method=getCheckIds&returnformat=plain", data: datastring,
[jQuery] Does Supersubs work with Superfish menus in vertical mode?
Trying to get the Superfish menus to work in vertical mode, whereby each list item is a single line, and the next menu down sits to the right of that menu. For normal horizontal menus you use the Supersubs option when you call Superfish, but the superfish-vertical.css you need to make the menus layout vertically, seem to overwrite the widths of the UL's and LI's. Cheers Brendan
ajaxStart loading images
So I have a page which will embed php file in a div. I am using jquery to load the php file, and handle the single form that is used. The form uses the datepicker to help pass variables to the php file. I want the php file to load via post, without any parameters when the page starts. When the from is submitted, the page should load (using the loading gif) with the new returned data from the php file. The loading gif only comes up when the window first loads the php file. Posting the form, and the
[jQuery] Multiplied load-Events on image-src-change
Hello, I want to the change an image and do some action after loading. Following snipet is used: js: $(document).ready( function() { $("#clickableElement").click(function() { $('#imageID').attr("src", 'http://IMAGEURL/img.jpg').load (function() { alert(1); }); }); } html: ... <div id="clickableElement>Click me</div> <img src="currentImage" alt="Image" /> If I click on the "clickableElement" a new image is loaded as expected and after that a messagebox with "1" appears. Now I click a second time and
[jQuery] Protect images
Hi. I want to know if there is a way to protect images that are styled with an overflow auto. I found a lot of tutorials, scripts and plugins for that with "static" images. The big issue here is that the image can (and is usual) to be resized (two buttons are added for that + and -). Any ideas? Will be vary good recieved. Thanks. -- Mario Soto mariosoto@cancuen.net ..._
[jQuery] [autocomplete][livequery] .change()
Hello. I'm having a problem with the following code: $(".prodname").livequery(function(){ $(this).autocomplete ("search.php", { extraParams: { 'type':'products' } }); }); $(".prodname").livequery(function(e){ $(this).change(function(e) { $(".barcode."+thisline(e)).val(''); $.ajax({ type: "GET", url: "agent.php", data: "prodname="+$(".prodname."+thisline(e)).val() +"&action=getprodid",
[jQuery] Scrolling a group of accordions
I've seen this effect in Flash and am hoping to produce it in jQuery (that ought to get the juices flowing)... I have a list of events ordered by date. I want the accordion to display the event's name and when clicked, open to reveal event details. Viewers will usually be interested in 'middle of the list' events but may wish to scroll (up) into the past or (down) into the future. Possible? thx --steve...
[jQuery] [autocomplete] mustMatch : true rejecting everything
Hi all, I was spitting back a formatted string from PHP, using a slash as a divider (i.e. "Part Name / Part Number / Part Type") and autocomplete with mustMatch on was rejecting anything and everything. The reason appears to be the special characters in the string. Using spaces or letters as dividers now and it's working A+. Posting this for anyone else who has the same problem. keywords: jquery autocomplete mustmatch empty input box always reject selected Cheerios, Marc
[jQuery] ajax get issue
I'm having an issue with the $.get() method. When I request a file local to my site (with a relative path), everything works fine. When I request the same file with a full URL, the $.get() isn't successful. I don't know if its a security issue (requesting data from a 3rd party site) or maybe a timing issue, or maybe something else. Here's the essence of the call when it fails: $.get('http://files.myurl.com/myxml.xml', function(data) { alert('got it'); } If I call it with
[jQuery] how to ask questions
ok , ive posted about 6 questions in this group since i joined and not one has answered. not even an attempt. I've seen question, both easier and more difficult that mine being answered. Am i asking in the wrong way? Is there something im forgetting to include? what can i do to make my question more likely to be answered?
[jQuery] Plug in variables getting to grips
I have the following within a plug in that i am trying to create. Now all works well but i thought that th enext stage to take my plug in would be to let me set the varaibels when I call the plug in. i have th efollowing say: var $listContainer = $ ('div.listContainer'), $container = $('div.calendarContainer'), Speed =5, mouseWheel=true, heigthOful = $container.find('div.listContainer ul').height(), Time = parseInt(heigthOful)*Speed; No wi have tried to put
[jQuery] Superfish spacing between modules/Row height
I'm definitely not a coder, don't know very much about css, know nothing about Java Script. So that said, I'm trying to make the table row height smaller on a Joomla! site with Superfish menu module, and have managed to do that a bit, but not as much as I wanted to, (don't even know how I did it now!) but ended up with space between the H3 module header/title, and menu content items, and also at the end of each menu to the header of the next. Purpose in changing row height is to save 'real estate'
Work in FF, Safari and Opera not in IE
Hello, I try to use jquery to manage a little hierarchical menu. It seems easy, and after 1 hour of scripting (first time that I use Jquery) it's working in FF, Safari and Opera. It's not working in IE. http://parquets-online.limax.lu/test.html Thank's for your help I'm desesperate. Laurent.
[jQuery] jquery more than one script gives conflict what to do?
I am trying to use more than one script in my page (lightbox is added) If one or the other is removed all works fine. I found ------------- <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), etc. $('someid').hide(); </script> --------------- But I have no idea what of the parts of the script to put where in the code above. Can anybody help me to get the scripts underneath
[jQuery] jQuery - attr method - Error Object required - Only in IE8
hi, hi, Could any one help me with this, i am using jquery version - jQuery 1.1.3.1, there is a module to set some values so when i click on the submit button i get the following error (only in ie8) [[Webpage error details]] User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ 4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Timestamp: Fri, 26 Jun 2009 13:45:29 UTC Message: Object required Line: 455 Char: 1 Code: 0 URI: http://domain.com/html/js/jquery/jquery.js Code : attr: function(elem,
[jQuery] Variables in IE ahhh!
I have this hover function and outside this i am setting all the variables etc everything works but when I test on IE yes that old one, is gives me the wrong reading and hence does not function, so to get over this I have to put in the variable within the hover function. any ideas how to combat this. main function: var heigthOful = $container.find('div.listContainer ul').css ('height'); $('THEBUTTON').hover(function(){ //for eg if i alert the variable see below alert(heigthOful); }); for eg if i
[jQuery] jQuery Tabs Not Working in ASP
I'm having a problem getting jQuery tabs to work. I'm using a master file along with an aspx that includes a placeholder. Relevant Parts of Master File: <html> <head id="Head1" runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- Use for local server --> <link href="css/Default.css" rel="stylesheet" type="text/css"/> <link href="css/jquery.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"
[jQuery] Trying to manipulate the DOM with data from .post() call but doesn't work in IE????
Hi, I am new to JQuery so hope I haven't just made a basic mistake. I am trying to insert a paragraph element containing data obtained from a .post request to a DB, into a page. I have it working perfectly in FF but it does not work in IE. Here is the code; // make the request using .post and then using the returned data call the function $.post(URL, { component: componentVal, start: StartVal, end: endVal }, function(data){ rftStats(data); }, "json"); function rftStats(data) { $("#dataSet li").each(function()
fadeIn?
Hi, I have a set of images that fade in and out when rolled over, using the following code: <script type="text/javascript"> $(document).ready(function(){ $(".thumbs img").hover(function(){ $(this).fadeTo("fast", 1.0); },function(){ $(this).fadeTo("fast", 0.3); }); }); </script> But the problem is, the images start at full opacity when the page loads, and I want them to either a) start from 0.3 or even better b) fade in to 0.3 from 0. How can I do this? Thanks!
[jQuery] Can not get DOM manipulation to work in IE when using a .post callback. Please Help. Now desperate.
Hi, I am new to JQuery so hope I haven't just made a basic mistake. I am trying to insert a paragraph element containing data obtained from a .post request to a DB, into a page. I have it working perfectly in FF but it does not work in IE. Here is the code; // make the request using .post and then using the returned data call the function $.post(URL, { component: componentVal, start: StartVal, end: endVal }, function(data){ rftStats(data); }, "json"); function rftStats(data) { $("#dataSet li").each(function()
[jQuery] Horizontal slide
Hello, i'm trying to build a page where i have some buttons on the right side that slide in some panels over my main content div. At the moment i have something like this: <script type="text/javascript"> $(document).ready(function(){ $("#btn-slide1").click(function(){ $("#panel1").animate({ "width": "toggle", "opacity": 0.8 }, { duration: "slow" }); }); $("#btn-slide2").click(function(){ $("#panel2").animate({ "width": "toggle", "opacity": 0.8 }, { duration: "slow" }); }); });
[jQuery] FULL SCREEN IMAGE GALLERY
Hi. Who can make me a similar website like this: http://devkick.com/lab/fsgallery/ http://devkick.com/blog/full-screen-image-gallery-using-jquery-and-flickr/ I know there are some similar out there, but I like this one regarding the small thumbnails and the i:info. The different would be that I will pick the photos/images from my own folder, not flickr - and i would have my logo on it. Thanks, Best, Architect Jone Vistnes, Norway.
Another Noob question relating to hyperlinks, tabs and ajax.
Hi there, I'm new to the forums and i'm hoping someone might be able to assist me. I only found out that Jquery existed 2 days ago so please bear with me. This question has probably been answered before but I'm possibly searching for incorrect terminology...for this, I apologise. I have a multitude of issues but 2 main ones that are bugging me more than others. I have an index page using tabs. Works quite well. In my list of tabs, one of them points to a container within index.php and the rest are
Next Page