[jQuery] Set #iframe height to "height of the window " - "height of the #wrapper"
As it says on the tin: How do I set height of the element called #iframe to "height of the window " - "height of the #wrapper div"? I'd love to write: #iframe.height = window.height - #wrapper.height But I suppose jQuery isn't going to read my mind yet :)
[jQuery] Selecting elements with css background images
Hi, I want to select the nodes which has a background image defined by css. But I think this could be only possible by cycling all the dom nodes and checking each of them. Is there any short way? And if the css is defined outside by a class property this should be selected too :( .class {background-image:url(bla.bla)} <div class="class"> should be selected and <div style="background-image:url("bla.bla")"> should be selected too.. is this possible? Or maybe we can cycle the class names defined and
[jQuery] jCarousel with text
Hi, I am trying to get some text underneeth each image. I thought it would work with the excample profided in de zip (php excample), but I cant seem to get it to work. This is the code the php file must gather: <ul> <div class="imgLM"> <? // lets see if there is an image for this listing if($iresult = $phprealty->getIntTableRows($fields="*", $from="prop_img", $where="p_id=".$res['id']." AND def=1", $sort="", $dir="", $limit="1", $push=true)){ ?> <li><a href="<? echo
[jQuery] Tabs 3 Css problem
I am having a issue with the Tabs 3 plugin. Every time on page load, the list (nav) flashes a unstyled (no css) version of the list (purple links, bullets), then flashes to the correct version with the styles from the ui.tabs.css. I am curious, what may be causing this, how can I fix this? I have a feeling this is something I have overlooked, but cannot figure this out for anything. Any help would be greatly appreciated.
Clickable images on Galleria library
Hi, I'm new to this site and I'm having troubles modifying the galleria library, I'd like very much to specify a clickable link on this way: <li><a href='http://www.google1.it'><img src="img/flowing-rock.jpg" alt="Flowing Rock" title="Flowing Rock Caption"></a></li> <li><a href='http://www.google2.it'><img src="img/stones.jpg" alt="Stones" title="Stones - from Apple images"></a></li> <li class="active"><a href='http://www.google3.it'><img src="img/grass-blades.jpg" alt="Grass Blades" title="Apple
slideup animate not rendering in IE, need help!
Hey everyone, My Java skills are virtually non-existent, but i have been able to make use of some code to create a slide up and down effect on my content (doing this as to not have multiple html pages, but also because it looks pretty slick). In both Safari and Firefox the website functions perfectly, however, Internet explorer does not even begin to create the effect, rendering the site useless. I am really unsure of what to do at this point, so i thought i would ask the community for some help.
How do I convert js to jquery
I'm newbie in jquery and need some help how to convert following jscript to jquery: <script type="text/javascript"> function SetDisplay(TargetObj, SrcObj){ obj=eval(TargetObj); if (SrcObj.checked){ obj.style.display=''; } else obj.style.display='none'; obj.value=0; } </script> tia
[jQuery] select list with image view
Hi, sorry if the subject is a bit vauge. I am looking for something like this feature in the Samsung site, at product finder. http://www.samsung.com/us/consumer/detail/detail.do?group=mobilephones&type=mobilephones&subtype=t_mobile&model_cd=SGH-S105ZSATMB# I looked at the js codes, and am not sure if it's open source; since that I am learning jQuery, I thought maybe there is already aplugin for a feature like this that is not listed in the jQuery official site. Many thanks! sutra
[jQuery] Whats faster to load?
Hi, Been doing all my loading using .load() Is it faster than XMLHTTPRequest? Or should I go the XML way? Regards
[jQuery] Does a control like this exist?
Hello all, I'm looking for a very odd control, but I'm betting something like this exists. The control is a simple + and - (or even < and >) that will increment or decrement a field, but my catch is allowing the increment is conditional. For example, you have field A, field B, and field C and you have 20 points to add to these fields. You can only have as many points in field B as you do in field A, and likewise, you can only have as many points in field C as in field B. So your first selection must
[jQuery] Transition Background color and hold until mouseout?
I've been searching for a solution to this issue but have failed repeatedly so I'm hoping someone can help. I want to transition the background color to fade in to a "hover" color on mouseover and I want the color to stay until mouseout where it fades back to the non-hover color. Every plugin or example I've found "pulses", -- where it will transition but then changes back -- or "cycles" back and forth repeatedly between colors -- but I can't find any way to just fade from the regular background
[jQuery] Selecting Checkboxes inside the table
I am having trouble to check the checkboxes contained inside the HTML table. Here is the table code: <table id="chkList" border="0"> <tr> <td><input id="chkList_0" type="checkbox" name="chkList$0" /><label for="chkList_0">Item 1</label></td> </tr><tr> <td><input id="chkList_1" type="checkbox" name="chkList$1" /><label for="chkList_1">Item 2</label></td> </tr><tr> <td><input id="chkList_2" type="checkbox" name="chkList$2" /><label for="chkList_2">Item 3</label></td>
[jQuery] [validate] - issues in IE
Hey, pretty new to jquery. I used the form validation plugin on a page and it works great in firefox (as expected). However IE completely ignores it. And just submits my form right away. Any ideas?
[jQuery] jQuery ui tabs crashes in IE 6 & 7
Hi I have a site I am working on http://lx0.taylor-ch.co.uk/index.php/eng/Products/Trade-Waste/Continental-Trade The tabs work on FF fine, but in IE 6 & 7 the last one (More Info) at best crashes the browser, and at worst the whole PC! Can some one help? I don't see why it would to this on one tab. Ash
[jQuery] jqGrid Metadata
Hi All, Is there a ready made solution for using jqGrid by querying column metadata from the server. I want to create a generic grid where the colModel and colNames are not fixed and are be created dynamically by querying the server. Thanks Sanjiv
[jQuery] HGH
HGH 来自我的 iPod
[jQuery] List <ul> slideDown/Up Menu
Hi, new to jQuery and very impressed. I already have a CSS menu that shows/hides a list menu. However, I'd like to add more "dynamics" and have the sub menus slide down and back up. So using the below code, I've got it to slide down and up, but repeatedly. It seems like it wants to keep sliding for each <li> and even multiple times per hover. Seems like it should be easy... Any ideas? $('#Main_Nav ul li').mouseover(function() { $(this).children('ul').slideDown('normal'); }).mouseout(function() {
[jQuery] autocomplete onSelectItem
Hi, I'm trying the autocomplete plugin from: http://www.pengoworks.com/workshop/jquery/autocomplete.htm I have a problem with the onSelectItem option that I suppose it will be triggered when I select a value, right? So i would like to do something when the value is selected, but It doesn't work with my code: <script type='text/javascript'> jQuery(document).ready(function($){ $("#searchbox").autocomplete("db.php", { minChars:2, maxItemsToShow:25, cacheLength:10, onSelectItem:function(){ alert('Hello');
[jQuery] Cycle plugin inside Tabbed Menu?
Hey guys, Hitting a big wall here. I have the Cycle plugin working and have it now added into a tabbed menu as the default value for the loading tab content, using this tabbed menu script: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ My problem is, on load the Cycle plugin works fine, but when I click tab 2, load some content via ajax and return to tab 1 by clicking it, my cycle content turns off and it just lists all the images out, no more fading-slideshow of the images. Anyone have
[jQuery] nyromodal and livequery
I tried to add a post previously but it didnt show up for some reason. Is it possible to use nyromodal with livequery. I was taking a look at nyromodal and it looks great, but need to use it after another ajax call. Does anyone know how I would do this? thanks Paul
[jQuery] Preventing text field focus() when user tabs to field...
I'm working on an input field where I need to disable the browser from automatically doing this.select() on an input text field. In a nutshell, I've got an input box I basically am treating like a masked input. The reason is I'm manually pre-selecting a text range. If I invoke my function to pre-select the correct text asynchronously (via setTimeout) it works correctly, but you get a very brief flash as the browser natively does a select() on the text already in the input field. I've tried using
[jQuery] pasteHTML using JQuery?
Hi All, Try the example javascript given in this link in IE and Firefox. http://www.java2s.com/Code/JavaScript/Node-Operation/pasteHTMLExample.htm html> <body> <script language="JavaScript"> function function1() { var myRange = document.selection.createRange(); var m = myRange.pasteHTML(' Hello World'); } </script> Highlight a part of this text, then click button below <input id="myB" type="button" value="Click me" onclick="function1();"> </body> </html> Its works only in IE and not in Firefox. Using
[jQuery] [OT] Insert a href link in textarea
Hi all. I have a textarea when users can insert a network(\\servername\folder\file.doc) path. After this users submit the form. Looking for I'll like to see what's happened with data form. Interesting but textarea form field created all link included in original value(*form field). My question: is it possible to insert links for network pathis? Cheers Marco Antonio
[jQuery] ajax tabs not working
i'm following the instructions here: http://docs.jquery.com/UI/Tabs i've included the following: <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ ui/ui.core.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/ ui/ui.tabs.js"></script> <link rel="stylesheet" href="http://dev.jquery.com/view/trunk/themes/ flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)"> <script> $(document).ready(function(){ $("#top > ul").tabs(); });
[jQuery] Tabs 3 Ajax issue
Hello dear JQ community, I'm having some problems regarding the Tabs 3 Plugin: My page has a div container called "maincontent" which contains all the data except the navigation, footer, etc. I use this container to store content served by my phpscript and to load other content dynamically via AJAX. Let's say I request a page like index.php?action=showusers (as a HTTP GET request, NOT AJAX) Then "maincontent" should contain all the info about the users. However, I also integrated a navigation based
[jQuery] ajax calls don't work in firefox 3 beta 4
I've got some code with post & ajaxForm calls in it that work fine in IE and FF 2, but not firefox 3. Using firebug I can see that the calls are apparently being made as they should, but for some reason never get to the server. Is this a jQuery issue or a firefox issue? i'm using the latest jquery minified release. thanks
[jQuery] Help Creating jQuery UI style plugins
Hey all, I've gone through some of the more obvious resources on creating jQuery Plugins (Mike Alsop's Plugin pattern, the documentation on docs.jquery.com, etc.) and I think I have a handle on things. There are a few things for which I can't seem to find a good explanation. First, I notice that much of the jQuery UI widgets make use of the dataCache (http://docs.jquery.com/Core/data#name) to keep references to things but I can't find anything that describes how or why you'd want to do such a thing.
[jQuery] jCarousel: question and feature reqs
hello, allow me to start with my feature requests: - I'd like to see multiple ajax carousels on one page. the problem I'm facing now is calling multiple txt/php files. any tips maybe? - is it possible to take on a more graceful content loading? now things are loaded dynamically in between ul tags. that just seems strange to me because it is se hard to customise. I would prefer something like this: <div id="carousel"> <div class="previous-button"></div> <ul> <li></li> </ul> <div class="next-button"></div>
[jQuery] [treeview] Href/click-parameters on asynchronous treeview
Hi there, I'm working on an application to a client that uses Asynchronous treeview. However, at the moment, if I want to create a link with onclick functionality, I need to pass html inside the JSON sent to the treeview js. I'm thinking of making modifications to the treeview plugin so that it accepts two more options: href and click. The "href" is used as the href attribute of the link and the function specified in "click" is assigned via the JQuery binding mechanism. If there already is a mechanism,
[jQuery] Getting Parent Element using "this"
I have a page where I need to get a parent forms action after firing the onchange event on a select, like so: <form action="something"> <select name="some_name" onchange="changeAction(this);"> <!-- some options --> </select> </form> I can't figure out how to use "this" + a selector with jQuery, I've tried function changeAction(elm){ var formAction = elm.$(":parent form").attr("action"); } I really have no clue how to do effectively use "this" + a selector.
[jQuery] jquery.slideviewerpro
Hello friends, i've made another image gallery engine with jQuery. It is a new version of slideViewer, and can be tested here: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/index.html I think i'll call it slideViewerPro. Features: - generates a sliding gallery for images on top of a SINGLE unordered list with a given ID - generates a sliding thumbnails menu with customizable: scale, effect, number of elements, custom left/right buttons - customizable skin for buttons and typographic
[jQuery] remove() works differently in 1.5b4, at least for UI Dialogs
I stumbled upon a tricky situation. In my app, I use UI Dialogs based on my <form>'s. When a dialog is created, it takes the <form> out of the HTML context where it was originally located, moves before the closing </body> tag and wraps it with all these dialog divs, buttons etc. But when my AJAX calls replace body content with a new HTML, the problem occurs that now I have TWO identical forms in the DOM: one that was just returned with AJAX call, and another one that remains in this "ghost" dialog
[jQuery] "$(document).ready(function() {" giving error "$ is not a function" - what am I doing wrong?
Test page here - http://www.justice.net.nz/static.html Jquery is definitely being loaded - I'm currently pulling it from jquery.com, and Firebug is showing that it has loaded. Any ideas? This is my first attempt at jquery and I'm falling at the first hurdle :<
[jQuery] Label Change Event
Hi, I'm using JQuery in Asp.NET 2.0, and I want to catch one event when a label change, what event should I catch? Best Regards, Pedro Camacho
[jQuery] [jQuery][ANN] jQuery.batch 1.0
jQuery.batch is a small extension (951 bytes min'd, 520 bytes gzipped) to jQuery that allows you to batch the results of any jQuery method, plugin into an array. By default the batch plugin aliases the getter methods in jQuery by adding an 's' to the end (attrs, offsets, vals ...). You can also just call $(...).batch('methodName', arg1, arg*n). Download: <a href="http://plugins.jquery.com/project/batch">http://plugins.jquery.com/project/batch</a> Blog post: <a href="http://blog.brandonaaron.net/2008/05/08/jquery-batch/">http://blog.brandonaaron.net/2008/05/08/jquery-batch/</a>
[jQuery] Custom images for radio and checkboxes?
I remember seeing a newer plugin for this recently and cannot find it now for the like of me. Can someone help jog my memory?
[jQuery] jeditable and validation
Hello all. Im using jeditable and the validation plugin. Ive read a previous thread at: http://www.mail-archive.com/jquery-en@googlegroups.com/msg22070.html However, there were no examples here which lead to a lot of confusion. I will just reiterate the question asked on the thread mentioned above. 1) When using jeditable plugin, how to add validate to the activated input field or textarea field for preventing some malicious people empty the data. Ive tried frantically to get this working together.
I need a Carousel with hover effects
Hi folks, i am looking for a cool carousel effect made with jquery. you can see it in action at smoothgallery. just click the "pictures" label within the picture to expand the carousel navigation. There a lot of *clickcarousels* in the plugin wiki of the official jquery page. but i want a script which nearly works like the one made with mootools: with hover events instead of click events. Any suggestions? thanks a lot
[jQuery] Using JQ Jcarousel with JQdock effect
Im trying to integrate some features of this dock effect: http://icon.cat/software/iconDock/0.8b/dock.html (*great work Isaac!) specifically the enlarge (shrink of neighboring elements) and image src replace, with a standard carousel, but cant seem to execute both - I would like to have the carousel work as it is now, but on rollover of one of the 3 images that image would zoom, replace with the larger src, while the other 2 would reduce in size. Im thinking this is a matter of having the right containing
[jQuery] Howto assign $(this) to variable
Hi, I'm pretty new to jQuery, and I have stumbled across a weird problem. It may just be me fooling around, anyway here goes... var foo = false; $('div span').each(function() { foo = $(this); // debugging in firebug console.log($(this), foo); console.log($(this) == foo); }); You should, at least I am, think it's the same element, although it returns false! I cannot figure out why.
Next Page