[jQuery] Jquery Iframe Sizing Issue
Hello all, I'm fairly familiar with JQuery and am using it across a new CMS site implementation with various plugins, and have been successful in getting these to work until I went for http://sonspring.com/journal/jquery-iframe-sizing, which allows the height of an iframe to be determined based on the content inside the iframe. I'd love to not use IFrames, but it's been decided that this is the way we need to go. It looks like the script works fine on his site, but once you download it it doesn't
[jQuery] Image replacement Gallery based on links with fade
I found this site http://www.webdesignerwall.com/demo/jquery/img-replacement.html and like the image replace but i would like to add a fade in effect when you hover over a link or click on a link. Also would this work the same way if i wanted to update a div with new content? I have tried searching for simple image replacement but this was the only one i could find. Any one know of an easier way or better way to do this? Example of what i am trying to do... <IMG id="largeImg" alt="Large image" src="ImageReplacement_files/img1-
[jQuery] jQuery UI
I've just started playing around with the jQuery UI and while I was at it I decided to put together a series of tutorials on implenting the UI, I've never written any tutorials before, so it may not be the best, but I hope that it will be useful to someone. You can find it at http://mdrisser.r1designs.net/blog Let me know what you guys think and how I can improve the series. Thanks in advance
[jQuery] append div trouble
hey folks, brand new here. been fiddling with jquery for a little bit now, but this one has me stumped. the goal is to de-link the links on a navigation system depending on what you've clicked on. but i need a restore function which i'm trying to do with append the functions work fine without the append, but then i can't restore the links i've taken off. and after i do the append the html looks fine, but it doesn't seem to be part of the DOM anymore. since it won't respond to the functions anymore.
[jQuery] add a link after page load?
Hi all, I am trying to add links to a div when another div is clicked. The links get added fine, but they do not work when clicked. However i am also saving the value to a cookie & display them on page refresh, at this stage they do work as expected. Any ideas on how I can get the links to work just after they are added to the div without a page refresh. Code used below. $('.closeleft').click(function() { var $this = $(this); var boxName = $this.parents(".leftBoxContainer").attr("id"); $(this).parents(".leftBoxContainer").hide();
[jQuery] Tablesorter - Disabled Header Options with Pager
This week I've been working on implementing Tablesorter. It's a great Jquery table sorting utility, but I spent quite a bit of time trying to figure out why I could only sort columns in descending order while using the pager plugin when I set the header option to disable some columns. I didn't see anything on here about it so, I thought I would post my fix / solution. Below, the incorrect way to do it. $(document).ready(function() { $("#SearchResultsTable").tablesorter({ // pass the headers argument
[jQuery] Jquery Autocomplete plugin question = Can I feed it an xml or js file for the completion items?
Has anyone used the Autocomplete plugin by feeding it an xml file not generated from a sql result? I am writing a Greasemonkey script to autofill an input box from a list of possible selections that I would like to store in an xml file or a js file inside the Greasemonkey script. Anyone have a tutorial, sample etc.? I guess it would be similar to the php script but I do not want to query a db. I just want to supply a flat file. Thanks & regards, Mike
[jQuery] appendTo does not return an object
Hello, I want to use the JavaScript chart component "flot" which uses jQuery. There is a line where Firefox (2.0.0.14) gets an error (IE 6 works fine). I tried to step through the jQuery source but I can not find the problem: canvas = $('<canvas width="200" height="100"></canvas>').appendTo(target).get(0); target is a jQuery object which stores a div-node. I debugged the script and target is correctly filled. But target is undefined after this call. Maybe somebody can help me. TIA Susanne
[jQuery] [jQuery][ANN] New jQuery group on LinkedIn
You can join the LinkedIn group by following this invite link: <a href="http://www.linkedin.com/e/gis/100943/4C28294034F5">http://www.linkedin.com/e/gis/100943/4C28294034F5</a> -- Brandon Aaron
[jQuery] JQuery Tablesorter can't sort number in Coldfusion
Hi I've got a table with a column with numeric values but it doesn't sort right. Its all made in coldfusion. I would like to sort the Column: "Gefahrene Kilometer". There are all Number in there. Here my example: <!--- Get Data ---> <cfquery name="qryGet" dataSource="#application.dsn#" username="#application.dsnusername#" password="#application.dsnpasswort#"> SELECT DISTINCT * FROM mod_reise_auto LEFT JOIN mod_reise_kategorien ON rau_kat_id = kat_id </cfquery> <!--- Sortierung ---> <link rel="stylesheet"
[jQuery] tooltip - highlighting when a formfield is reached by a tab
Hello, the default behavior of the tooltip to highlight mouseover a formfield is nice and desired. But the tooltip should appear too, when a formfield is accessed by a tab. Is there a way to check which way a field was accessed and change the behavior? Regards Boris
[jQuery] sort table by class
hi, i want create sort table in 3 tables byclass the code: $(".box table").tableSorter({ sortColumn: 'name', sortClassAsc: 'header-asc', sortClassDesc: 'header-desc', highlightClass: 'highlight', headerClass: 'header', }); but, return ERROR: $(".caixa table").tableSorter is not a function
[jQuery] .html() behaving differently in IE7
Hi, I'm trying to find out if this behaviour is correct, or if its something that i should submit as a bug. Using .html() works perfectly fine in all browsers, providing that the html your inserting is valid. eg. $("body").find('#id1').html("<div>test content</div>").show(); // alert($('#id1').html()) == '<div>test content</div>' However, if i want to insert html which is invalid (just withing the string), but still might keep the total DOM valid by performing another insert immediately, then in
[jQuery] multiple inits on multiple script includes
Hi folks! It would be great if jquery would catch multiple script includes and initialize only once. for example <html> <head> <script type="text/javascript" src="jquery-1.2.4.js"></script> <script type="text/javascript" src="jquery-1.2.4.js"></script> <script type="text/javascript" src="jquery-1.2.4.js"></script> </head> </html> will initialize jquery three times... - simple fix - if(!jQueryInitialized) { // stuff jQueryInitialized = true }
Problem with slider containing scrool bar in Firefox
Hello, I have this problem with slider which contains scrool bar. In Firefox when slider is clicked, it slides to the left, but leaving trace of a picture over the video. Here's the link for the page: http://gewiss2.digid.tv/ Click on any of the videos at the botom of the page, and you will see the "slider container" show up on the right side of the video. Now, when you click on the "INVIA" button, this problem appears (in Forefox only). I've put "oveflow:auto" in the div that contains the text in
[jQuery] Multiple Load Callback
Hi, I'm thinking there is something I'm just overlooking, but I hope someone can help... I have a set of load calls that are each made at document load: $("#div1").load( "scripts/generateA.php", {VAR: var} ); $("#div2").load( "scripts/generateB.php", {VAR: var} ); $("#div3").load( "scripts/generateC.php", {VAR: var} ); $("#div4").load( "scripts/generateD.php", {VAR: var} ); What I want to do is make a 5th load call, but only once the previous 4 are completed. Is there a way to wrap a block of calls
[jQuery] OT: Firefox 3 RC1 for Mac
Is there a way to install Firefox 3 RC1 without affecting FF2 on a Mac. The release notes have this message: Please note that installing Firefox 3 will overwrite your existing installation of Firefox on Mac OS X and Linux. I'm guessing that's if you simply install it into the Applications folder. If I install it in another folder within the Applications folder, will it be ok? If it's using this same directory for it's support files (~/Library/Application Support/Firefox) can it still affect FF2?
[jQuery] jQuery.Post behavior for JSON
I've been playing with JSON a while, and noticed something odd. when you make a $.getJSON call, you get a nice happy object returned. However, when calling $.post, the returned data is never evaluated. While it is a simple task to make this into a happy little object, it seems to me that the behavior of these two functions is confusing. It isn't explained in the docs that the returned data in a $.getJSON call is automatically evaluated while that of the $.post is not. Please note that even if you
[jQuery] Fake ajax load
I need to load a page into an iframe, but I would like to have jquery show a loading gif while the data is loading into the iframe. Is it possible, similar to loading ajax, that I can load the gif, only until the page is loaded, then hide it?
[jQuery] auto populate
I am looking for some code to "auto populate (Auto complete ) " the dropdown boxes using the jquery and struts , If you have any idea please let me know.
[jQuery] .getJSON (how to pass a value of string instead of a physical file)
Hi all, I have a newbie question. I'm getting a c# string in JSON format and I would like to pass it to jQuery $.getJSON("jsondata.js", dataReady); However, the getJSON's first parameter takes a physical file, is there anyway I can send string to the function instead of file? e.g. $.getJSON(<%=jsonString%>, dataReady); thx guys, George
[jQuery] jqDock can embed flash/video object?
Hi all, Beside img object, is it possible to embed a flash/video object? eg swf or youtube video ? Thanks/Davis.
[jQuery] jQuery Column Filters Plugin Help
I just found the really great Column Filters Plugin: http://plugins.jquery.com/project/ColumnFilters Right now, you can only use it with tables, and, the tern you are filter with, has to be the first thing within the <td>, so, if you wanted to use a <span> inside, or a link this won't work. I am interested in modifying it so that I can use it with lists, rather than tables, and also allot other markup to be with in the <li> tag. Has anyone used this plugin before? Here is an example from the code,
[jQuery] tooltip data?
Does anyone know if a plugin exists that can display a tooltip from information received via ajax or from the output of a javascript function? I see a few that use ajax but I'm unable to modify them to also display tooltip data from a javascript function. Many thanks for the help.
[jQuery] [form plugin] resetForm() behaviour in IE differs from FF and Opera regarding hidden fields
Hi, Using jQuery 1.2.3 and the form plugin 2.08 (I'm pretty sure 2.10 will behave the same way), I notice that under IE (6 and 7), resetForm() reset every field with their initial state including hidden fields. Under FF 2.0.0.14 and opera 9.27 & 9.5 the hidden fields aren't reset. Is it a bug or a feature ? Maybe it's a behaviour from the navigator which differ one from another, but I think the form plugin should abstract this to make it consistent. Any thought ?
[jQuery] [validate] submit although validation fails
Hi, I am still struggeling with the my problem with the form although the validation fails. I believe that this is because I have the action attribute defined in the form. Can this cause the form to be submitted although not validated?
[jQuery] Tooltip IE area map Patch
I see there's a patch to get IE to work with tooltip and an image map area, does anyone know how to implement it? When i ran into this problem I tried using cluetip instead but I had problems with it's ajax features, and also it didn't have the iePNGfix like tooltip does, anyone use tooltip in IE?
[jQuery] Easy way to filter and sort a list
I am looking for a way to easily filter, and short a list. I found the tableFilter plugin, but it is an overkill for what I need, and I don't want to use tables. I want to be able to filter a list of items, and also sort this list by ABC. I love the idea of the filtering being linked to an input box, so when you start typing something, it will filter the list, find what you are looking for, and remove the rest. Any suggestions on what I could use?
changing images by clicking on a link.
Hi. I have a problem and was wandering if jquery might be the answer. I want an image gallery where there are thumbnails of different mirrors. When you click on a thumbnail there are four images which need to change. One for the front of the mirror, side, back and close-up. Any ideas how to do this? What i would think of doing would be something like... <a href="" onclick="document.getElementById('mirror-pic-one').src='front.jpg'" onclick="document.getElementById('mirror-pic-two').src='side.jpg'"
[jQuery] JQuery issue with sessions
I have a PHP form in which a session variable is set when the form is loaded. I use the jquery form plugin to handle the submit button. It works great if I disable javascript and submit the form, but if it is enabled, the session (and all variables set within it) is cleared. I looked for jquery code that may be closing the connection after the submit, but did not find any and also searched the mailing list archives with no success. Any help would be greatly appreciated, Steve
[jQuery] Modal overlay for specific page section
Hello all, I'd like to know if a jQuery plugin exists that allows for creating a modal overlay for a specific element of a page (say a DIV). The overlay would completely cover the section and prevent click-throughs or any other interaction with the elements within the section. Note: I've seen the modal plugins that cover the entire screen, I need one that correctly positions and sizes itself for a given section (not the whole screen). - jake
[jQuery] Autocomplete - is bgiframe required?
I'm getting a javascript error in Firefox (list.bgiframe is not a function) with the autocomplete plugin if I don't include bgiframe, but the documentation seems to imply that bgiframe is optional. Is bgiframe required?
[jQuery] Atribute of picutre
Hi, I would like to know how to capture atributes of a picture using jquery? (Atributes of picture no of tag) Atributes like width and height.. Thanks
[jQuery] submit event confusion
Hello there, Got a question regarding the submit event. Got a script that adds text inside text fields when the page loads. There's probably a word for this, but I'm not aware of any, so let's call it "in-line form labels". You've probably seen it before - a name field which says "Enter your name..", with the text inside it disappearing on focus, and re-appearing on blur if you left the field blank. These default values needs to be cleared out when submitting the form, so that e.g. required fields
[jQuery] Atribute of picutre
Hi, I would like to know how to capture atributes of a picture using jquery? (Atributes of picture no of tag) Atributes like width and height.. Thanks
[jQuery] jCarousel - Has anyone implemented link anchors?
Hello I'd love to be able to link to specific pages in a slideshow using anchors? For example: http://www.example.com/slideshow.html#3 - show third page Also, it would be great if the browser address bar reflected the slide being displayed. Has anyone implemented this? I haven't found any in my searches which surprised me. cheers, Oliver
[jQuery] atributes of picture.
Hi, I would like to know how to capture atributes of a picture using jquery? (Atributes of picture and no of tag) Atributes like width and height Thanks...
[jQuery] Autocomplete - access to events
One of our developers was working with the jquery Autocomplete plugin and asked about a couple things that I don't know of: Is there a way to hook into the event that sets the value of the textbox? Basically what I need to do is override the method that sets the textbox value with one of our own that calls our copy/paste setValue method so the autocomplete plays nicely with copy/paste. Also, is there a way to detect the bottom of the screen and reposition the list above the textbox? Finally ;-) is
[jQuery] cluetip plugin and IE6
Has anyone else noticed that in IE6, select menus show up in front of the cluetip? Is there a fix for this?
[jQuery] Tablesorter plugin problems with zebra stripes
Hi The tablesorter 2.0 plugin is very nice and works great but I don´t really get how the zebra widget works. I do not get alternate colors on the table. I have a style for ".odd" and ".even" in CSS. I looked at the demos and it seems that the TRs are assigned "odd" and "even" but that does not happen for me. What am I missing? I try this: $("#tablesorter-demo").tablesorter({10: { sorter: false}, widgets: ['zebra']}); /asle
Next Page