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: snotmare
  • Content: Threads
  • Order by date
  1. snotmare

    relative image size nested in tables

    Greetings! I am working on a web page that uses jsf to render the page. The resulting page is built with images nested within tables, so at this juncture, I have no choice but to use tables. The images need to be sized according to the size of the browser window. For instance, I need to fit 2...
  2. snotmare

    convert decimal to hex

    Greetings! Perhaps I'm just not looking hard enough, but I can't find any simple method to convert a decimal number to hex. So, if I input "16777215", I want to return "FFFFFF". Can someone show me what I'm missing here? Thanks! --------------------- He who has knowledge spares his words...
  3. snotmare

    re-translations

    Greetings! I'm sure someone has done this before, but a friend of mine shared this amusing idea if you ever get bored. Come up with any short phrase and go to http://www.freetranslation.com/ . Translate your phrase into another language, then translate it back into English. The results can be...
  4. snotmare

    Creative short stories...

    Who can make an interesting story from something that is usually considered boring and pointless? Here is mine. On my way to work this cool, but humid morning, I was stopped at an intersection when this little green bug attached itself to my windshield. Having been comforted by my new friend...
  5. snotmare

    Help with drag and drop functionality

    Greetings mighty java scripters! I have an HTML application that I'd like to incorporate drag and drop functionality. Since this is the first time I've tried this and I didn't want muck up my app, I've created this test html page to expirament a bit. Here is the code, and at the bottom are my...
  6. snotmare

    zero suppression?

    Greetings! I have the following numbers... 10.45 0.3 0.00 ... that I'd like to display like this... 10.45 .3 .00 What is the best way to do this besides using string functions? I'm already using BigDecimal's setScale() method to round the decimals, but now I'd like to get rid of leading...
  7. snotmare

    problem with writing-mode and background image

    Greetings! I have the following css... BoardObject_RowHandle{ background: url(Row_Handle.gif); border: 1px solid; filter: fliph flipv alpha(opacity=55); opacity: 0.05; text-align: center; vertical-align: middle; width: 50px; writing-mode: tb-rl; } The problem...
  8. snotmare

    custom input box

    Greetings! I am trying to mimic the VBScript input box by creating my own InputBox() function. In this function, I will simply display a <DIV> in the middle of the screen that contains a header, a message, a text box for input, an "OK" button, and a "Cancel" button. My problem is this. When I...
  9. snotmare

    Creating a custom list box

    Greetings! I have recently decided that I'm not too fond of the standard "SELECT" control (list box) that microsoft provides, so I've decided that I'm going to try and create my own. Before I go any further, if this has already been done, please direct me to where I can get ahold of that code...
  10. snotmare

    css and transparancy

    Greeings! I've searched this forum and some other sites, but have not found an answer yet. Perhaps I'm missing the obvious, but here is my question. I have a web page with a background image. I have a simple table where I want to set the cells to different colors. I once saw somewhere where...
  11. snotmare

    advanced recursiveness

    Hah, I'm not sure if recursiveness is a word, but it's the best I could come up with :). Most of us know about the popular recursive example of searching through file folders. Does anyone have any recursive examples that are a bit more complicated than this? I don't really have any coding...
  12. snotmare

    changing display properties for win XP

    Hello all! I have searched everywhere, and to no avail. How can I script something in my log-on script that will change the display properties? Specifically, I am wanting to change the "Windows and buttons" selection on the "Appearance" tab from "Windows Classic Style" to "Windows XP Style"...
  13. snotmare

    Determining selected option in multiple select list

    Greetings all! I have an HTML select list that allows for multiple options to be selected at once. When looking at a select list and you have more than one option selected, you'll notice a very slight difference between the options you have previously selected and the most recent option you've...
  14. snotmare

    custom color dialog box

    Hello all! I have an HTML document that uses some vbscript, and I would like to allow the user to change colors on the screen. I'm looking for a way to show the custom color dialog box that most Microsoft applications use. In MSPaint, you can go to Colors --> edit colors and it will show a...
  15. snotmare

    Referencing a specific folder in a folder colection

    Greetings! For the record, I have already checked multiple sources (including the Microsoft website) and cannot find an answer to this question. When all else fails, I know someone in the tek-tips community will have what I'm looking for!! You typically see all file/folder processing as...
  16. snotmare

    dynamic SQL with cursors

    Hello all! I have a process that I'm creating that makes use of dynamic SQL (format 4). Part of my process requires that I open a handful of SQL cursors at the same time, but I won't know how many cursors to open until run-time. This would require an array of cursors, but I have been...
  17. snotmare

    file/folder security

    Hello all! I am a VB programmer trying to broaden my horizons with javascript. I would like to use the ADsSecurity object that is provided with Windows to see who has what security rights to a given folder or file. Below is the code as I think it should be written in javascript, but I'm not...
  18. snotmare

    script to control MS Paint

    Hello all! Does anyone know how to control MS Paint via a script? I'm trying to accomplish a task that will process all pictures in a given folder, and basically resize each picture to 1/2 its origional size. I can handle the FSO process fine, I'm just not sure how to handle the resizing of the...
  19. snotmare

    Putting controls in an array

    Hello all! I'm fairly new to HTML, so I appreciate a good explanation. If I have a list of controls on my web page, text boxes for example, and I want to reference them as an array, how can I group them together? Can I do this in HTML, or must it strictly be within the scripting code? (I'm most...
  20. snotmare

    Register dll or component on remote machine

    Hello! Does anyone know how to register a dll or component on a remote machine? I know you can use regsvr32.exe and invoke it like this... Dim objShell Set objShell = Wscript.CreateObject("WScript.Shell") objShell.Run "regsvr32.exe /u C:\test.wsc" Set objShell = Nothing ... but is there a...

Part and Inventory Search

Back
Top