Questions tagged [floating]

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

800 questions
0
votes
1 answer

How do I get a right computation for floating numbers in Javascript?

I'm studying Javascript and I was solving a problem that involves a mathematical computation with floating numbers. I kind of heard that Javascript is weird in treating floating numbers but I was surprised when I saw its impact was this dynamic. How…
KyleC
  • 159
  • 1
  • 2
  • 10
0
votes
1 answer

How to let elements (as UIImageView) float in an UIView using constraints

I have 10 images with fixed dimensions (width, height). How do I choose the constraints in the Interface Builder when I want to let all images automatically float without any margin? Like this, in Portrait mode the images would be aligned as 1 2 3 4…
andreas
  • 7,844
  • 9
  • 51
  • 72
0
votes
2 answers

CSS float-left prevent words to go on new line

I have the following code: html

Some long text here that should…

Herr Nentu'
  • 1,438
  • 3
  • 18
  • 49
0
votes
1 answer

How get text right floating and right as a center?

How get text right floating and right as a center? $text = "The epic finale that will live foreve"; $newtext = wordwrap($text, 20, "
\n"); echo $newtext;
Elari
  • 19
  • 5
0
votes
1 answer

bash replace string with floating variable

Im trying to replace a number in a file with a calculated floating variable in a bash file. So im trying to replace 1.1111 with the value of "km" and save it in the mesh.in file. I keep getting an error on the sed line, I think there may be an issue…
Osher Goldman
  • 21
  • 1
  • 4
0
votes
2 answers

Convert Fixed Value to Floating Value in SPSS

I have data in '0' and '1' form in my SPSS data file, but according to my client's need I have to convert it in the form '1','2','3','4','5','6','7','8','9','10','11'. Is there any way to do so in SPSS? If there is, please do let me know. Thanks
Nikhil Gupta
  • 37
  • 1
  • 7
0
votes
0 answers

How to create expander bar at right side of web page?

I am currently trying to create "floating sidebars". By this I mean the social media share button you see in the link below: http://www.socialmediaexaminer.com/instagram-post-notifications-news/ I want to create something similar: a div which is…
ibsof
  • 29
  • 2
  • 7
0
votes
1 answer

Floating DIV on the page using jQuery

I have a question regarding floating div. I want to make the div scroll along the page when user reaches it. In other words: this div is static at the left side of the page. When user scrolls it and reaches the top of the page, the div becomes…
Pandemum
  • 53
  • 2
  • 9
0
votes
1 answer

How to not show Visual Studio 2013 floating doc icons in taskbar?

I am using VS 2013 Express, desktop. I regularly tear off doc tabs and put a doc on my other monitor. That adds an icon to the windows taskbar for each floating doc. How would I stop that? Its very wasteful of space as I do not "combine" icons on…
jmaeding
  • 209
  • 1
  • 2
  • 9
0
votes
4 answers

Return error code as double

I wonder if I can return error code as double in the following way in C: double getValue() { double ret = 0; if (error1) { return -1; } if (error2) { return -2; } return ret = ....; } int…
emba
  • 1
  • 2
0
votes
1 answer

android: floatingaction button for API 19

I am looking for the implementation of floatingaction button for API 19. I am still using ADT . Is there any library that i can directly use in project. I saw some libraries in AndroidSTudio but didnt succeed in porting to eclipse.
png
  • 4,368
  • 7
  • 69
  • 118
0
votes
0 answers

Bootstrap affix fullscreen

I want to do this: "screen" I have page in Boostrap and it is working great. I would like to add floating left div over page. So this is not dependend on content, but its over content. So basically I need CSS position: absolute with dynamic top. I…
0
votes
2 answers

ui header is blocking a div

i have built jQuery drop-down menu which is having problems floating over the UI header. Flash and everything else is fine, menu has no problem floating over anything except UI headers, i have tried messing with z-index in css files but it seems…
Tumharyyaaden
  • 2,733
  • 3
  • 19
  • 20
0
votes
1 answer

Floating an image in a particular way in the WP post editor

I can't float my image the way I want in the post editor. I need to have it sit next to several separate elements (2 different headings + a paragraph), not just one element. And I see no way to do that. Any suggestion would be welcome.
drake035
  • 3,955
  • 41
  • 119
  • 229
0
votes
1 answer

jquery extract float point number with 2 decimal places

I want to extract a float number from a string with 2 or 3 decimal places after coma without rounding (not toFixed) in jquery Examples (2 decimals) '43,999999' => 43.99 '324324243,669' => 324324243.66 '0,229' => 0.22 '0,2' => 0.2 or 0.20 '0.9' =>…
David
  • 45
  • 1
  • 6