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 to make Floating widget in WordPress

I am working on website http://weekendr.in/, I have subscribe email widget, I want to make it float with page as it moves up and down.
Chander Dhingra
  • 61
  • 2
  • 2
  • 11
0
votes
1 answer

How to add a div after a div that containing two floating divs inside?

I have 5 divs, named Header,A,B,C,D. B and C are floating divs inside A. I put a after C. I have a problem with D (a kind of footer) when B has very long text content. D seems to stay just behind Header and behind B like z-index lower. Here is the…
caglaror
  • 459
  • 1
  • 13
  • 28
0
votes
1 answer

How to make a Menu that Starts static and then scrolls with you?

How would a create a menu that starts off static but then starts to scroll with you when you reach a certain point in a page? EXAMPLES: http://techcrunch.com/ http://www.beyonceonline.com
Razor
  • 73
  • 1
  • 7
0
votes
2 answers

What is wrong in this javascript code?

What is wrong in this code? function FloatMenu() { var scrollAmount = $(document).scrollTop(); var newPosition = menuPosition + scrollAmount; if ($(window).height() < $fl_menu.height() + $fl_menu_menu.height()) { …
inmoon
  • 11
  • 1
  • 5
-1
votes
1 answer

'float' object has no attribute 'insert'

a = [5, -2.5, 3, 4, 12, 17] v = [] b = 0 c = 1 for i in a: if i>0: b = b + 1 print(i, end=" ") elif i<0: v.insert(i) print(v.sum()) i.insert(v) AttributeError: 'float' object has no attribute…
g0lnad
  • 3
  • 2
-1
votes
1 answer

Save the exact value of 1/3

How to save the exact value 1/3? For example in python: x = float(1/3) print (f"{x:.50f}") Result: 0.33333333333333331482961625624739099293947219848633 But I want: 0.333333333333333333333333333333333333333333333333333...
-1
votes
2 answers

using float number with is operator in python

when I give two float numbers, it shows false, why? it should be true. why it shows false?
-1
votes
1 answer

python string to number list

python string contains floating point numbers S = "1,2.5,e,3" I am trying to convert it to number list by ignoring non-number values. numbers = ' '.join(c for c in S) numbers_list = [] for x in numbers: if x.isdigit(): …
-1
votes
1 answer

How to stop a regression table and a graph from floating in a PDF Rmarkdown output?

I am trying to knit a PDF doc using Markdown and the regression table and one of the graphs are not in the place I wrote then in the rmarkdown file, which makes the report looking out of order. I have tried every solution I could find online but I…
H B
  • 1
  • 4
-1
votes
1 answer

numpy dot product with floating point

I was trying to do a dot product using numpy.dot() function. A MWE is given below. import numpy as np a = np.array([1.24912871, 2.45123219, 6.87478761, 8.24982742, 3.31231561, 9.42387436]) b = np.array([2.24912871, 5.45123451, 9.87487986,…
-1
votes
1 answer

image keeps going inbetween two floats, can't clear it

ive been following this guys tutorial, ive timestamped it- and he has a text block that floats to the side. image, which is a div on its own keeps going in the middle when i make one float left and the other float right and i don't know why. enter…
Grace
  • 1
  • 1
-1
votes
1 answer

Excel: How to create a shortcut/floating button to fill a specific cell from anywhere in the sheet?

There is one cell that affects the whole workbook (it selects the active product number). I would like to be able to fill that cell (change the active product) from anywhere in the document, so that I don't have to go back to the specific cell in…
-1
votes
2 answers

how to remove title bar only when it is not floated in QDockWidget

I want to hide title bar in dockwidget when it is not floated. dock = QDockWidget() dock.setTitleBarWidget(QWidget()) dock.titleBarWidget().hide() this is hide the title bar of dockwidget but when it is floated, It doesn't show title bar
dauren slambekov
  • 378
  • 3
  • 15
-1
votes
2 answers

C floating point exception error . . . on a formula for calculating reader grade level

this is a program that counts the number of letters, words, and sentences from input text. in the final section, I am attempting to use a formula and I keep getting a floating point exception. Please help. #include #include…
maaaaannn
  • 157
  • 1
  • 1
  • 5
-1
votes
1 answer

ionic framework floating bubble icon notification

Is it possible to implement floating bubble icon notification over the screen like Facebook in ionic? I've done it, with an external app that catch my ionic app notification. But i want do it with my app.