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 SkipVought 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: *

  1. Kindon

    document.forms[0].submit() doesn't work

    The problem is that you cannot have any form field named be "submit". It behaves like an invalid name, or a reserved word. You can use it, but the parser will be looking for a form field named "submit" instead of a function "submit()". It is a stupid thing. The parser should be able to notice...
  2. Kindon

    How to keep XP field style (2D) but change background color

    Problem: When setting the background color style on a field the field style reverts to non-XP 2D style. Target browser: IE 5.5/6.X Problem OS: WindowsXP I am working on an application that has some dynamic field interaction. Field2 is disabled unless field1 is populated. This works fine...
  3. Kindon

    how to detect if user close the browser

    One problem you might run into is that the JavaScript onUnload runs everytime you leave a page. So when a user closes the browser, clicks on a link, clicks back, clicks forward, submits a form or for any reason leaves the current page to go to another, onUnload is called first and then the link...
  4. Kindon

    How to get the current object instance name from within itself?

    Yeah. I have done that.... I was looking for a way to do it internally. Thanks anyway though....
  5. Kindon

    How to get the current object instance name from within itself?

    I want to get the current instance name from within that same instansiated function. function MyFunction() { this.prop1 = 1; this.prop2 = 2; alert("My instance name: " + MyFunction.caller + "?"); } var newFunc1 = new MyFunction(); var newFunc2 = new MyFunction()...
  6. Kindon

    Transparent iframes?

    http://www.kingdon.net/iframe/ But, I think I found the problem. When you said it worked for you on IE 5.5, I decided something must be wrong with my machine. In searching, I found that I am running only IE 5!!! What is wrong with me.... Thanks. I will let you know if I still have problems...
  7. Kindon

    truncate line that doesn't fit into fixed width <TD>?

    Try this: <td width=&quot;50 style=&quot;overflow:hide&quot;>This is a test this is a test this is a test</td>
  8. Kindon

    Transparent iframes?

    This is not working either. Does this work for you? Here is the new code with body style set in the header: index.html <html> <body background=&quot;http://www.google.com/images/logo.gif&quot;> <iframe name=&quot;Frame1&quot; src=&quot;insideIframe.html&quot...
  9. Kindon

    Transparent iframes?

    I have been searching for a way to make an iframe transparent. I have found several examples. However, none of them work. According to documentation this should work on IE 5.5+. I am running IE 5.5 and am having no luck. This is what I am doing (according to MSDN here...
  10. Kindon

    DHTML table changing sizes when I don't want it to...

    I created a menu bar on my page that contains many sub elements (tables). Each element is a container for related data. Within each element there may be an option to expand an area to display more data. All the elements in the menu are constrained within one div with a set width. The code below...
  11. Kindon

    Dynamically change iframe size based on iframe content

    I have an iframe that contains a form. The form area changes in size dynamically depending on user options. When the form gets too big, scrollbars show up. I want the iframe to dynamically get bigger if the content overflows the boundry of the page. With a style I can set overflow to hidden to...
  12. Kindon

    Iframe -vs- scrollable layers

    I am creating a layout that used some iframes. I used iframes because of its ability to dynamically display scrollbars when needed. On top of that, only the data within the iframe needs to be refreshed. Someone mentioned that I should use a scrollable layer instead of an iframe. What is the...
  13. Kindon

    Why won't this work?

    That is really odd. Using getElementById did not work on all my other pages. So I used the frames object instead. Now the problem is reversed. Anyway, all is well. Thanks.
  14. Kindon

    Why won't this work?

    I have used the following code snippet in several pages. This is a copy and paste from a page that works to a new page that does not. The point of interest is the JavaScript that gets the iframe and its document. When I run this I get an error message saying &quot;Access denied&quot; on the line...
  15. Kindon

    CSS variables. Can this be done?

    Here is an example: color1 = &quot;#000000&quot;; table2 = { background : color1; } Can this be done?
  16. Kindon

    Is this possible? &lt;img src=&quot;/ImgMgr?name=imgName&quot;&gt;

    As it turns out, we were getting our images from the database. The image was corrupt so it was generating an exception when we tried to write. This was probably our original problem. :( Thanks for your input....
  17. Kindon

    CSS variables. Can this be done?

    I want to be able to set some global colors in a global style sheet. Then use those global settings in other style sheets using the import command. Here is how I have it set up. I have two base style sheets (globals.css and template.css) that are used in several different web applications. In...
  18. Kindon

    Is this possible? &lt;img src=&quot;/ImgMgr?name=imgName&quot;&gt;

    OK, Sedj. We tried that. for some reason we are getting an error on out.write(img). I also found that the browser reads the image type from the image header. This means we do not need to bother with adding the extension or any JavaScript. :) After debugging the error, we should be on our way...
  19. Kindon

    Is this possible? &lt;img src=&quot;/ImgMgr?name=imgName&quot;&gt;

    We are trying to use OutputStream (response.getOutputStream()) to write byte data straight to the browser
  20. Kindon

    Is this possible? &lt;img src=&quot;/ImgMgr?name=imgName&quot;&gt;

    We are trying to create an image manager servlet. We pass it information and it returns the image that we need. Not the text to get the image, but the byte stream of the image. Since the browser is expecting a byte stream of image data, we have set the servlet content type to...

Part and Inventory Search

Back
Top