Dude that worked beautifully. Thx a billion.
Steve...
User Profile
Collapse
-
I am trying to match the "<font size='2'>" with css. Basically get Example 2 to look like Example 1 with just using css. I need to find the right font-size setting for the css.
Removing the doctype and setting font-size:x-small works for IE but not mozilla. I need to keep the doctype anyway, and that works for just IE>
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...Leave a comment:
-
replacing font tag
I am trying to replace the "<font size="2">" but I am having a difficult time finding the right font-size setting. Any help would be greatly appreciated. I can't seem to get it right for both IE and mozilla.
Code: ( text )
1.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2.
... -
input tag within table/td border missing right border
How do I get IE and Mozilla to show the right border for an input tag.
for the following table
Everything looks great until I add the doctype tag.
I can get IE to work by adding the following.
table.resizable td{
overflow: hidden;
padding-right:6px.
}
This does not seem to work for Mozilla.
Any help would be greatly appreciated.
Steve
[HTML]... -
Here is my latest code for resizing html table.
The example table is table resizable, column resizable, searchable, sortable and scrollable.
Todo:
Searchable for mozilla.
...Code:<HTML> <HEAD> <style> h1, h2{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; } </style> <!--[if IE]>Leave a comment:
-
Resizable, sortable, findable and scrollable HTML table
I figured I would post my solution to the following.
Resizable column tables.
Search and replace values in a table. (IE only)
Scrollable tables.
Sortable tables.
It is based on a lot examples I found on the web. Works in IE and mozilla.
http://www.imaputz.com/cssStuff/bigFourVersion.html
http://www.thescripts.com/forum/thre...resizable.html
http://www.kryogenix... -
Thx for your replay. That was extremely helpful. I did notice that an alert statement caused the onclick event handler NOT to be fired. Is it possible to fool or change the location of the mouse pointer, e.g. onmouseup move to a location outside the resizing cell....Leave a comment:
-
Here are my final mods. It is based on
SYED NAVED ULLAH SHAH and http://www.kryogenix.org/code/browse...e/sorttable.js solutions.
The table columns are resizable, table is sortable and scrollable and works in both IE and Mozilla.
I was told that you can not prevent an onclick event from being fired. If you don't want the column sorted when you resize then release the mouse outside the column.
...Code:<HTML>
Leave a comment:
-
Dasty,
Thx for your replay. That was extremely helpful. I did notice that an alert statement caused the onclick event handler to be fired. Is it possible to fool change the location of the mouse pointer to a different location, e.g. onmouseup move to a location.
SteveLeave a comment:
-
how do you prevent the onclick action from being fired in IE
How do I in IE prevent the onclick action from being fired when I am done dragging?
have tried "window.event.c ancelBubble = true", for onmouseup , onmousedown, and onmousemove handlers. The onclick sort action always seems to get fired. Any help would be greatly appeciated.
The following demo is sortable and resizable. I basically don't want the onclick action to be fired if I am resizing a column.
Steve... -
I have modified the original script to be a little bit more user-friendly. The "move" cursor is now only displayed on the edge of the colums. I have also made the demo table scrollable and sortable.
My question is ..
How do I in IE prevent the onclick action from being fired when I am done dragging?
have tried "window.event.c ancelBubble = true", for onmouseup , onmousedown, and onmousemove handlers....Leave a comment:
-
Here is the solution, a bit hacky but it shrinks the table if necessary.
<html>
<head>
<!--[if IE]>
<style type="text/css">
div.scrollable {
/* shrink the window */
height:expressi on( this.getElement sByTagName('TAB LE')[0].clientHeight >= 100 ? "100px": "auto" );
...Leave a comment:
-
mozilla tbody max-height
How do I get a html table in mozilla to only have scrollbars if it is exceeds a height. "max-height" used to work but it no longer works for me. I can scrollbars added if it exceeds a height. In the example below IE will shrink the table if I comment out some of the rows. Mozilla won't shrink the table. I tried using max-height but that doesn't seem to work. Any help would be greatly appreciated.
Steve
since@opendeman d.com... -
Checkbox value not set in IE
RajasScripts,
I have a similiar using "sorttable. js" (http://kryogenix.org/code/browser/sorttable/). If the box get checked the value is lost. The checkbox state is being lost. Does anyone know of a solution? It is only in IE. In mozilla the checkbox state is remembered.
Steve
**** - email removed
Here is some sample code.
-----------------------------------------------------------------------------------------------------------------...
No activity results to display
Show More
Leave a comment: