Hi,
I need a custom attribute to store arbitrary data, for example:
<div id="page1" myattribute="page">
<h1 id="page1header" myattribute="header">
Is it possible to create a global (like id, lang, etc) attribute, or at least to "import" an attribute from a DTD via xmlns="DTD-URI" ?
I can't seem to find a way to make a floated div the same height as its parent non-floated div, i.e.:
.parent {
border: 1p solid #ffffff;
}
.child {
float: left;
width: 10px;
height: 100%;
}
If I specify a height for the .parent div (e.g. 100px), then the .child is no taller than that...
In WXP IE6, I have a button call foo():
var frame = window.frames['fname'];
frame.window.scroll(0,300);
function foo () {
if (frame.window.innerHeight) {
pos = frame.window.pageYOffset
alert('window '+pos)
} else if (frame.document.documentElement
&&...
In the following code, what should go in place of "¿?" to obtain the height of one (any) of the frames?
<head>
...
<script language="javascript">
var frameheight = ¿?
</script>
</head>
<frameset rows="30,*,30">
<frameset cols="30,*,60,*,30">
<frame name="top1" />
<frame...
I have a window with two entry widgets and I would like to get the new window size (width x height) in the widgets every time the user resizes the window. Is that possible ?
So I have three frames aligned vertically, and inside each there is one label, one canvas and another label aligned horizontally (all set to "-side left"). The only properties specified are "-bd 0", "-height 40", "-width 40" and "-image imagename", expand and fill are set to "1" and "both"...
I have this code:
frame .aframe
label .aframe.label1 etc...
text .aframe.text etc...
label .aframe.label2 etc...
pack .aframe.label1 .aframe.text .aframe.label2 -side left
pack .aframe -side top
How can I make it so that the labels' height is proportional to the text widget's height?
Hi, I am new to TCL. What I want to do is to get the contents of a text file, split it in pages and then display one page at a time on a text widget (with no scrollbar, just by clicking on a button).
Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.