Related Post

15 Comments Received

July 22nd, 2007 @5:21 am  

I was playing around with this a bit.

Making the element with “sidebar” id position:fixed; and setting the HREF of the A element to “#void” looks really nice.

It stays on the side as you scroll and doesn’t change the scrolling position when clicked.

September 13th, 2007 @4:15 pm  

A little bug: It flicks when motion is finished in Safari 3.0.3 under OS X.

Best

September 27th, 2007 @10:40 pm  

hi

the menis are awesome, but i have few queries,

the Style code u r placing in the body of the html, can we put it in a .cc file and call in from the body tag, b’cause it will be easy to do modification in one file rather than in all the pages.

one more thing can we use images for the links also as used for the header.

Thanks

September 27th, 2007 @10:58 pm  

sorry i meant in a .CSS file

October 8th, 2007 @4:02 am  

Very nice.. You have helped me lot. Thanks a lot

December 10th, 2007 @3:23 am  

Hey, i have a question, is it possible that it only slides to the left?
So that it doesn’t slide up on opening and closing.

Thanks in advance.
Jonathan

January 10th, 2008 @7:31 am  

How can I set cookie so that when the browser refreshes, the menu state stays the same until the user click on the menu again?

Thanks.

March 24th, 2008 @3:59 am  

Andrew,

Really nice!. Btw, I just corrected that flickering by setting the z-index to a higher value of ’sideBar’ (i.e. the embracing the whole widget) to a higher value (in my case 3).

Last, I had a problem when trying to embed the code in a web page. Namely in the lines:
$(’sideBarTab’).childNodes[0].src = $(’sideBarTab’).childNodes[0].src.replace(/(\.[^.]+)$/,’-active$1′);
and
$(’sideBarTab’).childNodes[0].src = $(’sideBarTab’).childNodes[0].src.replace(/-active(\.[^.]+)$/,’$1′);

for some reason I do not understand, Firefox introduced a childNode just before the “img” child (of type “text”, but with empty properties). I just solved it by doing the same thing as the lines above explicitly,

$(’sideBarTab’).getElementsByTagName(”img”)[0].src = $(’sideBarTab’).getElementsByTagName(”img”)[0].src.replace …
and
$(’sideBarTab’).getElementsByTagName(”img”)[0].src = $(’sideBarTab’).getElementsByTagName(”img”)[0].src.replace(/-active(\.[^.]+)$/,’$1′);

resp.

Thanks

March 31st, 2008 @7:41 am  

I also had to make this adjustment for Firefox 2. I’m assuming the problem was introduced with newer versions of prototype.js. I see that the demo sliding tab doesn’t error in Firefox 2 using prototype 1.5. It errors using the latest prototype release and requires the above or you get an error.

April 15th, 2008 @4:40 am  
June 10th, 2008 @3:10 pm  

I’m just wondering how I can configure this script to have it open - rather than closed as it is by default - when a visitor accesses the website? I would truly appreciate any help!

July 15th, 2008 @12:56 pm  

why did you choose to use prototype and effects instead of mootools for this redesign? is it possible to make these files work for the right floating side or is mootools necessary for that? I’ve tried to modify this but it doesn’t float over top.

I was getting some error with mootools in my websites where ‘undefined’ was repeated over and over again.

July 16th, 2008 @12:05 pm  

is there a simple way to make this go in and then come back out on it’s own without clicking?

August 25th, 2008 @7:57 am  

what about multiple tabs?

is there a way to add more than one tabs?

thanks

Pingback & Trackback
Leave A Reply

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again