Internet Explorer Error in Jquery code
I have some mouseover commands that are working just fine in Firefox and Chrome. They are not however working in Safari or IE8. IE give me a error on page which it locates in the actual Jquery library. They are as follows: Message: Invalid argument. Line: 5899 Char: 5 Code: 0 URI: http://www.doubleedgeds.com/lib/jquery/jquery-1.4.2.js Does anybody have any ideas? Here is a link to my page: http://www.doubleedgeds.com Thanks in advance.
Need help scrolling through list of thumbnails
Looking for help in animating a list of thumbnail images left and right, and allowing for jquery to know when I'm at the end of the list, or at the beginning so that it stops. Hello I am fairly new to jQuery. I can handle the basics enough to get some things done. I'm currently working on a fairly complicated (for me) photo gallery that pulls images in from a flickr feed and displays the images and thumbnails of the gallery. Seen here (only works in firefox atm): http://ckdigitalphx.com/uploads/new/100515_website/_deliverables/site/photo-gallery/campus-life.html
How to open the menu automatically?
Hi :) I'm using http://docs.jquery.com/UI/Accordion After opening the menu, I can click links to other pages. These new pages, I want a BACK button to return to the menu page with the same open. How? Look1: http://www.delfa.333interativa.com.br/produtos/ Look2: http://www.delfa.333interativa.com.br/produtos/lancamento-conceito-fit/d3800/ Look2 goback Look1, and menu open in Look1. Ty
animate - jerky with explorer...
I have noticed that jquery animate is very jerqy when animating divs that are larger than 100px height.. Any ideas how to resolve the jerky animation for explorer only... regards J.
Select all descendants of a container
Hello guys, I'm looking for an API available to select all descendants of a container, I didn't find anything yet, any ideas ? Thanks Best regards
How can I set a pause between 2 functions?
I have defined the following function: function animacion_frase($elemento) { $tiempo_1=1000; $tiempo_2=1000; $tiempo_pausa=1000; $($elemento+" .parte-primera").animate({left:"+=20px", opacity:1}, $tiempo_1).animate({left:"+=0px"}, $tiempo_pausa).animate({opacity:.0}, $tiempo_2).animate({left:"-=20px"}, 0); $($elemento+" .parte-segunda").animate({left:"-=20px", opacity:1}, $tiempo_1).animate({left:"+=0px"}, $tiempo_pausa).animate({opacity:.0}, $tiempo_2).animate({left:"+=20px"},
help with jquery slider code
Hello, I have purchased a Wordpress template with nice slider in it. Slier works only on click but I am looking for finding a way to alter a code so the slider can slide automatically and on click. Here is a link to the page http://bolderimage.com/chicago-web-design and code. Please advice. jQuery.noConflict(); function bi_noscript(){ jQuery(".bihide").css({visibility:"visible"}); if(jQuery(".next").length > 1){ jQuery(".next").css({visibility:"visible"}); } }
Automatic Slider Help...
I have a http://epic4life.com that I am trying to edit. The theme has a built in slider using jquery, but I'm not good enough to know how to edit it. What I'm trying to do is make the slider move automatically every 5 seconds, but pause if it's moused over and then restart after the mouseout. The author of the theme says that he can't help me. Please help! I have tried several things but only end up messing it up... jQuery.noConflict(); function kriesi_mainmenu(){ if(!jQuery.browser.msie){// IE
Prevent multiple AJAX calls from button/link push
Hello all, I am working on a project that relies heavily on AJAX calls, they are done in dozens of places. There are a number of places where I would want to prevent the user from submitting information multiple times (form submissions etc ). I am trying to think of the best way to accomplish this. I could simply disable the element that starts the AJAX call upon the first click and re-enable it upon completion of the call. I have also seen examples of developers using a class to handle ajax calls
adding events to elements after ajax call
Hello everyone I have an issue which i thought i'd solved. But it turn out the way i'm doing it is creating a huge memory leak. I have a page which on document.ready i attach my events and my superfish menus.... every minute the page does some ajax calls and replaces the contents of some divs with new shiny content.... within these divs are elements i want some events on, including some menus... so i put the code to add the events and menus i wanted in a function and called this in the document.ready
Last image in SlideViewer is blank
Hi, I have a Drupal site with Jquery slide viewer and something weird happens to the last slide in the gallery: when I click on the button to show it, surprisinly the image is blank. The image exists and it has the same dimensions of the other four images. The problem regards only the last image in the slideshow. Anybody has a clue? Thanks in advance, regards. Please have a look at http://www.progettazionehotel.it
Using jQuery inside functions.
Hi, I'm making a system in JavaScript and I try to put evertyhing inside objects as much as possible to keep it simple. The problem I have is that I can't really figure out how to reffer to a child when I'm using jQuery. Example: object = { var : 1, fun : function() { var result = 0; $.getJSON( 'page.json', function(data) { result = data.item; }); this.var = result; } } Any help is appreciated.
Toggle the tbody of a table
Hello, i habe a table in html like this <table> <tbody style="display:none;"> ... </tbody> <tfoot> <tr><td>Show informaiton</td></tr> </tfoot> </table>If i click on tfoot i want to fade in the tbody. This is my jQuery Code that isn't work. jQuery("tfoot").click(function () { jQuery(this).prevUntil("tbody").slideToggle("slow"); });
Is there a quicker way doing this???
Ok on my page I have 4 boxes (div elements), inside each box is a title (h3 element) when you mouseover the box the H3 goes a different color (pretty simple eh). It iterates through each box, maybe there is a quicker way, using (this) maybe? The code I have doing it is: $(document).ready(function() { // TOP LEFT $(".box-tl").mouseover(function() { $(".box-tl > h3").css("color", "#7FD6F7"); }); $(".box-tl").mouseleave(function() { $(".box-tl > h3").css("color", "#ffffff");
How to get selectable Value.
Hello, Sorry I'm pretty new to jquery, and even though I looked everywhere, I can't seem to find the way to get the selected values of my selectable object. I'm using jQuery UI Selectable, my jquerys are latest version. I was trying something like this, that I found... $("#selectable").selectable({ stop: function(event, ui){ domselected = $('#selectable .ui-selected'); id = (domselected.length ? domselected[0].id : ''); } }); This is the selectable:
fade effect for background image sprite
Hello, I need to do fade in and fade out effect for html element , I styled the element to use background image and changing the position will display the active image CSS: #header h1{ display:block; float: left; height: 123px; width: 310px; background:url(../images/logo.jpg) no-repeat 0 0; text-indent: -10000px; } #header h1 a{ display:block; width:100%; height:100%; } #header h1 a:hover { background:url(../images/logo.jpg) no-repeat 0 -123px; } JS: $(document).ready(function()
slideDown
I'm looking to replicate a similar design as the search box located on this website: http://www.doctordirectory.com/findadoctor/ I'm not very skilled in jquery at all, but I was curious if this is possible to do in jquery. If so, would slideDown be the best way to execute this?
Need Help Adding A Cookie
Im using jquery with the cookie plugin and I have multiple image buttons that can hide/show multiple elements. My question is how can I add a cookie to this code to remember whether each seperate element is opened or closed? The code, $(document).ready(function() { // choose text for the show/hide link - can contain HTML (e.g. an image) var showText='<div class="expanddown"></div>'; var hideText='<div class="expandup"></div>'; // initialise the visibility check var is_visible = false;
Jquery ajax question
I am working on a site the uses a number of ajax requests. One of these ajax requests is saving the selection a user makes from a slider. It is a jquery ui slider, but as the question isn't specific to the slider I didn't put it in that forum Now realistically the user would probably stop and move the slider around a number of times before deciding what they want. This would cause the the ajax event to fire multiple times in a short amount of time. I have a number of other ajax requests on the site
Trouble including jquery in .js files... any suggestions?
Hi all, I am pretty new to the jQuery scene, and I have run into something I wanted to ask you all about. I have some jQuery on a page that I would like to put into a .js file and include in, rather than having it in the head of the document. This is a fairly simple task I imagine, but I can't seem to get it to work the way that I would think it would. Here is what I have... <head> <title>site title</title> <link rel="stylesheet" type="text/css" href="css/site.css"
using each() from a tr, get the 1st child's alt text
Hey guys, first post here! Javascript/PHP developer working my way through jQuery, now wondering how I lived without it. I'm trying to get append() another column to each <tr> in a table. So I need somethings to do this append, which is very easy. The code I'm struggling with is this: $(".my_tr").each(function(index,value){ // get the group ID and index var grpId = $(".my_first_td").get(index).attr('id'); It says attr() is not a function. I'm using $.dump()
jQuery selector problem
Hi, I have a problem selecting an image element by its id. I have a number of image elements inside a div. I can easily select all the image elements in the div using the id of the div and the img element tag name: jQuery("#divID img"); this returns all the img elements in the div. The img elements have their own id. The id's follow a certain convention. The problem I have is selecting an individual img element. Example: jQuery("#1/1-3"); this does not select the element. Is there a reason why? am
Unrecognised problem ;-)
Hi, I have noob problem ( yes I`m noob, but learning jQuery with pleasure ;p ) I want to sum some inputs and put the result into <span class="total"> Now i have: // Function function button_click() { var price_total = 0; $('input.cena').each(function() { price_total = price_total + parseFloat(this.value); }); $('#total').html(price_total); } // html code <p id="row0"><input style="width: 25px;" name="ilosc[0]" type="text"> <input style="width: 550px;" name="produkt[0]"
i think i found a bug in firefox
hi im trying to hide a div with a select option with all browsers works fine except firefox, that browser hide all the div except the select option the div im trying to hide its the details of the products of my catalog i wat to know how to fix that please help the URL is http://accazteca.byethost8.com/catcat.php?q=034- Sorry with the writing mistakes my english its to bad :S
Submit form using text link rather than submit button
Hi all, I'm using mailchimps signup box (they don't have a decent forum to ask on) on my website and want to adjust the submit button and change it to a normal link. Here's the button that submit's the form: <input value="Get Updates!" type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn"> I want to do two things, firstly put this code onto a normal link (i.e <a></a>) and submit the form data that had been entered. Secondly, once it's submitted the data I want it to redirect to another
$(document).ready in IE executes after loading all images
Hi, i've got a problem with $(document).ready in IE. The page hangs until it has loaded all images, this takes up to about 10 seconds. All other browsers are showing the page in normal way. This seems to be related to css, what can be seen in the developer tools of IE8 (see attached image). Here is the site: zauntrends.de I've found several posts with similiar problems, but no solution. Any help would be appreciated. TIA Stephan
Image caption with opacity fade.
Ive used this tutorial: http://web.enavu.com/tutorials/making-image-overlay-caption-using-css/ And added this jquery code to make the fading: $("div.wrapper").mouseover(function() { $('div.wrapper').fadeTo("slow",1); }).mouseout(function(){ $('div.wrapper').fadeTo("slow",0.5); }); But when I hover over the Wrapper DIV the Description DIV also fades. I want the Description DIV to remain at 100 opacity even when I hover over the wrapper. Is that possible?
Making click action show a div and start a .swf
Hi I have a site which is intended to be set up as follows; There is a .swf in a DIV, which is set to display:none on pageload. There is a holding image that overlays that div which is visible on page load. A click action on the holding image sets that image to display:none and the .swf DIV to display:inherit. The video starts playing. Right now I have all of this in place *except* the .swf playing on the first click (it requires a second click, once the .swf is visible). Not done jQuery manipulation
How to get value from a cell of a table with Jquery?
Hello, what I need to know is how to get the value from the cells of a html table, for example I have the following table 1 12 12 20 Now I need to retrieve the value of the position(1,2)=12 Better, what I need is to retrieve all the values with cycles, something like for (var i=0;i<($('#tabl tr').length;i++) { for (var j=0;j<($('#tabl td').length);j++) { var texto = [[row[i].sectionRowIndex, cell[j].cellIndex, $(this).find("option:selected").text()]];//this doesn't work alert(texto);
Safari issue displaying/hiding content
I have enabled a hover() event on a DIV that includes an H2 element that is always displayed and a child DIV that needs to be shown/hidden. This code works wonderfully on Firefox and IE. However, it's not working in Safari (I have not tested Opera or Chrome yet) Here's my (very simple) code: jQuery("div.category-text").css("display","none"); jQuery("div.category-item").hover( function() { /* jQuery(this).find("div.category-text").stop(true, true).show("slow"); */ jQuery(this).find("div.category-text").css("display",
Highlight current link?
Currently on this site http://www.jacksonwynne.com/round2/ The links have all attributes set throught css. Now I wanted it so that when the current link is clicked it will stay highlighted until another link is clicked. I achieved this by putting in the jquery $('a.loadset').each(function(){ $(this).removeClass('selected'); $(this).addClass('unselected'); }); Selected class is the hover class too and unselected is the visited link too like this example. #overlay li a:visited,
using jquery like firebug
Hello guys, I want to create a tool to select all Tags by a mouseover under a element like firebug. I tested this: $('#content >').hover(function(){ $(this).css('border', '5 5 5 5 3px') but it doesn't work. Can me someone help? webdesigner95
$.ajax and error handling
Hi, I've a question about ajax and the error handling. What I'm trying to do is to force to go in the error callback but it doesn't work because I'm supposed get an JSON array back. My code (simplified): $.ajax({ url: 'list.php', async: true, success: function(data, status, xhr) { // Some code }, error: function(xhr, msg, exception) { // Some code
Bind HTML attribute to high-lighted text
Hello everyone! I'm working on an interactive website where the user can change the font attributes of the text within the page they're reading. Is there a way to bind, for example, bold tags around a snippet of text the user has high-lighted? What I mean (if that wasn't clear) is if the user is reading through the text on the page and drags their mouse over a piece of text then clicks a button and it turns bold, much like a rich text editor would work, is this possible to do?
Find items in a Td
Hello there, I have dynamic html table , Now I want to find the items in the first column. The column name(td) is chk. How can do this using Jquery ?
Are you able to solve this?
There's anyone can explain me the question below? I am not so advanced with jquery at moment. Thanks for any comment. Which value var a should have to produce a true alert and where a variable should be: var a = ?; (function(a){ if(a) function b(){alert(true)} else function b(){alert(false)} return b })(a?)(a?);
Jquery screwing up IE8
Hey guys. Thanks for your help. When I'm running Internet Explorer 8, odd things happen to my page. If you view it in IE7 or Firefox or Safari, everything works fine. I thought that I might have had multiple instances of jquery running, but I can't seem to figure out what the problem is. Here is the temporary link: http://gradnew.sitespace.wvu.edu. Let me know if you need anything else from me. Thanks again for your help.
JQuery 1.4.2 history
Hi, I get the error : $j.history is undefined where i try to initilize jquery.hitory with jquery 1.4.2 is it normal ? must i used : http://benalman.com/projects/jquery-bbq-plugin/ ??? thanks nico
jQuery.Post() - accessing the returned json object
Hi, The below code posts a couple of vars to a php file which sends back a json object containing (in the test case) one object called 'faves' with 2 variables (let's say called var1 and var2). I can't seem to access the variables after the ajax call. The result is always an 'undefined' error message. I've tried: console.log(data.var1) console.log(data.faves.var1) console.log(var1) All to no avail. Can anyone tell me what I'm doing wrong here? I have checked with FireBug that all the data returned
Replace an Link within HTML
Hi Collegues, i wan't replace an link (< a target=... ) which is in an "<td class="ms-vb-icon">" . My html example is below. Can somebody help me please. Thank you. <tr class=""> <td width="10px" class="ms-vh-group "> <img height="1px" width="10px" alt="" src="/_layouts/images/blank.gif"> </td> <td class="ms-vb-icon"> ---I wan't replace the following Link with --> http://www.google.de ----- <a target="_self" onclick="GoToLink(this);return false;" href="/businessapplications/iop/weschein/Lists/Receipts/EditForm.aspx?ID=218">
Next Page