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