Jump to content
php.lv forumi
  • 0

Side Menu


daGrevis

Question

Sveiki!

Vēlējos izveidot ko līdzīgu šim ( http://www.dotastrategy.com/ ) side menu (sānā, saprotams), bet nesaprotu, kurš kods ir tieši tam menu (viss tur pārāk haotiski). Nav kas tamlīdzīgs jau gatavs? :)

// Ar cienu, daGrevis.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

div + position: aboslute + js

Elementārs Js varētu izskatīties šādi, ja lieto jQuery

var boxTop = '100px';
$(window).scroll(function (){
 $("#mySidebar").css("top", boxTop);
});

Un visa problēma. Protams, priekš UI var kādu efektiņu uzlikt.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...