horizontally and vertically scrollable table
Hi! please, is there any jQuery plugin - scrollable table like this http://www.webtoolkit.info/demo/jquery/scrollable/demo.html - but not only vertically (!), with posibility to lock first column(s) and first row(s). thanks! Ivan
[jQuery] JavaScript magician needed
Hi All! I am looking for JavaScript gurus for 4-6 month contract or full-time position. Please send me your resume if you are guru and interested. Best regards Alex
This only seems to work in FF
jQuery('#'+nameHex[0].replace(' ','__')+'_qty #'+fields[c].id).attr('onblur' ,'setQtys();');
div display visible, fade opacity effect
hello everyone, I've seen several scripts that let me fadein/fadeout a div using the opacity, the problem is that when a div has a 0% alpha, it still covers up the content (such as links) that is below it. I need a function that will detect if the div is hidden, reveal it, and fade to 100% opacity. If the div is visible, fade out to 0% and set div to hidden. psuedo: if { div style="display:none;"; display:visible, fade from 0 to 100% over 3000m/s } else{ fade from 100 to 0% over 3000m/s setTimeout
selector next() how to
I have the following code: <div class="prgwrap redlist"> <ul class="prglist"> <li> <span class="moreinfo">more info</span> <h3>this is a ttitle</h3> <b>deelnemers:</b> <a href="deelnemers.php?prt=4">Jennifer</a> <a href="deelnemers.php?prt=1">Sandra</a> <a href="deelnemers.php?prt=3">Kim</a> <div class="prg_info"> <b>categorie:</b> Dansen op straat <b>locatie:</b> Lange Poten<br /> <p>Here goes a piece of information</p> </div> </li> <li> ..... </li> </ul> </div> What I'm trying to realize is that
[jQuery] problems with each() and JSON
Hi Folks, i have a big roblem with a little getJSON request. At first..this is my code: === HTML === <button>dicken ajax-request ausführen!</button> <ul id="myList"> </ul> </body> === JavaScript == $(function(){ $("button").click(function(){ $.getJSON("myJson.js", myCallback); function myCallback (jsonObject){ $(jsonObject.aString).each(function(){ $("#myList").append("<li>" + this + "</li>"); });
Looking for plugin to mark image areas
hello guys! I am looking for a plugin for jQuery to mark areas on image and select a friend like you can do it in some social networks to mark your friends on fotos! Do you know something what can help me? Thank you in advance! samunai
[jQuery] Superfish menu - drop shadow .png not loading in Firefox and IE
Hi, I've got Superfish set up and running fine, except that the shadow.png isn't showing in Firefox or IE - can't work out why the hell not! Sorry for the noobieness... Cheers in advance, iFlicks www.i-flicks.net Here's the CSS: www.i-flicks.net/superfish.css
[jQuery] jquery cycle plugin - first cycle not in correct position unless you reload the site
Hi I am using the cycle plugin on a start page to cycle 5 pictures in a div id "picture". The first load of the site the pictures are shown to small (firefox) or outside the container (opera, safari Win), after a reload all is ok!! I have no clue why this happens. Is there any advice? link: http://nitidas.freelinks.ch Thank you flyfisherman
[jQuery] JQGrid...Delete Button?
Hello List. Playing around with jqgrid and the documentation describes the implementation of bSubmit and a bCancel button. However, how do I display a Submit, Cancel and a Delete button in the same window? So in the code below, I can change bSubmit to a value of Delete, but I lose my "Submit" value. Adding an extra bSubmit:'Delete', does not work. Is this possible? Thanks, --Rick jQuery.jgrid.edit = { addCaption: "Add Record", editCaption: "Edit Record", bSubmit: "Submit", bCancel: "Cancel", processData:
Keep draggable div's position after a postback
Hi i'm doing an asp.net website in wich i have an draggable div that i load with post dynamic from a database. the problem is that the draggable div returns to its default position after every postback. any ideas? //oscar
Just so stuck! had no problems before...
Hi i just started out with Jquery and i love it. I had tried it at a few pages succsesfully most of the times. And now suddenly, i just cant get it to work... I tried to download different versions of the jquery.js files at least ten times each. Also put alert(''); in every js to see if it was even connected. Nothing works and i'm soo fustrated... im trying to make "newsBackDiv" draggable ****************** // Heres my html: <html> <head> <title>Sök kontakt eller gå till sida</title> <link href="Stylesheet1.css"
Embedding HTML vs using JSON
Hi, I'm just confused with this. When requesting some data from the server using ajax, I'm having a difficulty deciding whether I should inject the code into the DOM directly or should I use JSON to wrap the data first and parse the response before accessing the data i need. I've seen that when you append some html code into your code the script elements contained in the html gets executed correctly. For example i use the code below to request some data from the server and append the response to
Prevent ampersand from splitting up data string during ajax
Hi, I'm using ajax to store values from a form into MySQL. The form contains a text field named "title" and the method I'm using to fetch and pass on the data to the backend is shown below: _data = "title=" + $( '#title' ).val(); $.ajax({ async: true, type: "POST", url: "backend.php", dataType: "json", data: _data, success: function( json ) { .... } } }); The method works fine for normal text, say "This is a sample text".
[jQuery] How to add a cookie to toggleclass
Hi, I'm using Wordpress and each post will have a table. I'm using the following script to allow users to highlight a table cell when they click on it. It works with jQuery ui extension and the effects core plugin: jQuery(document).ready(function() {jQuery("td").click(function() { jQuery(this).toggleClass('highlight', 300);});}); I've been trying to incorporate the cookie plugin (by Klaus Hartl), but have gotten no where. I want users to be able to click on different posts, but would like the highlighted
Slider with multiple images
Anybody knows how to do something like this using jquery?: http://travisjbeck.com/demos/imageslider/ All I've found only shows one image at a time and what I need is to show three images and keep sliding it to show a new one but still keeping the last two. The last example is using Mootools but I am using another effect in the galleries using jquery and they don't work at the same time.
[jQuery] Better way to trim whitespace from input?
Hi, I need to transform all characters entered in an input field to uppercase and trim trailing whitespace. This script works, but I'm wondering if there's a better way to do it. <script> $(document).ready(function(){ $("input").keyup(function (e) { $("#couponCode").val($(this).val().toUpperCase()); }); $("button").click(function () { var couponCode = $("#couponCode").val(); couponCode = jQuery.trim(couponCode); }); }); </script> Any suggestions?
Use Jquery/Auto Complete in Javascript popup window
Hello! I have created a popup window for myself (you know, with a grey background that fills the whole screen and in the middle there is a white box containing a form). In an input element inside of this form (in the popup window) I would like to use Jquery and its plugin Auto Complete. Does anyone a way to do this? I've used Jquery and the plugin in other forms, but those have been placed inside a "normal" page, not a popup window created with Javascript. Is there like an easy way to call the function
[jQuery] Conflicts between scripts
Hello, all. I am a fairly new web designer and I have the following attached scripts on my page. Alone, they (lightbox and jQuery/ interface) work great. But together, depending on their order in the <head>, I get one to work but not the other. Can anyone tell me if I am seriously missing something or using outdated scripts... I am at a loss here. Thanks in advance. <!--includes--> <script type="text/javascript" src="scripts/prototype.js"></script> <script type="text/javascript" src="scripts/scriptaculous.js?
Tabs help needed
I am using jquery tabs with asp.net. First thing tabs are not working in Firefox. Second thing I want to save details of the form to database then switch to next tab how to do this? Help needed urgently.
[jQuery] Picking an element from a set
Sorry, I am sure this is a simple question but I cannot figure it out. I have : <div class="test">foo</div> <div class="test">bar</div> <div class="test">baz</div> <div class="test">bif</div> I have a selector: $("div.test")[2].fadeOut(); This gives a console error: Error: $("div.test")[2].fadeOut is not a function From Jquery in Action I thought the wrapped set was an array that I could access. From - Mon Jan 4 11:14:32 2010 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Delivered-To: jeresig@gmail.com
document.href ?
I have an <IMG> to which I attached a click event. Now I want that event to act like a hyperlink and take the user to a new page. What is the JQuery equivalent of document.href() to make the new page replace the current in the browser? $('img#myimg').bind('click', function(evt) { //what do I do here to change page to xxxx.html ? });
[jQuery] Sortable accordion-like widget
Got this coded, its an accordion like tool. It functions just how I need it, except id love to make it sortable. Anyone help with the code update? jQuery : $(function() { $("#accordion1").addClass("ui-accordion ui-widget ui-helper-reset") .find("h3") .addClass("ui-accordion-header ui-helper-reset ui-state-default ui- corner-top ui-corner-bottom") .prepend('<span class="ui-icon ui-icon-triangle-1-e"/>') .hover(function() { $(this).addClass("ui-state-hover");
[jQuery] Insert class into td in a nested div.
I have a series of td's that reside within a nested div. the <td> has no class value and I would like to inject a css class value. <div class=x> <div class=y> <div class=z> <table><tr> <td>x</td> want a class in these tds how can I do this with jquery?
[jQuery] Is there a way to get distinct elements based on criteria
For instance <div class=1"> <div> <div class=2"> <div><div class=2"> <div> <div class=3"> <div> <div class=3"> <div> $(div).filter("some condition") will return me all unique divs result set ( <div class=1"> <div> <div class=2"> <div><div class=3"> <div>) much appreciated
[jQuery] IE caching AJAX requests?
It looks like IE is caching the response for some AJAX requests here. The app I'm working on is a catalog of sorts. Clicking the link for a category loads a set of "items". Those, in turn, may be deleted from the admin view. The delete works fine (I checked the DB) but, when loading the same set of category items, I'm seeing the list unchanged. That is, the thing that was deleted is still there. Sorry for the crap explanation but I'm not really sure of a better way of putting it. Bottom line is,
[jQuery] jqmodal bug on jqmHide
If you try to do .jqmHide() on a modal that was not shown then an error pops up. Anyone had this problem and solved it maybe? Thanks
[jQuery] Browser differences in handling xml file structures?
Hi all, This is my first posting to this group, so I hope you will treat me gently. I am having a problem with a script that I am writing and I believe it is centered within a piece of jQuery code. I have some code like this (simplified slightly): $.get('news/testfeed.xml', function(data) { $('record', data).each(function() { var $link = $('<a></a>') .attr('href', $('link', this).text()) .text($('name', this).text()); var $headline = $('<h4></h4>').append($link); var $summary = $('<div></div>')
[jQuery] select category
hello someone know if you have any library or tutorial ... create a menu on the ... http://img4.imageshack.us/img4/1235/categoriak.jpg
[jQuery] Get the Value of Custom Attribute from Parent
Hello, I have been learning jQuery and have been loving it so far. But can't figure out how to do the following... 1) Find the <a> inside a <ul> that has an active class. 2) Grab the value from the parent <li> and put it into a variable to be used elsewhere. Here is the example markup... <ul id="carousel"> <li class="carousel-item" carouselindex="1"> <a href="/someurl"><img src="/someimg" alt="" /></a> </li> <li class="carousel-item" carouselindex="2"> <a class="active" href="/someurl"><img src="/someimg"
[jQuery] jCarousel by Jan Sorgalla Options
Hi, Hoping someone can assist: 1) I was wondering, is it's possible to use navigation buttons along the top of the Carousel, with a short description, that will allow the user to directly navigate to a panel within the carousel, using jCarouosel? Basically, if I want to do go directly to panel 5 instead of pressing the right arrow 5 times, can this be done by pressing a navigation button, along the top of the carousel? If so, would really appreciate your help on what's involved? 2) With the jCarousel
[jQuery] Multiple Ranges in Slider
Hi guys , could we have multiple ranges in the UI SLider , if anyone has a solution please let me know thanks !
[jQuery] JQuery Treeview Expand selected node
I am using JQuery TreeView and have a question. my example tree look like this +Animals +Birds +Humans I wats to expand a specific node. for example Birds. how do i do that ?
[jQuery] Calling $(document).trigger() from iframe to parent frame
Having a heck of a time trying to figure out how to do this. I've done some searching but have had very little luck. Any help would be much appreciated. i.e. calling this from an iframe: $(parent.document).trigger ('close.group'); to the parent document where there is a bind: $(document).bind ('close.group', function() { .... });
[jQuery] Modify iframe with jquery
I have an iframe in a page that scrolls on initial load, but after clicking a link and loading a different page I have to remove the scroll(scrolling=no). When the 2nd page loads I set the attr on the the iframe to scrolling=no. $('#iframe').attr('scrolling','no'); But, This does not seem to work. Does anyone know? Is the iframe more of a static object after initial creation and load? Can it's parameters (except for src) not be changed? Thanks
Help making my horizontal scrollbar scrolling smoother
So I got this horizontal 100% width scroll bar for a site I'm making, but my client wants the scrolling to be smoother but still maintain the same speed or there abouts, so I guess as close to the default scroll bar smoothness/speed as possible. I tried editing the two attributes in the code to make it smoother and it usually just makes it move a bit smoother, but it goes faster or it goes slower and not as smooth, I can't get a good in between for the speed/smoothness. So if you have any ideas on
[jQuery] jquery.getJSON params not filtering
I just can't seem to get getJSON to filter based upon the map I send in. Here is my code: $.getJSON('funds_static_json.dot',"{category:fundType}",function(json) { dropdownSet.loadSelect(json); } My post in firebug looks completely right: http://www.uakron.edu/development2/funds/funds_static_json.dot?category=526360 The json is formatted properly and passes the lint test. However, I get the entire json back and not the filtered by my parameter. I have over a thousand funds, but
[jQuery] jQuery v1.3.2 error
Hello. I recently updated my jQuery to 1.3.2 from 1.2.6 and now firebug shows me error: tagName is undefined (jquery.js line 12) Any ideas what might be the problem? All an all jQuery works just fine.
Changing style on multiple elements at once
Hi, I have this piece of code and was wondering if there is a shorter, better way of writing it... $("#tabbed-content-1").css({marginLeft: "-940px"}); $("#tabbed-content-2").css({marginLeft: "-940px"}); $("#tabbed-content-3").css({marginLeft: "-940px"}); $("#tabbed-content-4").css({marginLeft: "-940px"}); Many thanks C
Two Small Issues with Accordion
I'm an ASP.Net developer and am trying to use jQuery UI's Accordion instead of the one I've been using from Microsoft's AJAX Control Toolkit. I've got it basically up & running but there are two issues I can't figure out and am hoping someone on here can help. Please visit this page: http://24.80.245.92/Pelalusa/Locations/Vancouver/maps.aspx The two issues are these: 1. When I click on either of the maps, it's supposed to open a new window (ie. <a href="http://..." target="_blank"> ) but instead
Next Page