» Home » position » Page 1
Get Mouse click position and Set that position as cursor Position in asp.net texbox with ajaxToolkit:MaskedEditExtender
by Flip504 in ASP & ASP.net
<asp:TextBox ID="txtZip" runat="server" class="inputbtn" MaxLength="5" TabIndex="10"
Width="80px" OnBlur="return SetZip()"></asp:TextBox>
<ajaxToolkit:MaskedEditExtender ID="meeZip" runat="server" AutoComplete="false" InputDirection="LeftToRight"
Mask="99999" MaskType="Number" MessageValidatorTi

ie8 bug: fixed position div, inside relative position div, inside relative position floated div … doesnt render
by tonix in Web Design

This HTML doesn't render right in IE8. It works in Firefox, Opera, IE7, IE9 and IE10. (Of course, it doesn't work in IE6 either because it concerns a fixed-position element.)

Actually it does something different again in Chrome.

The narrowest test-case I could come up with is:

<!DOCTYPE html>
<html lang="en">

How do I stop a link from changing the position on the page (maintain scroll back position)
by jrok96 in Web Design

I have an href tag with an image nested inside it and I want to be able stop the page jumping back to the top after it is clicked.


the href does not post back it fires a jQuery event on the page.

<a href="#" onclick="javascript:SendPlaylist()" style="border:none;" class="addButton" ><img style="border:none;" src="/Images/icons/icon_add.gif

contentEditable - store caret position as a variable then insert uploaded image in this position
by Venezuela in Web Design

I have a div with contentEditable set to true.

What I currently have is a file upload in an iframe which sets the location of the uploaded file as a variable. I then put the caret in the position I want to add it to the div and click another button to add the image.

What I would like to do is put the caret in position and then click the file upload. Then when I have sele

Ruby: How do I make a loop that prints an array index position's contents UNLESS it's the same as the last position's?
by ancapdev in Programming Languages

Here's my array:

num_arr = ["cat","dog","penguin","penguin"]

I want to print each index position's contents unless those contents are the same as the contents of the last index position. In this case, that would be a loop that prints...


EDIT: I mean I'd like to print everything up to the last element

Calculate a text-position inside a div element into the according position in HTML with Python
by Zack Harvey in Programming Languages

I need to find a way on calculating the position (that means the index of the character position) of text located in a div-element into the according position of HTML-Code. This is necessary because I must be able to insert an element at the position without losing the formatting.

For example I have the following:


<p>Lorem <

position content relative to a fluid width element set to position:fixed
by picamiolo in Web Design

I have a layout with the following requirements

An image on the left side, and content on the right side.

The image is pinned to the bottom left of the viewport

The image does not move when the user scrolls

The image resizes to 100% height of the viewport, up to it's max height. (I don't want the image to distort in it's attempts to be larger than

Firefox and Internet Explorer do not position relative to parent if given position absolute
by Gold in Web Design

I'm having a problem with position: absolute; inside of a container with position: relative;

I think, the default behaviour is, that child elements having position: absolute; are positioning theirselfs relative to their parent container, if that one has position: absolute; or position: relative;

While tryin

Insert record into table with position without updating all the records position field
by futurefields in Databases

I am using MySQL, I don't have a good way to do this.

I have a table with a position field, which I need to keep track having values from 1 to 10,000.

Let's say I insert a record in the middle at 5000th position. So position 5000 to 10,000 need to be updated to the new position; old 5000 become 5001, 5002 becomes 5003...

Is there a good way

Error prompt position issue with validationengine plugin (Position Absolute)
by domis in Programming Languages

I am using Position Absolute's Validation Engine for validating values on form.

The issue is that on validation, the error prompts do not appear attached to the textboxes (input type:text) as they are expected. I know that the issue is with the margin-top that I have given to the textboxes but I cannot change that. Sample code snippet is provided here...


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .