Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
I need some help with achieving hover effect with black textbox using html and css as below google search example. Pls advise
enter image description here
I have tried using title tag for mouse over effect but i like to achieve the same look as google search page
this little hover effect can be made in js I think
look after modal in javascript.
Basically. you hard code this textbox in HTML then you add a class on it with a display:none to hide it.
Then with javascript you add / remove this class when the user click in the input ( focus mode). when the class is added, then display:none is active so the modal is hidden. when the class is removed ( when the user focus the input form) the modal appear.
At least this is how i would do it.
https://www.w3schools.com/howto/howto_css_modals.asp should help
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
enter image description hereenter image description here
So i'm trying to have a hover effect on my filter as shown on the html and css above but it not applying. However i have figured out that if i remove my "div pul" it works fine but on the other hand I need that div "pul" in order for my filters to be responsive on the mobile side, so if anyone have an other solution to offer it will be much appreciated. I have tried a number ways but nothing.
here is my website: https://mitch73.github.io/Reservia/
Your hover-css is applying.
Your problem is, the a element is an inline element and therefore margin-top is not applied to it.
here is a js-fiddle with your code:
https://jsfiddle.net/edwkaL1c/1/
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
hi there how can create a custom sidebar menu in bootstrap or foundation
exact like this site:
http://zurb.com/word
I found one in here via boostrap.
enter link description here
it's like first one but it open over page. I want body be resize (not hidden or overflow)
another example is w3schools.com menu side.
The bootstrap one IS resizing the page when you click the button at the top. It only covers the page when you hover. To get exactly what ZURB.com is doing, you can use the bootstrap template that you linked, and add some jquery like this: (I got this jquery by modifying the sidebar js file form the bootstrap page that you linked.)
$("#sidebar-wrapper").hover(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled-2");
$('#menu ul').hide();
});
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Please reference http://imdarrien.com/#
When you open a modal, say profile, then close it again using esc, you can see that the content shifts left when the sidebar is re-added. How can I prevent that shift? I've tried adding overflow-y:visible to html but the shift still occurs.
When you click to open the popup, remodal-is-locked added to the html tag. The class removed after the fade-out animation was ended.
The problem is that when you close the popup, the html's overflow:hidden still exist because the class remodal-is-locked so in this situation both of the scrollbars (html or the popup) are showing, so the content is in specific position. Just after the animation wan ended you remove the class and html "get" his scollbar again.
P.S. The problem is in the remodal.min.js script so you have to edit this file. I try to point you to the specific place although the script was minified.
red - the close function.
green - the callback function, after the animation was ended.
blue - the function which remove the class remodal-is-locked from the html.
The solution
Remove the class when you start the fade-out animation. (The purple arrow)
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I'm planning a website and wondering what the best way to create the following item is in CSS:
I want a triangle to appear beneath an item in the menu bar, but the horizontal position of the triangle will change depending on which page the user is currently on (it will highlight the currently viewing menu item)
Is there a way to do this dynamic positioning with just CSS?
All you need to do is download Bootstrap, and create a >div element for your navbar, which you probably already have. Then you need to identify each list item in all your navbar pages as >active, so it gets similar highlights to that of what you want.
To add triangles, you'll need a special CSS class or a downloaded theme.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I've got a strange Problem, but first some description:
First there is a TreeTable - View. In each row, there is a drop-down menu in 1 column.
The drop-down is realized via HTML tag. And here is my problem:
If I click with a normal click on the expand button nothing happens.
If I click with an right click, than the menu will expand. Afterwards it works with a normal left click, too.
So I think the reason for this problem are the event listeners of the TreeTable. So I already added an if-condition and added some logging. The click is always logged, but the drop-down is still react like I've described above.
I thought i could call the expand() Method, but as far as I know, there isn't any way to toggle the expand a drop-down, without using jQuery. (NOTE: Refactoring the size isn't a good solution)
So I'm at the end of my knowledge, maybe one of you knows an solution. Thank You.
I've got an solution: at my listener I added this: target.focus(); target.click(); (target is the -Element) Now it works fine. Might I'm adding an if-condition...