Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Kako napraviti onaj slider s social sharing ikonama

 
Post new topic   Reply to topic    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 07.06.2010 21:04    Post subject: Kako napraviti onaj slider s social sharing ikonama Add user to your forum ignore list Reply with quote

Evo primjera s inc.com-a
http://www.inc.com/articles/2010/05/chile-next-silicon-valley.html

Kada scrollate malo dolje onda vidite lijevo div koji slajda kako vi scrollate, ali nije position:fixed jer ako scrollate na vrh, na određenom mjestu daj div zastane. E, mene zanima kako to napraviti (može i WP plugin, nije problem)...

Hvala Smile))

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
il collonelo



Joined: 10 Mar 2005
Posts: 28
Location: Zagreb

PostPosted: 07.06.2010 21:36    Post subject: Add user to your forum ignore list Reply with quote

Na onScroll event postavis uvijet da nakon xx pixela postavis na dotican element "position: fixed;" i to je to Smile . Upravo je tako to rijeseno na primjeru koji si dao. A za browsere koji to ne podrzavaju napravis fallback sa , npr. , margin-top-om.
Back to top
View user's profile Send private message
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 07.06.2010 21:46    Post subject: Add user to your forum ignore list Reply with quote

Jel ima možda neki dobar tutorial na tu temu?
I koji bi browseri bili problematični po tom pitanju?

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
il collonelo



Joined: 10 Mar 2005
Posts: 28
Location: Zagreb

PostPosted: 07.06.2010 22:11    Post subject: Add user to your forum ignore list Reply with quote

Ah da samo IE6, ali njega bi se moglo zanemariti.

Evo ti nabrzaka primjer napravljen pomocu jQuery-a, samo mu fali preracunavanje vrijednosti initialPosition.left prilikom resizea prozora. Ovo je poprilicno napamet, ali mislim da bi trebalo tako funkcionirat.

http://www.davoreric.com/test/test.html
Back to top
View user's profile Send private message
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 07.06.2010 22:49    Post subject: Add user to your forum ignore list Reply with quote

E hvala puno. Very Happy

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 22.06.2010 11:26    Post subject: Add user to your forum ignore list Reply with quote

Ako nekoga zanima, za Wordpress postoji plugin koji to radi dosta bezbolno, plugin se zove Digg Digg (neka vas naziv ne zavara, podržava i druge servise osim digga). Mislim da Mashable koristi taj plugin za svoj site...

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Display posts from previous:   
Post new topic   Reply to topic    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group