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'm currently on this project:
http://www.webjor.com.br/
as you can see, the background for the header is pretty big, it have 900px height and comes all the way down the page, is stays over the content in the middle... aaaand thats my problem, I need the content to be clickable, so I can use buttons and outer stuff.. do you guys have any idea how I can do that? I don't wanna to slice the header background, it will be pretty anoying to fits the pattern if i did that..
Can use CSS pointer-events: none...mouse events will pass through the element on top to underlying ones.
Beware however this is a CSS3 feature and not fully supported across all browsers. Personally I would consider redesigning layout
MDN Pointer-events Docs
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Well there is a very wiered issue with my website, I don't know what is the reason. i have hyperlinks on images, but when I click on images, they leave their place. i am sharing a screen shot for better understanding.
Before Click
After Click
Kindly tell me what else I have to share. As I on't know the reason so I am not sharing any css or js
Regards
Since this fixed it in the comments I'll post here so others know. When an image starts jumping around when clicked it means that there is most likely a border around the active state. To fix it simply set :
a:active{border: none!important;} //!important may be overkill
The same holds true for if it dances around when you hover over it
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
Please excuse me if this is not possible, but I am looking for some direction on reproducing this animation without using flash.
The animation can be found on http://flatuicolors.com/
It occurs when you click a color, triggering a full screen animation with text.
I am not looking for specific code, just some ideas on if/how this is possible to simulate with JS/jQuery, the core functionality being triggering a similar animation on click with text. It only needs to be functional on desktop, as it would be used in a webapp that would not require it for mobile.
Thank you
Yes, it's just an overlay element that's fading out.
The text-zooming-out illusion could be created by animating the font-size.
Here's a simple fiddle http://jsfiddle.net/wbFUP/2/ using
.animate()
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 have this bug happening in my site where my menu drops down and instead of being render on top there is this one area that is under the table.
I am looking for an answer but am not sure exactly what is the bug called, or if it is a CSS, java script, or library problem. The menu is created using Kendo Ui and the table/Grid is created using JqxGrid. If you guys can help me identify the name of this behavior it will help me a lot in finding the solution. Or if you know the reason that is even better. Before I show code I would like to try to solve this on my own. Thank you.
It looks to me like an issue with your CSS. The row of the grid you have is at a higher z-index than your menu. In my experience the best thing to do is to explicitly (where possible) give your menu items z-indices higher than anything else you have on the page (or would want). eg. if your highest z-index is 100, use 1000 for the menu.
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 want to change the text in the header of my page (the header sticks to the top) when scrolling down that page.
Each time you pass the bottom of the current div, the text in the header changes again.
This is a prefect example of what I want: prss.com.
I'm pretty bad with javascript and jQuery, so if annybody has a solution...
Thanks in advance,
Jasper
You can simply use the .scroll() event of the jQuery to detect the user scroll and then do whatever you want based on the scroll position. The latter one you can get using the .scrollTop() function of jQuery.
Here is the JSFiddle, which demonstrates the functionality similar to the one you've provided.
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
When you check this webpage: http://www.google.com/nexus/7/
You see the background image seems like not moving while you scroll.
Is there any JQuery for this?
I think you want to look into Parallax backgrounds.
A Simple Parallax Scrolling Technique might be a good starting point. There are indeed jQuery plugins that can simplify the process, if you wish to use them.
As for actually having a fixed image (as in, a nonmoving background), which is not what I think you want, check out background-repeat and background-attachment: fixed;.