Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to recreate this effect that is achieved using the CSS property background-attachment:fixed, but I would recreate that effect using divs, I would recreate that on a h1 tag for example.
Is that possible?
Thanks
you have to customised http://tympanus.net/Blueprints/ScrollingLayout/js/cbpFixedScrollLayout.min.js
to achieve " I would recreate that effect using divs, I would recreate that on a h1 tag for example" instead "section" as it has below code
var cbpFixedScrollLayout=(function(){var a={$sections:$("#cbp-fbscroller > section")...
so it will always create this effect on section element.
so if you want to create it any other tag rather than section then you have yo customise above js, please try to implement it first .
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'd like to use HTML, CSS, and JavaScript to create a menu that looks like so:
Each Chapter has a little "node" to the left of it that when clicked would bring the user to that chapter's dedicated web page. Is this something that could be done using canvas elements in HTML?
You could create the images for the bullets and then use the list-style-image property when styling list. You can then use JavaScript to keep track of the state. Assign the appropriate image based on what the user has clicked.
If you need a sample of the code to get this working let me see how far you get then I can add pointers.
CSS list-style-image
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I wanted to have animation on my content i searched whole day and got something to work on it.I used same technique as they used everything is seems same still when i scroll my website there is no animation on content after slider.
Demo example
My website
Looks like you're missing the imagesloaded.js file used in the example. You need to reference this script in your code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am having a button on my html page, i want a pop-up menu to be appear when button is clicked.
Please see the attached image.
I am not javascript expert.
Please suggest how can i create a pop up menu in html ?
You can use dropdowns from bootstrap framework, you can check this link
http://getbootstrap.com/components/#btn-dropdowns
HTML is only used to structure the page, so you can't make something appear/disappear using only html.
You will have to use javascript for that.
I did find a html 5 way of adding stuff to the context menu (right-click):
http://www.w3schools.com/tags/att_global_contextmenu.asp
but it's currently only supported in firefox.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Hi I'm trying to invert everything on the page except for images? Any help will be appreciated. Thanks.
http://jsfiddle.net/nikita_turing/jVKw6/3/
Bookmarklet
If you can use jQuery, use the pseudo selector :not(img) to select all the elements except images, then set the CSS you want.
Something like
$(":not(img)").css({"-webkit-filter": "invert(100%)","-moz-filter": "invert(100%)","-o-filter": "invert(100%)","-ms-filter": "invert(100%)"});
There are can be two different solutions. Maybe not the best.
The first, Find all images
Then invert elements and invert images back to the first condition.
The second, using jQuery get all img elements and do the same work as in the previous idea.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to have a background "frame", but it is only meant for styling. I want to accomplish this without using bg-image just to avoid having an image, but my concern is that having an additional parent element to the "picture" seems to be unnecessary. What is the best way to go about this? The frame basically just has additional padding and border.
--
I want the inner div to have drop shadow and a border, and the other div to have another border with a variable padding in between. is that possible with styling on a single div?
Do you mean like this? http://jsfiddle.net/Z82Sv/
If so, that's your answer.
[edit]: to clarify, you can do all kinds of things with this, such as http://jsfiddle.net/Z82Sv/1/