Aligns [SOLVED]

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
YoussefSiblini
Forum Contributor
Posts: 206
Joined: Thu Jul 21, 2011 1:51 pm

Aligns [SOLVED]

Post by YoussefSiblini »

Hi Guys,

Please visit this page: http://www.siblinis.com/Templates/GreyTime/test.html.
When you click in one of the years a div will slide dawn, when the div slide dawn The other years move to the right.
What I want to do is when the div slide the other years stay where they are and don't move.

And another thing when I view it in IE8 the sliding div does not show, I am not sure why, as it is showing in GC and FF.

Thank you in advance.


Joe
Last edited by YoussefSiblini on Wed May 16, 2012 11:36 am, edited 1 time in total.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Aligns

Post by social_experiment »

Code: Select all


$(this).find(".About_Years_Desc").css({
			'position': 'absolute',
			'zIndex': '1'
		  });
$(this).find(".About_Years_Desc").slideToggle("slow");;
This stops the div's moving around
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
YoussefSiblini
Forum Contributor
Posts: 206
Joined: Thu Jul 21, 2011 1:51 pm

Re: Aligns

Post by YoussefSiblini »

Thanks you,
This sorted out all my errors,
It stopped the divs from moving, it is working in IE8 now, and it stop the page content from moving when the slide go dawn it just go above it.

Thank you very much :)
Post Reply