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
2 answers

JAVA : possible loss of precision

I wrote the following method in JAVA : public static float surface(float r) { return(4*Math.PI*Math.pow(r,2)); } when I run the class, I got the following error : possible loss of precision required: float; found: double I saw in…
Henri
  • 1,571
  • 5
  • 23
  • 38
0
votes
1 answer

Core Plot: Constrain axis only when it gets near the edge of the graph

I am using Core Plot in my iPad application to plot some data points on a scatter plot. I would like the axes to pan around with the data until one of the axes gets near the edge of the graph. Then I would like that axis to be constrained so that…
EJV
  • 1,009
  • 1
  • 10
  • 17
0
votes
2 answers

HTML/CSS: Divs with percental width + padding and floating

I have a problem and I guess there is a common solution but i didn't know how to search for it properly. I want 2 div floating next to each other, both take 50% each of the width. Now I want to give each of them some padding. What happens is, that…
Fabian
  • 1,806
  • 5
  • 25
  • 40
0
votes
1 answer

How do I implement a sticky Back to Top in Wordpress?

I've been trying to understand how I can convert this tutorial to go for Wordpress. I'm probably doing something wrong with the Javascript - putting it in the wrong place or such.. And I'm not sure if Wordpress already has jQuery script included or…
michaelw90
  • 513
  • 2
  • 9
  • 23
0
votes
3 answers

CSS Positioning and Floating

my jsFiddle I want to write `playing Stephan Malkmus - Out of Reaches radio` but it become line by line in the fiddle. How can i wtite it in a single line?
mcan
  • 1,914
  • 3
  • 32
  • 53
0
votes
2 answers

Footer hides floating nav - Any way to slide floating nav up once it reaches the footer?

I'm trying to add a floating navigation to the side bar. I have jquery floating the nav to the top after you begin scrolling. It works fine at the top, but once you reach the bottom the footer hides the navigation. The navigation needs to scroll up…
Nathan
  • 133
  • 1
  • 1
  • 6
0
votes
2 answers

Jquery Floating Menu does not move

I am trying to create a sidebar that starts scrolling from a certain offset. I followed this tutorial exactly: http://www.htmldrive.net/items/show/253/Floating-HTML-Menu-Using-jQuery-and-CSS Problem is, my sidebar will not budge at all. Anyone has…
0
votes
2 answers

Absolute positioned wrapper with floating children will not expand more than its parent

My question is a duplicate of this question, but I will need a pure CSS solution for this and cannot use JS to fix it. So here are my questions: Why doesn't wrapper expand although it is absolute positioned and should not be limited to its…
Peyman
  • 1
  • 1
0
votes
2 answers

How to stop floating (sliding) div at footer

How can I have a sliding menu div that doesn't move unless the page is scrolled down past a certain point I used the code from this link for a floating menu. it has how to stop the stop float at the header, but not at the footer. How can I modify…
Matt
  • 1
  • 1
0
votes
1 answer

Floating pane behaviour on resize border

I'm new to Dojo. I created a jsfiddle to illustrate my question: jsfiddle.net/xQF7P It doesn't show exactly what happens but it's close enough. If you click on the purple area, a floating pane is created and added to the center region content pane.…
Pablo
  • 1
0
votes
1 answer

HTML5 Canvas Floating Circles

I am trying to create a floating circles effect using HTML5 and canvas. An example of what I'm going for can be seen on https://layervault.com/ You can see the example by going to the 4th slide (titled "Introducing LayerVault for iOS") in the…
user2220474
  • 293
  • 1
  • 4
  • 15
0
votes
5 answers

How to compare floating point numbers and integers

I am trying to create a program that checks if an equation creates a whole number answer but the equation creates floating point numbers that won't compare to integers. When it gets to the first integer, which is supposed to be 390625 it prints it…
Felis Vulpes
  • 33
  • 2
  • 7
0
votes
2 answers

Comparison of float numbers to a known value python

Hi all i have a list that is calculated from functions ab = (x, x1, x2, x3, x4, x5, x6, x7, x8) where x, x1 and so on are float numbers calculated from a distance equation. Is there any way i can take each of these float values in the list and…
user2423678
  • 43
  • 1
  • 8
0
votes
3 answers

CSS floating div falls to bottom of the screen when reducing screen size

I've been taking care of this website for friends of mine (but I barely know the original designer) since last week. I've been working on the PHP mainly, but something bothers me: Basically the main page and the whole design look…
Yves
  • 817
  • 1
  • 6
  • 9
0
votes
1 answer

Percentage widths of floating div tags

I am kind of new to this but I figured the best way to explain my situation was to draw it out so here is the image of what I am trying to do http://d.pr/i/5ez3 Basically is there anyway to have floating divs re-size once they collapse and the…
Enjay
  • 1