This is the page example I am working on : http://tommywebdesigner.com/Vision.html
I want the part from the Title Vision General till the icon arrow down gets fixed on the top when I scroll down the page. Can you tell me the best method to achieve that?
Basically I have seen an example where the class becomes fixed when the page comes to the div. My case should be similar but without the menu fixed as in this example.
From taking a look at the other examples I’ve located the javascript that takes care of that for you. They use jQuery. Here is the code, Sorry it’s long:
Just make the element that you want the effect for id
submenucontainer. If you want a more direct link to the JS here it is.