JQuery :: Border-bottom In Cells Fails In FF But Works In IE6?
May 27, 2009
I have to ad a line between some rows, but not for the first col.the table has:table { border-collapse: collapse }that is fix and I can not change it.the following sample code draws the lines nicely in IE6 but in FF there'sjust nothing (also used color here, to see if the selectors are right):
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
[code]....
View 1 Replies
ADVERTISEMENT
May 5, 2009
See the table code below. Because this table is created by a third party application, I can't modify their code. So, I'm stuck trying to find other ways to change the table styles. I figured jQuery would be a great way to accomplish this, but I can't figure out the correct code. Can someone show me how to change all cells, or certain cells (dddefault and ddlabel) to have a border? I've gotten close, but it only affects the first cell.
<TABLE CLASS="datadisplaytable" SUMMARY="This layout table is used to present the weekly course schedule." WIDTH="80%">
<TR>
<TH CLASS="ddheader" scope="col" > </TH>
<TH CLASS="ddheader" scope="col" > Monday </TH>
[code]....
View 3 Replies
View Related
Mar 31, 2010
I thought this would be fairly easy. I want a line to be displayed on the bottom of each book image when the mouse pointer moves over them. I am using IE 8 and keep getting this error message: "Object Doesn't support this property and method"
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>
[Code]....
View 2 Replies
View Related
Jul 1, 2009
The submenu works fine with FF, IE8 etc. But it fails with IE7.I have to use sprites background images and the second level sub menu
have to be positioned at a certian place.When I hover top of sub menu, it is ok. But the below of that submenu, such as Radio, Artikler, Hvem er vi?, I am not able to select in IE7.
View 3 Replies
View Related
Jan 12, 2012
jQuery script I wrote works nicely on one computer, fails on 3 othersManaged to get jQuery datepicker to work nicely with $wpdb.This all seems correct to me:
<li><label for="from">From</label>
<input readonly="true" type="text" name="from" id="from" value="Click here to choose!" class="requiredField" style="position: relative; z-index: 100000;" />
[code]....
View 1 Replies
View Related
Mar 25, 2011
I have a Nivo slider that works fine on this page.
Slideshow page.
But it fails when I load it into this page using jQuery's .load function
Project List
(Click on any of the project links to load the content)
Might it be a conflict between nivo slider and the jquery script that controls the open/close and loading the content? Here's that code: [URL]
View 8 Replies
View Related
Mar 19, 2010
This one has plagued me for some time now. I am parsing an XML file for a search feature. On my local machine, the code below works fine in FF, but when I upload it, I get an error stating y[0] (the root element) is undefined. I think the problem may be with my onload method but I can't be sure.
function importXML()
I just can't figure out why this works locally and not on the server. IE works fine, but then again it uses the activeXObject method so it should function differently.
View 6 Replies
View Related
Aug 24, 2010
provide javascript to create something like the image below: Things I can't workout are:
1. top and bottom background colors as the above image
2. add two text
3. border color same as top background color
[Code]....
View 1 Replies
View Related
Feb 26, 2009
What I want to do is change the border of several images on the page to show a 4px border. There are many images on the page so I just want to call the changeborder() function on the onClick event so as the image that has been clicked changes. However, I don't think using this.style.border to identify the element works when placed within the function. That is, how do I identify, from the function, which image has been clicked? My current code (which does not work) looks like this but I am sure its possible to gather what i'm trying to achieve:
<script type="text/javascript">
function changeborder()
{
this.style.border='4px solid red'
}
</script>
<img style="border: 1px solid #F4F4F4;" onclick="changeborder()" src="images/colours/010.jpg" border="0">
View 1 Replies
View Related
Jan 7, 2009
is there a way how to detect if mouse is over the border table and over cell border? and if yes, when user click and host button and move mouse cursor (to increase cell width) which event should i detect ?
View 1 Replies
View Related
Mar 23, 2010
I hired a programmer to develop a drag and drop system for my blog. The user should be able to browse one of my blog entries and click, drag and drop an image from my entry to a fixed bottom bar on that page.The problem we are facing is that when dragging an image, it wont place it on the bottom bar until the whole page is scrolled down to the bottom of the page. This is a problem because some of the pages can be very lengthy
View 2 Replies
View Related
Oct 12, 2011
've been grinding this for days and nothing seems to work. I'm using a JQuery script (or a variant) called the bx.Slider [URL].. It works well. It's all positioned properly. I use my own prev/next images, and there is the ugly blue border around them in IE 8 only. I've tried removing the border, both in the js file (jquery.bxSlider.min.js), in my own syle sheets where you can style the js created classes, or inline, in the tags themselves... None have worked in any way, shape or form.
Maybe I am looking in the wrong places, but I can't seem to find the answer. Does anyone know of a trick or two regarding this?
View 3 Replies
View Related
Aug 14, 2010
...I have an element (for example <div>) that i displayed in my browser is overflowed and overflow is hidden.Now after displaying browser when I move my mouse over to it, I want to add a border to the <div> using jQuery Code:.css("border","2px solid red"). But the problem is::: at left side and top side border is added but at bottom and right border not added since these 2 sides overflowed.
View 2 Replies
View Related
Jan 10, 2011
I've been searching for a way to get border-radius working in Internet Explorer by using JavaScript or a JavaScript library like jQuery. With so many browsers now supporting border-radius, it just seems silly to me that we use all this extra markup just for rounded corners in IE.
View 7 Replies
View Related
Dec 23, 2010
How would that be?something like this?:
if ($(this).(BORDER-COLOR PROPERTY?) == "#990033")
{
alert("Yes, border color is #990033");
[code]....
View 2 Replies
View Related
May 1, 2009
I taught it to myself without even having any true JavaScript experience and am sure that while functional, many of my implementations could/should be written completely differently. I'm running some animations that look great in everything except for IE. In IE I'm seeing a thin, ragged black border around some of the elements that I'm animating.
View 1 Replies
View Related
Jun 28, 2009
I have a couple of images in a fisheye that I want to be displayed with some space between them. Currently, jQuery displays the images directly connected to each other:
[Code]...
View 5 Replies
View Related
Mar 9, 2010
I imagine this is trivial - in fact it must have been asked before, I just can't find the answer. I have looked.I have a dotted bottom border defined on my link hovers, like so [code]
View 5 Replies
View Related
Mar 15, 2011
I have CSS defined as:
#container {
width:400px;
border:1px solid red;
}
I was not able to get the value using $("#container").css("border"), but $("#container").css("width") is ok,
View 1 Replies
View Related
Jul 27, 2011
I'm trying to animate a rounded border of a div. In this post someone posted an solution which works in Chrome and Safari (didn't test it yet in IE), but for sure doesn't work in FF:
Code:
$("selector")
.css({
WebkitBorderTopLeftRadius: 10,
[code]....
View 10 Replies
View Related
Jan 4, 2010
I am new to jQuery and I would like to process a matrix operationusing PHP.The front-end code is done bellow, its a 3x3 table. the user couldselect/deselect individual cells of the table and click the buttonthat calls a PHP script that will run some function. How do I know if a cell is selected? Is there is is_selectedfunction in jQuery? Would it be possible to send a 3x3 array to my PHP script?Please provide me with any info on thisMTMy current test code.
<html><head><title>Test</title>
<script type='text/javascript'
src='http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js'></
[code]....
View 4 Replies
View Related
Oct 13, 2008
I have table like this:
<table>
<tr>
<td><div class="drop">a</div></td>
<td><div class="drop">a</div></td>
[Code].....
but if I once resize the block called res, it always select block called drop and I'd like to split the cells only if I just resizing the block called res.
View 3 Replies
View Related
May 15, 2010
I know that JQuery is a very powerful library and was just wondering if it had the following capability that I really need.
Lets say I need to insert new cells into a table row, I know how to do this basic task, but I need to insert my cells in a highly unusual way due to some of the requirements that are needed for the new cells.
I need to be able to insert cells a certain distance into the row, For example, if a row was 1000pixels wide, is there a feature in JQuery that would allow me to insert the cell 250pixels into the row and have a cell width of 50pixels and insert another cell 500pixels into the row with a cell width of 100pixels. I know how to set a cells width using JQuery, just not distance into a row.
The values wont ever be the exact same as above though because they are actually read from a database, so for example, one cell would have the following values [code]...
View 1 Replies
View Related
Feb 2, 2010
I am trying to manipulate table cells in a dynamically created table but I find it next to impossible how to do it.
The table I have has the following structrure:
--------------
| Color | Item |
|------|------|
|Blue...| Car |
|------|------|
|Blue...| Boat |
---------------
what i want to do is using javascript or jquery on the client side to convert this table to the following structure:
--------------
| Color | Item |
|------|------|
|........| Car |
|Blue...|------|
|........| Boat |
---------------
I can get up to the point to increase colspan of row1, cell 1 to 2 but this creates the following structure:
--------------
| Color | Item |
|------|------|
|.........| Car. |
|Blue |------|-------|
|........| Blue. | Boat. |
----------------------|
how to delete the extra table cell.
View 5 Replies
View Related
Oct 7, 2010
I am trying to create a border effect on hover so when the use hovers over a link the css border changes color to create some interactivity and also as a point of reference too.
Here is the code so far I just do not know how to implement the fade effect for the border to fade on hover;
Is there any way that I can simply change this code to work with it.
$(document).ready(function(){
$(".recentbot3, .recentLeft, .recentbot2, .recentcol1, .recentcol2, .recentbotLeft").hover(function(){
$(".recentbot3, .recentLeft, .recentbot2, .recentcol1, .recentcol2,
[Code].....
View 2 Replies
View Related
Jun 8, 2010
I'm dynamically creating an HTML table using JQuery. I'm not assigning id's to the tr or td tags in the table. The reason I'm not, is that it seems complicated, given that the table is initially loaded and then the user can add and delete rows. I'll also need to sort the table on demand.
I maintain the current row the user has clicked on as a global variable (curRow) using this...
$("#prodTable tbody tr").live('click', function() {
curRow = $(this)[0].rowIndex;
});
I want to do input validations on certain cells based on values in other cells in the row. for example, the value of cellA cannot be greater than the sum of the values of cellB-CellD. The question is, given a certain table rowindex, how can I access the cells in the row? Is this not a good approach?
View 4 Replies
View Related