Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello i am working on a college project:
I wanted to work on parallax effect and i made this horizontal scrolling website.have a look
http://jsfiddle.net/karn21/6S9Kt/[^].
Now when i try to place this menu (check link please)
http://www.red-team-design.com/wp-content/uploads/2012/04/interactive-menu-css3-jquery-demo.html[^] in the third division i cannot see anything on the output window.
Can somebody help me where i might be wrong?
Posted

1 solution

That is due to css height property in wrap div.
CSS
#wrap {
    height:100%;
    width:500%;
    overflow:hidden;
}


[Update After OP mentioned that he/she want to put the "ul" inside div id="three"]

I have done this.

Check - [Issue] Placing a menu in a div[^].
The "ul" inside "three" div was taking position: fixed. So, that was the issue.

I have added one new CSS style in the fiddle to solve this. That is as follows.
CSS
ul.menu
{
    position:relative;
}
 
Share this answer
 
v2
Comments
Karn Singh 30-Dec-13 4:01am    
no it is still not working if i place the code in third div i still cant see anything.If i place it on first div i can partially see it but on scrolling to next div it is not changing position.
Give me the updated jsfiddle link where you have added that div.
Karn Singh 30-Dec-13 4:08am    
i tried placing it in third div..http://jsfiddle.net/karn21/6S9Kt/1/
I thought you are trying to place a new div, but you are trying to place it inside the div three. So, let me check what is the issue. I will come back and reply you again after some time.
I have done this.

Check - [Issue] Placing a menu in a div[^].

The "ul" inside "three" div was taking position = fixed. So, that was the issue.

I have added one new CSS style in the fiddle to solve this. That is as follows.

ul.menu
{
position:relative;
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900