box

html text box that automatically adds characters

Hey guys I'm trying to make a HTML text box that: 1) only accepts numbers 2) after 3 digits, adds a '.' 3) after 6 digits, adds another '.' So for example, by only typing numbers, you'll get 555.323.7637 4) If you're after a '.', like '555.', then a backspace would change it to '55'. I've been googling around but don't know the exact ...

get alert boc using clientscript.registerstarupscript()

Hi, I am facing an issue in ClientScript.RegisterStartupScript() in an asp.net 2.0 application. I am not getting alert message when I used the above specified instead of Response.Write() . Thanks Rupa ...

CSS box/ul menu problem

Hello, I am having serious trouble getting my css to work properly. It looks different in all 3 browsers that i use (Chrome, IE and FF). Now to the question in hand, i have been trying to copy the example from the following url: h t t p : / / w w w .alistapart.com/articles/taminglists/ Just scroll down almost to the bottom and look for ...

Is there a CSS selector to select text (inline blocks) within a rectangular box?

Can a CSS rule select the portion of a box which contains text (or an inline block)? For example, an HTML fragment like <p>The quick brown fox jumped over the lazy dog</p> might be laid out like this: +--------------------------+ | The quick brown fox | | jumped over the | | lazy dog | +-------------------...

Refilling a select box with POST data (php)

Hi all, I have a select box that shows 3 options: option1, option2, option3. When a user hits submit, then in $_POST I do have the value selected. Is there an easy way to redisplay the select box with the chosen option highlighted WITHOUT it being repeated in the options? In other words, if option2 is selected and submit is clicked...

choose file box by clicking on image ? (not with browse button)

hi, is it possible to show "choose file" window, when i click on some image ? i want to hide that input and browse button, which shows when i type thanks ...

Import Picture from file to Picture Box... need help...

In my project, I have a list box. When I click an item on the listbox, I want the PNG image from a file (stored in Global Varible, GV.dir) into the Picture Box named picBox... this is what I have... picBox.Image = Image.FromFile(GV.dir + lstFull.SelectedIndex.ToString() + ".png"); GV.dir is equal to -> @"C:\Files" ...

How do I change a box components direction in Flex 3?

Hi, With mx:Box I can set the direction to be either "horizontal" or "vertical". I'd like to reverse the order of the components in the box though. For example: before: |button1| |button2| |button3| after: |button3| |button2| |button1| I've created a custom component that lives in a mx:Box and would like to do this in as simplest a...

What is the "box model?"

During a recent interview for a front-end developer position I was asked what the box model was. I thought the interviewer was referring to testing (i.e. white box testing, black box testing). I was wrong. What is the box model, in reference to front-end development? ...

how to set background image in a dialog box in vc++6.0

how to set background image in a dialog box in vc++6.0 ...

Is there a way to combine the box operation onto a single line?

Is there a way to combine the 'cast' (box) operation as part of the same statement. Here is what I have currently: let node = dTable.Call("treeNode") let nodeobj = ((box node) :?> AxaptaObject) let meth = nodeobj.Call("AOTFindChild", "Methods") ...

OSX API for accessing data structures similar to Quicktime atoms or MPEG boxes

Hi, Quicktime-, MPEG- or AIFF-files all seem to organize their data elements in chunks like this: 0x00 chunk 1 header (size as UInt32 + ID as 4-char-code) 0x08 chunk 1 data ... 0xA0 chunk 2 header 0xA8 chunk 2 data ... and so on. When reading a file like that, it's easy to skip to the chunk of interest, because each chunk declares it...

Matplotlib square boxplot

Hi all, I have a plot of two boxplots in the same figure. Due to style reasons, the axis should have the same length, so that the graphic box is squared. I tried to use the set_aspect method, but the axis are too different by means of range and the result is terrific. Is it possible to have 1:1 axis even if they have not the same numbe...

Simple jquery popup

I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found." I don't want anything very advanced... How should I go about this? ...

How can I create a Multiple Value Combo box on an Unbound Form

Hi I need your help on MS Access 2007. I have a big problem with my MS Access Unbound Form. How can I create a combo box i do not want bound to a table, show a multiple value List? The Combo is named Sector and want these values to be selected in Multiples 9Which should be possible in Access 2007) from the Drop Down List: Fertilizer, ...

How do I un-highlight a previously selected line in an MFC CListCtrl programmatically (VS 6)?

Does anyone know how to un-highlight a previously selected line in an MFC CListCtrl programmatically ? ...

How can I abort an evaluation in Clojure Box (Emacs)?

I've been caught up in long running computations lately thanks to Project Euler and I'd like to know how to abort an evaluation and return to the REPL prompt. I'm running the standard Clojure Box version of Emacs. I tried the obvious REPL > Interrupt Lisp Process and Slime > Interrupt Command but neither kill the execution and return my ...

How can I box content in LaTeX such that all boxes are on the same line and the same height?

I need to represent calculator key presses by the text for the keys to press surrounded by a box. I tried to get away with just the bare key presses (no box) but I got marked down for it because it would appear my assessor is a bit of a pedant. Anyway, a bit of research turned up the likes of \boxit and \fbox. I gave them both a go but...

how to make two-level chained select box(drop down list) in php+mysql

Hello, I can manage to get values from mysql using select box in php, but i can't make it with two-level chained select box. Anyone have some example code or idea for that? Thanks. ...

ModalBox display only once sitewide

I am using the script called ModalBox. I want to display the ModalBox on page load the first time a visitor reaches my site. Every time after the first visit the modalbox should not display again. How can I do this? I have set up a testing page. Please Visit this page to view my code. Testing Site The code that I am using to pop up the...