Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: papageno
  • Content: Threads
  • Order by date
  1. papageno

    Custom global attribute in XHTML document?

    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" ?
  2. papageno

    child div height = parent div height ?

    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...
  3. papageno

    scrollTop &amp; document/documentElement

    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 &&...
  4. papageno

    How to get frame's height

    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...
  5. papageno

    How to add a tag to characters not yet typed

    e.g. when the cursor is at the beginning of an empty line and you want to apply a tag to what you are going to type next.
  6. papageno

    how to get new window size after resize?

    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 ?
  7. papageno

    Blank space between widgets

    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"...
  8. papageno

    retrieve the number of the last line of a text widget

    I need to use that number in an expression like: if {the number of the last line is a multiple of X} { do something }
  9. papageno

    Widget's height relative to other widget's height

    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?
  10. papageno

    (newb) How to paginate file contents

    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

Part and Inventory Search

Back
Top