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 pofarbati scroler (overflow) u css

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



Joined: 06 Mar 2007
Posts: 49

PostPosted: 07.04.2009 22:38    Post subject: kako pofarbati scroler (overflow) u css Add user to your forum ignore list Reply with quote

kako mogu pofarbati skroler koji se pojavi kad se uključi funkcija overflow. ima neko vec napravljen css za to??
Back to top
View user's profile Send private message
niksy



Joined: 29 Sep 2003
Posts: 727

PostPosted: 07.04.2009 23:00    Post subject: Add user to your forum ignore list Reply with quote

Takvo nesto nativno podrzava samo IE (i Safari u recentnim nightly buildovima). Za cross-browser rjesenje upotrijebi neki od JavaScript pluginova (jScrollPane za jQuery npr.)
Back to top
View user's profile Send private message Visit poster's website Twitter profile
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 29.09.2010 10:48    Post subject: Add user to your forum ignore list Reply with quote

prema uputi sa[url] http://jscrollpane.kelvinluck.com/index.html [/url] muci me gdje da stavim ovo
Then you just need to initialise jScrollPane on document.ready (using a selector which will find the content you want to apply jScrollPane to):

$(function()
{
$('.scroll-pane').jScrollPane();
});
pa ako moze pomoc..
Back to top
View user's profile Send private message
dnk2001



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 29.09.2010 12:14    Post subject: Add user to your forum ignore list Reply with quote

to staviš u head ispod linija u kojima linkaš na jquery

.scroll-pane je ime div-a koji će se skrolati..

Code:
      <script type="text/javascript" id="sourcecode">
         $(function()
         {
            $('.scroll-pane').jScrollPane();
         });
      </script>
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 29.09.2010 12:37    Post subject: Add user to your forum ignore list Reply with quote

jel bi to onda bilo ovak:

<link type="text/css" href="style/jquery.jscrollpane.css" rel="stylesheet" media="all" />

<!-- latest jQuery direct from google's CDN -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script>

<!-- the mousewheel plugin - optional to provide mousewheel support -->
<script type="text/javascript" src="script/jquery.mousewheel.js"></script>

<!-- the jScrollPane script -->
<script type="text/javascript" src="script/jquery.jscrollpane.min.js"></script>

<script type="text/javascript" id="sourcecode">
$(function()
{
$('.mojDiv').jScrollPane();
});
</script>

samo, nista mi se ne desava na preview
Back to top
View user's profile Send private message
dnk2001



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 30.09.2010 02:06    Post subject: Add user to your forum ignore list Reply with quote

provjeri da li su ti .js unutar script direktorija.. i probaj ostavit .scroll-pane umjesto mojDiv.. te mojDiv u body-u nazvati scroll-pane..
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 06.10.2010 21:23    Post subject: Add user to your forum ignore list Reply with quote

thanks- proradilo
Back to top
View user's profile Send private message
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