[jQuery] [autocomplete] Autocomplete plugin help please
Well, the issue is - it doesnt seem to work on my server. My local copy works perfectly, but th server copy doesnt. See here: http://mousehunt.thetoxiczone.com/autosugg.html Thanks for helping out!
[jQuery] [autocomplete] Autocomplete plugin help please
Well, the issue is - it doesnt seem to work on my server. My local copy works perfectly, but th serever doesnt. See here: http://mousehunt.thetoxiczone.com/autosugg.html Thanks for helping out!
[jQuery] Superfish - click menu to wrap
Hello, mental know how to make the menu is collected after you click on the options menu
[jQuery] horizontal Menu with no child menu
I want to make a horizontal menu with a lot of menu items but some of them wont have any sub menus associated with them. Right now, i have to add at least one item in submenu with sometext in it, else it gives a weired behavior. But I want that any of the items should have no items below it yet submenu shud be displayed, just like a long horizontal bar.. Can any one help me?
Drawer Menu - That does not push content
Hello, I'm fairly new to Jquery - I'm more of a backend PHp programmer but I just started picking up Jquery and I really like the features it adds to the frontend. I was wondering if someone could point me in the right direction for a Jquery drawer like menu that does not push the content of the site down. http://lib.metatype.jp/jquery_drawer/sample.html Thats an example of what I want, however as you can tell it pushes the website down when it opens and then collapses when it closes. What I want
SOLVED: jQuery div as an anchor ("_blank")
My first post (of many?) so excuse if it does not make much sense. I'm trying to get a link to open in a new window, I have the following jQuery so that the whole div is clickable. $(document).ready(function(){ $(".promoBox.anchor").click(function() { window.location=$(this).find("a").attr("href");return false; }); $('.promoBox.anchor').hover(function() { $(this).addClass('boxHover'); }, function() { $(this).removeClass('boxHover'); }); });
[jQuery] Using instance-variables when creating a new Plugin
Hi, here is a plug-in that I have been working on: (function($) { $.fn.extend({ prioritySelector : function() { // Private members var list; var textbox; // Takes value from textbox and highlights appropriate button function refreshGui() { deselectAll(); var prio = parseInt(textbox.val()); $(list.find('li').get(prio)) .addClass('selected'); } // Binds events to each prio-button function bindEvents() { list.find('li').click(priority_click); } // Event: Occurs when prio-button gets clicked function
[jQuery] Avoid the autocomplete menu to go offscreen by positioning it on top
Sometime the autocomplete menu will not be entirely visible because of the input is at the bottom of the screen To fix this problem i have created a small hack that will position the selectbox on top of the input. To see what I mean look at the image: http://tinypic.com/r/t6zcrc/5 code: autocomple.js line 701: replace function show by [code] show: function() { if(options.scroll) { list.scrollTop(0); list.css({ maxHeight: options.scrollHeight, overflow:
[jQuery] add link to leave in treeview async?
How do i add a link to the leaves using treeview async? I'm feeding it json encoded arrays like array('text' => hello, 'id' => 1) and i'd like to add a 'url' => '/test.php' for example but i can't figure out how to do this? Is this possible? Thank you in advance
[jQuery] Highlight Current Button on jCarousel Lite When Using External Controls
Is it possible? I have seen this requested numerous times but found no solution. When using the external controls, I want to add a class to the selected navigation number. I'm assuming this could be done using the callback but I don't know how. Ideas? Thanks
problem adding/dividing results from css/attr
Im working on a script using scrollTo. When you click an image I want it to center the image on the page, the images are positioned by a parent div. So far I have the below. It works fine with each of the vars directly placed after the left: but as soon as i try and add/multiply them together it doesnt work. What am I doing wrong? I'm fairly new to jQuery. Thanks, <script type="text/javascript"> <!-- $(document).ready(function() { $('img').click(function(){ var thisleft = $(this).parents("div").css("left");
[jQuery] JQuery plugin Tooltip: how to have a list of elements as tooltip body, not just one line
Hi guys, I'm quite new to JQuery and JavaScript. An old website used to display many columns with date infos in the middle of a table. When too many dates are rendered, last part of the table can't be seen without scrolling horizontally which is not so nice. To avoid this, we wish to use the JQuery tooltip plugin. We want only a certain number of dates to be rendered in the table, such as 3 elements (tuples of start / end dates in fact), and add an icon after these dates with a tooltip showing all
[jQuery] listmenu
hi all, i love the listmenu plugin. just have a question. i'm getting a list from my database. for example under "C" there's "Coffee" and "Cafe". how can i when i click for example on "Coffee" that alerts "you clicked on Coffee" or when i click on "Cafe", "you clicked on Cafe". thanks in advange, Robin30
JQuery is Hiding Children menu on Hover :(
I got this here: http://www.rhodanide.com/education.html When you hover over the Buy Rhoadanide or Research the sub menu comes up. The only way I could get it to work was to make the OTHER menu hide if one is hovered over, but I cant hide them anymore Is there a way to do this: 1. Hover Link 2. Show Div with more links below it 3. Keep the Divs visible if the Hover Link or the Div is hovered 4. Hide the Divs when both are not selected. Thanks if anyone can help me
[jQuery] jquery ajax
Hi, Is it possible to call a http url for ajax query i.e. $(document).ready(function(){ $.ajax({ type: "GET", url: "http://www.domain.com/mypage.php", data: "site_id=" + site_id, success: function(tags){ $("<div id=\"popdiv\">" + tags + "</div>").appendTo("body"); } }); }); Seems like url: "http://www.domain.com/mypage.php", is not allowed coz it doesnt echo/display any coming from http://www.domain.com/mypage.php
[jQuery] Selecting children of "this" ?
Hello, I'm just starting with jQuery and would like to know the best way to identify children elements of "this" to perform animation on. Some Googling brought me this seemingly useful code snippet: jQuery ("img", this); But I don't know the correct syntax for this. Here's my newbie shot-in-the-dark code: $(jQuery("li", this)).animate({ top : "60px" }, 3000 );
[jQuery] only one allowed at a time
I'm creating a photo gallery admin section. I'm allowing the user to decide which single image they would like to be the gallery image (the image that displays on the list of galleries page). I am using a green box to show which image is currently set as the gallery image, and a red box to show which one's are not selected. The green box is set as just the image, whereas the red box is a link to select that image. The code I currently have seems to turn all the images into red boxes, but does not
[jQuery] cluetip issue firefox/safari local content w/link
Cluetip works fine in IE But in Firefox/Safari.... I am displaying multiple cluetips(7). Each cluetip corresponds to a different event on our calendar, in theory and for discussion purposes, one for each day of the week. Hovering over the first link (sunday) yields a cluetip with a title and content, however, the content corresponds to the last link (saturday). In safari - it is displaying content from the third link. Hovering over any subsequent link shows only a title and no content. I have moved
[jQuery] Rond Corners Question....
Hi Guys! Is the Round Corners script with Jquery worth using? Does it really work with all browsers? Does is need tweeking from the original install? Any opinions out there? Erik
Weird Disappearing Margin in IE8
Hello, I am having a weird problem with trying to create a collapsible panel. I'm still pretty new to JQuery and can't get this to work right. The problem is that whenever a panel closes, the 50px margin-top of the group-panel below it suddenly vanishes and then reappears instantly when it is reopened. I think I've narrowed the problem down to lines 16-18, the ones that control the arrow icon on the side. Removing them fixes the problem, but I would like to keep this feature. The same thing happens
fade in/out & animate problem on IE
Hi there. My menu does not work properly on IE7. Check it out here: Webyourself I use jquery-1.3.2.min.js and jquery.bgpos.js from http://www.snook.ca/technical/jquery-bg/jquery.bgpos.js My jquery code: $(function(){ $('#menu-start') .mouseover(function(){ $('#menu-start-over').fadeIn(200, function () { $('#menu-start-over').animate({backgroundPosition:"(0 0)"}, {duration: 100}); }); }) $('#menu-start-over') .mouseout(function(){ $(this).animate({backgroundPosition:"(0
Getting the class/id passed into a plug0in
I image that this is an easy one, but I'm kinda new so hopefully someone can give me some advice... If I have a plugin thats being called... $('.myClass').somePlugin(); How do I pull out the ".myClass" part inside the plugin? jQuery.fn.somePlugin = function(o) { // Defaults var o = jQuery.extend( { option1 : 'something', option2 : 'something else' },o); // Some code alert('HERES WHERE I'D LIKE TO DISPLAY THE PASSED IN CLASS OR ID'); };
row hover not working on second page of #pager
Hi. I'm using tablesorter plugin with the pager plugin. I created a row hover function because I couldn't get the tablesorter rowhover to work. This one works on the first page of the table but subsequent pages don't get the function (assigning the class) applied. Any ideas? This is my function: $(document).ready ( function() { $('#tablesorter tr').hover ( function() { $(this).addClass('trhover'); }, function() { $(this).removeClass('trhover');
$.post() callback executed no data passed
hello everyone. here is my server side code: $arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5); echo json_encode($arr); here is my javascript: $.post($SERVER, {op:"one", test:"two"} ,HandleJSON(), "json"); } function HandleJSON(data) { alert("being called"); alert(data); return; } when i call alert(data), it says it is "undefined". i am new to jQuery, but this appears to mean that no data is being passed to the callback function even though i know the $.post() executed properly (the server side code
History? AJAX populated DropDowns empty after Browser back
Hey, I need help with an issue that I never had before, and I'm looking for a simple and easy to implement solution. I think I have to use the jQuery History-plugin, but I don't know how to implement it. Scenario: 2 Dropdowns which depend on one another, user selects from first dropdown (for example, country). Then an AJAX call is made and the secon dropdown is poluated with the Country-related locations. The User selects the location, and then he clicks on submit and is taken to antoher page. When
[jQuery] jQuery JSON-RPC Server
http://tanabi.com/projects/jsonrpc jQuery JSON-RPC Server This is a JSON-RPC server, specifically made to work with the Zend Framework JSON RPC Server. The Zend Framework JSON-RPC server is mildly off spec, and therefore this may not work with other JSON-RPC servers. This JSON-RPC client polls the server for the available methods, and then creates an object with those methods that can then be used.
[jQuery] multiply 2 input fields on change
Hi, I have three input fields as UNITPRICE & UNITQUANTITY and TOTALPRICE. UNITPRICE's value depends on a product chosen in the preceding tab. Now, I want UNITPRICE & UNITQUANTITY fields multiplied and result shown on TOTALPRICE input field. How can I do it?
[jQuery] History plugin? AJAX-filled DropDowns are emtpy after using "Back"-button of browser
Hey, I think my first post was erased, so I will give it another try... Scenario: 2 Dropdowns which depend on one another, user selects from first dropdown (for example, country). Then an AJAX call is made and the secon dropdown is poluated with the Country-related locations. The User selects the location, and then he clicks on submit and is taken to antoher page. When I now hit the Browser's "Back" button, the dropdowns are empty, the data and the preselection are erased. So I need a way to save
[jQuery] History plugin? DropDowns are emtpy after using "Back"-button of browser
Hey, I know this issue has probably been discussed before, but I need a little help to get this to work and I need to know how I can solve this problem once! Here's the situation: On Page 1 2 selects which are dependent on one another (for example first one is Country, User choses the country, and the second dropdown is populated after retrieving the Locations for this country via AJAX call) When I leave the page, and then use the "GoBack" Button of my browser, the select-boxes are empty. There has
[jQuery] How to break out of jQuery function?
Hi all, I have a function that will run everytime a link in my menu is clicked. The problem is that one of the links point to an https and appropriately opens in a new window/tab. I want to break out of the function so that my page does not go blank as a result. I tried the .end(); function but it doesn't seem to do what I expected as my page goes blank and the https is opened in two other windows/ tabs. below is my exception as it stands:[not complete code - only for illustration] var href=""; if
[jQuery] Error: Load a jQuery Flot chart inside a jQuery tab
I am trying to load a jquery chart (Flot) inside the second tab of jQuery tabs. It works fine on the opening tab, but if i bury the chart in any tab, it breaks and throws the js error "Invalid dimensions for plot..." I looked around and the problem might be that because the second tab is hidden at page load, it is breaking something... I dug up a possible jquery fix/plugin called frameReady, which allows for you to load iframes, but I am not sure how to apply it. Example: http://psylicyde.com/misc/tabs-charts
[jQuery] ajaxify: load link in same div?
I click an ajaxified link in the left column div, and it loads content in the right column div. All is good! Now, tho, I want to click a link in that right hand content, and replace it with new content. Targeting the "right column" div name does not work; the content loads in a new window. What am I missing? -- View this message in context: http://www.nabble.com/ajaxify%3A-load-link-in-same-div--tp24189573s27240p24189573.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] superfish horizontal navbar with a third level
Hi, I'm in trouble implementing superfish in a website project. My problem is: I have a category based menu item that has two sub-levels set to display horizontally. I hover the first menu item and the first sub- level shows. Then I click the first sub-level and both it and its parent-item get highlighted and stay visible. Then I do the same to the sub-level below these but it doesn't work. This second sub-level gets the right class ('current') but the first level loses its 'current-cat-parent sfHover
show 1st image on page load
Hey guys, I am working or rather trying to work with thickbox 3.1. I am a total newb when it comes to javascript let alone jquery. All i want it to do is to the first image of the gallery show up when the page loads. As it is right now, the user needs to click on an image of the gallery in order for the "magic" to start... So far, all I have been able to do is get the thing to break ... lol. So, if anyone could help or at least point me in the right direction that would be great. Thanks!
[jQuery] jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2
Hi, I'm using jquery-ui 1.6 custom build with jquery 1.2.6 trying to set up a dialog window. Unfortunately I can't update to 1.3.2 since this would trigger some unexpected XHR-related bugs like the following: Exception ``TypeError: M.xhr is not a function'' thrown from function anonymous(M=Object:{12}) in <http://localhost/media/js/jquery/jquery-1.3.2.min.js> So I'm sticking with the 1.2.6 build, which works fine despite a minor/not-critical XHR issue: Exception ``TypeError: s.accepts is undefined''
[jQuery] datepicker UI select multiple date
I use datepicker UI. Is it possible to be selected multiple events, dates taken from a mysql with PHP? can you give me links to similar developments
[jQuery] filtering a multiple select box
i would like to filter out option on an select box as i type my value in a textbox. I would work sorf of like autocomplete without the autocompleting part. Its implemented here but the code seems is very complex as there are many other things going on. http://www.headcircus.com/uiguy/selectboxfactory/selectboxfactory.html I just want it on a plain select box. does this sound easy or would it require several lines of code?
[jQuery] select all values of a multiple select list
is there a way to select all values of a multiple select list by default?
[jQuery] how can i set the attribute of an item in a select box to selected?
how can i set the attribute of an item in a select box to selected?
jQuery plugin jsTree does not show up on page.
Hi everybody! I am new to Javascript and jQuery. Trying to learn. So, forgive me if this appears to be a silly mistake. I have a jsTree component on one of my aspx page. The tree gets its data via an ajax call to a WebService Method. I can see in the debugger that my WebService method does get called and it returns the data as expected. But the tree doesn't display at all. What am I doing wrong? I have pasted the relevant parts of the files here. The server side is in C# code. Parts from my aspx
Next Page