[jQuery] Animate background position problem
I am trying to create a background fade using a transparent png and altering its position using jQuerys animate function. I've seen this code around a few times but I can't get it to work. The background moves to position but is not animated. I have moved the code into the header so it can be seen inline here: http://advertisetostudents.co.uk/ I have been messing around with it using the the full un-compressed version of jquery in a simple HTML file on my computer in case there were conflicts or
[jQuery] Superfish menu and Z index
Don't know if anyone can help here. I have issues with the Z index and iExplorer. The menu appears under the page text and therefore it is not possible to access the sub menu options. Tha website is: www.ultimate3rivieres.org Thanks for the help
parsererror for auto-complete search script
i am writing an auto-complete function for a search box on my website and am facing a parsererror when i make an ajax request. i have a feeling it has to do with parsing the json. i am using the json_encode method in php, so i dont think there should be any trouble - regardless, would appreciate if you could help me debug -- code: /* php script that is called to make a json array of possible search terms */ <?php if (strlen($_REQUEST['search-text']) < 1) { print '[{}]'; exit; } $terms
[jQuery] Widgets stops working after i cache dom and render again.
hi, in our application we have created tabs that caches the old tab content and then goes to new tab. when user comes back to old tab we put that html again. by *caching* i mean that we take full dome using jquery clone function in a javascript variable and by *putting it back* i mean we do jquery replaceWith to the div. Following is link to the example i have created to show http://www.reach1to1.com/sandbox/jquery/cache_problem/index.html after you visit this page check that datepicker is working
[jQuery] Tutorial for serialScroll?
Hi All, I did a nifty implementation using jquery serialScroll to scroll images inside an iphone image (to display screenshots: site isn't publicly available yet). I had to reverse-engineer my way through the demos and other people's implementations to figure out how to make it work. Main problems stemmed from getting the html and css right. Anyway, I'm wondering if anyone knows of some good tutorials for serialScroll? If not, I rekkin I might write one up. Thx, Jack
[jQuery] $(document).ready(function() is causing scripts to run twice!
I encase all of my functions inside of a jQuery(document).ready (function() {} block, but I noticed recently that my scripts are running multiple times. After a lot of debugging, I realized that they only ran once after I deleted that segment of code. The first time it ran however, it wouldn't stop at any debugging breakpoints. Should I just avoid that function altogether?
[jQuery] How to select nested tabs
I have created nested tabs using Tabs 3. Trying to select the second nested tab by default. Doing this does not work... $(document).ready(function() { $('#container ul').tabs(1); $('#container-2 ul').tabs(2); }) The second container is ignored and the first nested tab is selected.
[jQuery] I can't open google group in browse
Hi guys, I can't open google group in browse . Can you open it ? thank you Alex
Select A single divide and change it
Hey, I am having trouble trying to work with this jquery code. It currently looks like this: $(".div2").hide(); $(".div1").hide(); $('a.changeDiv2').click(function(){ $(".div2").hide("slow"); var id = this.id.replace('div2id_', ""); $("#"+id).show("slow"); }); $('a.changeDiv1').click(function(){ $(".div1").hide("slow"); var id = this.id.replace('div1id_', ""); $("#"+id).show("slow"); }); //HTML <div id="1" class="div1"> A
[jQuery] need your help please
can someone give me exmaple of the minValue in Jquery Validaiton query thanks
[jQuery] Various sized modal divs with simpleModal
I'm using Eric Martin's SimpleModal plugin (http://www.ericmmartin.com/ projects/simplemodal/) and I have a question regarding modal divs that are not the same size. One of the modal dialogues is really short another one quite long. Hence I would like to use the CSS properties max-width and max-height instead of height and width. This however results in the divs not centred on the page. Is it at all possible to use variable sized divs and still use the same CSS class?
[jQuery] ajaxQueue
Hi Trying to understand the ajax queue plugin. This version: http://view.jquery.com/trunk/plugins/ajaxQueue/jquery.ajaxQueue.js I am calling ajax methods on a timer, can I rely on ajax queue to run these? It seems like ajax queue needs a reference to the last completed ajax request? Can someone please show upated usage. Thanks Kierenh
[jQuery] Help me solve this IE6 design issue
The problem in brief :- In simple words, I am not able to display a div over the input fields and labels on another div (). Details:- On clicking on a link I am displaying a popup like msg in a div. This popup should be above all other elements. But the same is not happening in IE6. Please give me some idea/reference to some site/any working fix...anything. I am using jquery plugin in my project. Please help... * 35 minutes ago * - 4 days left to answer. Additional Details I got some Prototype code
Fadein fadeout works ok, but not always! [SOLVED]
On page http://sarota.net/?p=1048 I did post with three images with same id, after that used code to fade it, but it works only for first picture. For me is very strange because at the bottom are small random pictures with different ids, and it works perfect! $("#panoz").fadeTo("normal", 0.8); $("#panoz").hover(function(){ $(this).fadeTo("normal", 1.0); },function(){ $(this).fadeTo("normal", 0.8);
[jQuery] sortable helper
I am using jquery sortable in the latest version (1.7.1) , and found out helper and placeholder option is not quite working as I was expecting. If I do something like below, when I move around each div's, original divs are the actually the one moving, not the clone. Any idea ? $(#col).sortable( { helper:'clone', opacity:'0.1' } ) <div id="col"> <div class="t" /> <div class="t" /> <div class="t" /> </div>
[jQuery] trouble with post function
Hello. I've had this trouble all night and I can fix it.... I am using the code below and if I take away the arguments I want to pass, then it works fine and I get a result back from the script. However, when I try to pass the form values and the slider values (from the UI slider) to the script the callback function never executes. Anyone know why? $("#slider").slider({ value:6, min: 1, max: 6, step: 1, change: function(event,
[jQuery] Validation: How to get group key that the current invalidate element belong to?
If this feature exists now, tell me please. If not, just a feature request! What's my plan ? <div id="err_group_id1">invalid error place holder</div> <ul><li><input type="checkbox" name="g1[]" id="" value="" /></li> <li><input type="checkbox" name="g1[]" id="" value="" /></li> <li><input type="checkbox" name="g1[]" id="" value="" /></li> <li><input type="checkbox" name="g1[]" id="" value="" /></li> </ul> <ul><li><input type="checkbox" name="g2[]" id="" value="" /></li> <li><input type="checkbox"
Variable scope?
This may be a simple one.... $(".single").hover( function () { var oldtext = $("#star").text(); $("#star").text("help"); }, function () { $("#star).text(oldtext); } ); Obviously, oldtext is not seen in the hover out action... how do make it visible? Also, being .single a <li> (part of one of many <ul>), is there a way to get the index number of the ul containing it? The <li> all have the same class (.single) Thanks!
Widgets stops working after i cache dom and render again.
hi, in our application we have created tabs that caches the old tab content and then goes to new tab. when user comes back to old tab we put that html again. by *caching* i mean that we take full dome using jquery clone function in a javascript variable and by *putting it back* i mean we do jquery replaceWith to the div. Following is link to the example i have created to show http://www.reach1to1.com/sandbox/jquery ... index.html after you visit this page check that datepicker is working fine. then
Restyle the output of a hosted blog system
Hi There, We're very new to jQuary and this is our first go at using it on a site. We have a client who is using Squarespace (a hosted blogging platform) that wants to re-style the main page that displays the list of posts. We would like to be able to do two things: - Restyle the layout of the posts on the main page only - Apply the link from the H2 title to any images in the post text The reason why we thought of using jQuery was because the same class name that styles the posts on the listing page,
[jQuery] IE7 (grrr) xml.each not working, help please?
Hi, I am fairly new to jQuery, but found it has cut my dev time tremendously, and things just work great in my prototypes, developing on Windows Vista, using DW CS4, with my default browser set to Firefox 3.0.7. However, on completion of a prototype, I was ready to show a client, and thought I better run it through Internet Explorer in case I was asked to demo it on both browsers. That was when the headaches started! I managed to work out most of it without too much problem, but the following issue
[jQuery] jQuery+Cycle+ How manage the padding, width, height, etc
Hi, im trying to usin Cycle plugin, and i change the width and dont work, in the same way a need to know how manger padding and everything about customizer Cycle... the problem is that i need a plugin with preload of images... thanks
[jQuery] access denied error in IE
I know this message is not supposed to be here since it's not a jquery issue, but I really need some in depth help on this. I have an iframe in a domain here http://www.brighthouse.com/products/home_phone/IND/battery.aspx. The iframe basically contains the shopping section of the site. The iframe path is https://batteryreplacement.brighthouse.com/shop/index.aspx. As you can see, the iframe is a subdomain of the main domain. But I keep getting an "Acess is denied" for jquery.min.js which is referenced
[jQuery] [validate] Need example of dynamic validation
Hi all, I need an example for this situation: I have a form that dynamically shows different parts of the form based on radio button choices. Example: Registrion type: Business or Individual radio buttons If they click on Business, I have a portion of the page only show business information fields. If they click on Individual, I have another portion of the page only show individual information fields. How can I validate, say, "business_state" or "individual_state" based on the radio button choice?
[jQuery] JCarousel - set offset via class rather than number?
Can JCaroursel be set up so the list is offset via a class name? (Example: six list items in the carousel, but the list item with class="active" is shown as the first visible item in the list) Thanks
Jquery ui slider with mootools enabled
http://dev.jqueryui.com/ticket/4168 anyone know how to fix that problem. I dont want to use mootools but i have to keep it there. Thanks.
Basic img gallery question: extending this simple example
I want to create an extremely simple image gallery. Please look at this great example, where an image is loaded in onLoad: http://jqueryfordesigners.com/demo/image-load-demo.php I'd like to extend this example to work with an unordered list of links, each linking to an image. On clicking list-items, the relevant image would be loaded into the container. For example, a list like this: <ul> <li><a href="dog.jpg">Dog</a></li> <li><a href="cat.jpg">Cat</a></li> <li><a href="mouse.jpg">Mouse</a></li>
[jQuery] Can I change the URL address of my
I searched google and jQuery site, but found nothing helpful. My requirements are: 1. When I do something in the page, the URL address of browser can be changed accordingly. 2. So, the user can copy & paste the URL for later usage. 3. No HTTP request send out because I don't want to reload the entire page. Any help? Many thanks. valpa
[jQuery] set, not just get offset
Currently you can't set the offset of jquery by passing in an object with left and top values. Some people set left and top with $(el).css ({left:px, top:px}, but that will not work if el is inside an element with position relative, because the left and top will be relative to that parent instead of the window. I created a plugin that keeps the getting of the offset intact, but also adds the ability to set the offset relative to the window - regardless of the positioning of parents. I think this
[jQuery] jQuery and Prototype conflict
I am trying to use both jQuery and Prototype at the same time. I've spent hours and hours searching solutions to fix this problem. The most common method I found is this http://docs.jquery.com/Using_jQuery_with_Other_Libraries. However, it didn't work no matter how I place the "jQuery.noConflict ()" code. Can anyone help me with this? Thanks in advance /* Here is my code */ <script type="text/javascript" src="/js/swfobject.js"></script> <script type="text/javascript" src="/js/layerswitch.js"></script>
load function, how to wrap injected element?
I use load function to inject <ul> created in php file into div. Here is the code: $('#refreshList').click(loadRdfsList); function loadRdfsList() { $('#RdfsNames').load("sqlLoad.php #RdfsList"); } Here is the part of sqlLoad.php file where RdfsList is created: foreach ($schematy as $row) { $list=$list."<li>". $row['rdfs_name']."</li>"; } $dbh = null; echo "<ul id='RdfsList'>". $list."</ul>"; This works, I mean I can see list injected to RdfsNames div in my browser,
[jQuery] Move image on specified layer
Hello. I wrote http://grom.jabbim.pl/furries/test3.html ... My mascot can move to left and right but I dont know how to write algorithm to move him to stand on the ground and move him up and down. Can someone check my code and maybe wind a way ti make it? I know how to move him up and down but his always leave a ground image :/ Help me, please.
[jQuery] Problem with jquery validate and remote function (@joern testcase for my problem)
hi, i have build a small test case to reproduce this problem. the remote test seem to work the first time, but the second time i cant submit the form any more. see http://s219724521.online.de/test/validate/index.html for demo and description. maybe only my code ist broken and it is not a validate problem, but i dont get is solved and help would be appreciated. thanks stefan
[jQuery] checkbox problem
hi all, I have a problem, when the checkbox is clicked there is no reaction. here is the code: index.html <html> <head> <title>test</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="darkTodo.js"></script> <style type="text/css"> #messagewindow { height: 250px; border: 1px solid; padding: 5px; overflow: auto; } #wrapper { margin: auto; width:
Help with timing of drop-down form
Hello jQuerians, I am working on this little ditty: http://www.bopjodesign.com/lc/ Click the form, it drops down. Click again, and it goes back up. And that's where the problem is. When it goes up, the button toggles first, then the form animates up. It looks very jerky. I want the button to toggle and the form to go up simultaneously. And tips?
Problem with removing <li> elements
Hello! I am currently having a issue with the following code, which allows to add <li> items to an sortable <ul> - that works fine so far. Within the <li> items I have a link, which should delete that <li> element. That also works for the <li> items, which I have defined in the html body, but not for <li> elements, which are dynamically added. Any hints on that? <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.7.custom.min.js"></script>
[jQuery] jQuery/Cycle: Binding Secondary Nav
Hi, I'm working on a banner display, using Cycle. The banner will use the out-of-the-box Cycle numbered nav, but the client also wants text links in the banner to page from slide to slide as well. How can I bind the pager functions to additional anchors?
[jQuery] Best way to iterate over a string (each character)
Hello, I am trying to do a simple thing in JQuery, and found some different ways to make it work. Altough all of them behave identically and correct in Firefox & Safari, few works in IE. Which of them you consider the "correct way", OR Was ths supposed to work OK on IE too? Thank you PS: in the case you were wondering, I was not using "console.log" on IE $(function() { texto = 'persona non grata'; $.each(texto, function() { console.log($(this)[0]); }); }) $(function() { texto
[jQuery] Plugin or examples to filter display of table data?
I searched this group and Googled for examples but haven't what I was looking for. Consider this use case: A database-driven backend presents a page with a table containing many rows (100's or more). Instead of having the user enter new search criteria and send another request to the backend, I'd like to provide client side filtering to narrow the displayed results, with the option to restore the original results. There is (was?) a TableFilter plugin, but it offers different functionality. Are there
Disabling checkboxes & Internet Explorer
First post, so Hi all! I got the following issue: I have 2 checkboxes, if 1 checkbox is checked the other should be disabled. The checkboxes have the IDs "#entry_sticky" and "#entry_page". I tried this: $(document).ready(function() { $("#entry_sticky").change(function() { if ($("#entry_sticky").is(':checked')) { $("#entry_page").attr('disabled', 'disabled').siblings("label").attr('class', 'no_float disabled'); } else { $("#entry_page").removeAttr('disabled').siblings("label").attr('class',
Next Page