Can't get sliding box to work - Probably a simple solution
Posted: Wed Mar 11, 2009 11:49 am
Hi there,
I am trying to create an area on my site that has a box of content that can slide in and out. I have found a javascript framework that can do this called http://mootools.net/, and what I am specifically trying to do can be seen here http://demos.mootools.net/Fx.Slide.
Let me point out that I am really not great with java! - So this will hopefully be easy for someone to give me an answer.
My site is here http://www.your-web-designer.co.uk/index.php/home-v3.
I think that the problem lies in the 'href' in the actual <a code in the html?!? see the code below:
I have done everything that I know of to try to get it to work, but when you click on any of the links to make the slide occur, you get sent to the sites homepage.
Any help would be great!
I am trying to create an area on my site that has a box of content that can slide in and out. I have found a javascript framework that can do this called http://mootools.net/, and what I am specifically trying to do can be seen here http://demos.mootools.net/Fx.Slide.
Let me point out that I am really not great with java! - So this will hopefully be easy for someone to give me an answer.
My site is here http://www.your-web-designer.co.uk/index.php/home-v3.
I think that the problem lies in the 'href' in the actual <a code in the html?!? see the code below:
Code: Select all
<div class="marginbottom">
<a id="v_slideout" href="#">slide out</a>
|
<a id="v_slidein" href="#">slide in</a>
|
<a id="v_toggle" href="#">toggle</a>
|
<a id="v_hide" href="#">hide</a>
|
<a id="v_show" href="#">show</a>
| <strong>status</strong>: <span id="vertical_status">open</span>
</div>
<div id="vertical_slide">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>Any help would be great!