Someone might answer as I do to get the message I despligue IE or Firefox ".. a script is taking longer to run, want to stop or continue .. "(something like).this happens when I drive a system of more than 15000 rows around .. I am using this js
Simple routine to fadeOut a <div>, change the src in the <img> tag and text in the header, and then fadeIn the <div>. Works fine in Firefox, receive this error in IE8. New to Jquery, not sure where to look for a solution.
Message: Unexpected call to method or property access. Line: 16 Char: 66797 Code: 0 URI: ........ $(document).ready(function () { // EXPANDED IMAGE DISPLAY // $(".imagePanel").mouseover( function () { var playerName = $(this).attr("player"); var image = "/Images2010/teamPhotos/" + $(this).attr("team") + "_Expand.gif"; $("#expandedPanel").fadeOut('fast', function () { $("#epHeader").text(playerName); $("#epImage").html('<img id="#epImage" src="' + image + '">'); }); $("#expandedPanel").fadeIn(); }); $(".imagePanel").mouseout( function () { $("#expandedPanel").fadeOut()}); });
Fancybox (Lightbox) - Last image not working. This is a follow on from another problem I had with the same image gallery I have this simple gallery that loads images from an xml file and uses Fancybox [URL]..Everything is working but the last image is not working with fancybox. The last image just displays in it's own window. Can anyone see why the last image is not displaying with fancybox.
I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no.
The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)) Now using the getButtons() function, if the user selects button "1" in first grid (the grid which you have to open using (Open Grid) link, then it should display button "A" in second grid, if user selects button "2" in first grid, then it should displays buttons "A" and "B" in second grid, if "3" then display "A", "B" and "C" and so on.
Now except using if statements and stating which buttons should be displayed and not displayed depending on the button chosen in first grid, is there a more efficent way of coding this so that the display of buttons in second grid depends on what is selected in the first grid?
If it is using an array can somebody show a sample of this in their answer. You can just do it for one example and then I should be able to use that to fill it for the other buttons.
I'm trying to use the Cluetip plugin to display data on mouseover ofthe tr tag. The data displayed is stored in the title attribute. Itworks great in FireFox, but in IE7 the browsers default title displaysalong with the Cluetip. Am I missing an option that would allowCluetip to override the browsers default title display?
$('tr.toolTipTitle').cluetip({ cluetipClass: 'jtip', clickThrough: true, /* Set to true for allowing click to go through
Am using JQuery Autocomplete on my templete, but as i get the resultsthe Autocomplete only displays one item despite that the results thatare fetched have more that one item. It only shows the first item onthe list!Example:if i have a result list with ('python', 'pythonism', 'pythodus')and on the autocomplete i type 'pyt' it only displays 'python' on thedrop down!My autocomplete code:
I have a .load that executes a php mysql query from another page. This query displays all the data of the database. Each result is wrapped around a div.
<div id ="post<? echo $row['post_id']; ?>">
the id of the div depends on the post id of the result. How do I put the data of $row['post_id'] in my javascript?
I am using jquery xslt plugin and the problem I am having is that when I perform xslt i.e $('#outputDiv').xslt('PPPoE.xml','PPPoE.xsl'); </b> the browser continues execution of the lines following this line(ie xslt line) and when the execution is finished it displays the xslt result.
I want that the xslt to be performed at the time of call and not at the last, since eqCol() method is called and it adjusts the height of #rightCol making the output half visible. I can set the height of #outputDiv to some fixed value but I am trying to avoid hardcoded values.
I want XSLT to be finished before it reaches 'break'. Have tried using timer but browser still displays the result at the end of execution.
I am using the following JQuery function to rotate content on my webpage on page refresh. It works perfectly, but all items are displayed while the page is loading before they are hidden. It looks a little odd from the user's point of view as they see all items and then they disappear. how I can make it hide all rotating content while the page loads - then just display the correct content once page has loaded?
<script type="text/javascript"> $(document).ready(function(){ $(".rcontent").hide(); var randNum = (Math.floor(Math.random() * 2))+1;
URL..when you hover over an image, I've used .hover to fadeIn a DIV called 'zoomicon' for that image, but my problem is that when you hover one image, not only does the zoomicon for that image fade in, but all instances of zoomicon fade in, as well as fade out.how do Iseparateinstances of zoomicon to fade in and fade out for their respective image blocks?[code]
I have been working on a dropdown menu using Clarklab's Tutorial:The only problem is that this tutorial only shows how to create one dropdown instance.It's in use here:My issue is that when I click on one menu item, all the submenus open up. Is there a simple fix that I just haven't figured out yet?My instinct is to give each ul it's own id, but I'm not sure how to direct the jquery in the header to work with individual elements.
I encountered a possible blockUI bug in IE7 and IE8: If you block theui and don't move your mouse after that, the cursor displays thehourglass symbol UNTIL you move your mouse again.Thus, the .unblock() method doesn't have the desired effect on themouse cursor.You can easily reproduce the effect with the blockUI demos: just clickon the "Run" Button without moving your mouse further.
I want to have a jquery modal window which displays automatically when a user visits the site (preferably at any page). This modal window would then contain a disclaimer message with an 'OK' button to acknowledge the user has read the disclaimer. When the OK button is pressed, the modal window closes and the user is free to browse the rest of the site - the modal window would not display again on any other page, nor if the user visits the site at another time. Now, in theory, I know I need some code for a jquery window that automatically displays, and then have to set a cookie to ensure that the browser doesn't display it again, but I'm just not sure which is the best method to go about it.
New to javascript/jquery, been trying to create a rotator which displays a large image with caption and uses next/previous button and thumbnails for control. Everything works fine but when the rotator gets to the last item i'd like it to go back to the first, and when the previous button is clicked at the first item I'd like it to go to the last.
$(document).ready(function() { //set to zero var x = 0;
I am new to Jquery and am having trouble. I want a button on a modal form to open up another modal form but for some reason it isn't happening. The code below is basically the code from the jquery user interface demo, slightly modified. can anyone tell me what I am doing wrong? if your kind enough to take a look at my problem make sure you change the src's where the JQuery files are!
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
i've got a .net page with a table sitting in it that has no specified height. I want to be able to grab the height of a specific table (ID="printIntro"). Firefox spits out a number, but IE regardless of version spits out a big fat 0.
from what i understood, IE should be able to understand offsetheight, no? here's a snippet of a VERY simplified version of what .net generates, as you will see IE will return 0: Code:
I am working with the "sexy alert box" found here [URL] and have the code below, which pops up the sexy alert box on every page load.
<script type="text/javascript"> function test() { Sexy.alert('Hello world!'); } window.onload=test; </script>
My problem is that I only want that code to show on the FIRST load for the user and every page after that it should not be showing. This will be the first time I've worked with cookies so I am a bit confused as to what to do with this code and where to edit things.
I have a page that has a hidden button at the top. When a link is clicked, the button shows. I want to write javascript so that if the button is showing, add a breakline below it and if it is not showing, do nothing. My attempt & fail is below.
<input type="button" id="listframes" value="Button" /> <script type="text/javascript"> //If the button is showing, then break line below it.. else do nothing[code].....
I am working with the "sexy alert box" found here and have the code below, which pops up the sexy alert box on every page load.
Code:
<script type="text/javascript"> function test() { Sexy.alert('Hello world!');
[code]...
My problem is that I only want that code to show on the FIRST load for the user and every page after that it should not be showing.This will be the first time I've worked with cookies so I am a bit confused as to what to do with this code and where to edit things.
We have web pages that are generated by another process. And we wish to change UPPER CASE text into Mixed Case. In effect, using JavaScript, BEFORE the page displays, I need to read all HTML that is in the BODY area - and then replace the text (after manipulating it to change various text to Mixed Case text). Do I use the OnLoad event - and what (approximately) would go into my routine?
I have a link on my web pages that when hovered over displays some text in the form of a pop-up.However, some screens have a horizontal scroll on them, which means my pop-up has some text being displayed off the screen to the right.
I am using multiple instances of the jquery datepicker on my form. Due to my CSS i could not use the icon trigger built-into jquery, it caused the icon to be displayed below the input field and i wanted it to be displayed next to the text. Below is the code for one of my input fields.
[Code]...
I have multiple date fields i want to use the datepicker with. The issues i am having are; 1. when i click on the icon to display the datepicker, the picker is displayed, but it displays on the wrong icon. No matter what icon i click on it always gets displayed on only one and it is always the same one. Each field has its own unique name and id the only thing that each field shares is a class. I can't seem to figure out how to fix this. My other issue is that when i click on the icon the page scrolls to the top, so if i am clicking on a picker icon at the bottom of the screen it scrolls the screen to the top.