Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#15239 migrated .position on table rows inside a relative div container gives different results based on scroll position ripdog
Description

The [docs for .position()](http://api.jquery.com/position/) clearly state that they return the "current position of an element relative to the offset parent." - explicitly not the position based on the viewport. However, .position does report different results based on where it is moved on the page due to scrolling.

Here's a fiddle: http://jsfiddle.net/6g5upsvq/ Click the button, then scroll and click it again. The .offsetTop direct from the DOM stays constant, but .position changes.

#15238 invalid HTML Background fading [email protected] [email protected]
Description

<html> background, defined as black with image, is shown in white in the transition of images. This does not appear when the transition images are in the <body>

#15237 duplicate jQuery.load() remove ajax:select tag of AjaxTag Library jitujain
Description

I am using jQuery.load() function to load the content in Div dynamically. It is working fine with all the scenario but there is one issue in it.

When I include ajax:select tag of AjaxTag Library version 1.5.7 for populating dependent dropdown in my JSP page, jQuery.load() function remove ajax:select tag from my loaded JSP page.

I am stuck since last many day on these issue. Early Response to problem will be great.

Note: ajax:select is converted in tag when loaded as HTML in normal scenario.

Code Block :

container.jsp (main jsp in which dynamic content will be loaded on onload event of page)

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@page language="java" contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://ajaxtags.sourceforge.net/tags/ajaxtags"

prefix="ajax"%>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>

<link type="text/css" rel="stylesheet" href="css/ajaxtags.css"></link>

<title>AJAX JSP Tag Library Examples</title>

<script type="text/javascript" src="ajaxtags/js/prototype-1.7.js"></script>

<script type="text/javascript" src="ajaxtags/js/scriptaculous/scriptaculous.js"></script>

<script type="text/javascript" src="ajaxtags/js/overlibmws/overlibmws.js"></script>

<script type="text/javascript" src="ajaxtags/js/ajaxtags.js"></script>

<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>

</head>

<body>

<div id="header">AJAX JSP Tag Library Examples</div>

<div id="pageContent">

</div> </body>

<script type="text/javascript"> function updateContainer( url , formData, divID ) {

var dynamicCon = '#'+divID; var ObjTag = $( dynamicCon ); ObjTag.load( url , formData );

}

updateContainer("/dropdown.jsp","","pageContent");

</script>

</html>

dropdown.jsp

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

<%@ taglib uri="http://ajaxtags.sourceforge.net/tags/ajaxtags" prefix="ajax"%>

<form action="." class="basicForm"> <fieldset><legend>Choose Your Car</legend>

<div><img id="makerEmblem" src="img0/placeholder.gif" width="76" height="29" /></div>

<label for="make">Make:</label> <select id="make">

<option value="">Select make</option> <option value="Ford">Ford</option> <option value="Honda">Honda</option> <option value="Mazda">Mazda</option>

</select> <span id="progressMsg" class="indicator" style="display: none;">Loading...</span>

<label for="model">Model:</label> <select id="model" disabled="disabled">

<option value="">Select model</option>

</select></fieldset> </form>

<ajax:select baseUrl="dropdown.view" source="make" target="model"

parameters="make={make}" preFunction="initProgress" emptyOptionName="Select model" postFunction="" errorFunction="" />

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.