1st post door opened by default?

Viewing 10 posts - 1 through 10 (of 10 total)
  • #2408
    hugp
    Participant

    Hi and thanks for that great theme!

    I’m trying to see if it’s possible that the first post (door) in gallery view can be opened by default.

    Also, can we show in home page gallery posts from only one specific category?

    Thanks!

    #2409
    Daniel Tara
    Keymaster

    You can use the [code]sticky[/code] class. [url=http://www.jeremymartin.name/examples/kwicks.php?example=5]See this example[/url].

    #2410
    hugp
    Participant

    Thanks!

    #2411
    razorfrog
    Participant

    Can you elaborate on that? I’ve made a post sticky and it doesn’t seem to have changed anything. I imagine some code needs to be changed? Can you point me in the right direction? Thanks!

    #2412
    icontraptions
    Participant

    Also looking for this code…

    #2413
    Roelemanski
    Participant

    Also looking for code. I don’t understand ‘sticky class’. Thanks

    #2414
    jgarboden
    Participant

    I am also in need of this code or further explanation on how to use sticky class

    #2415
    boxyboom
    Participant

    For info, you can do this by simply re-initalising the slider (using the sticky class)

    Post something like this:

    [code]<script type=”text/javascript”>

    $().ready(function() {

    $(‘#slides’).kwicks({

    min : 105,

    spacing : 0,
    sticky : true,

    event : ‘click’

    });

    });

    </script>[/code]

    in loop-slider.php

    See it in action at http://boomboxy.com/

    #2416
    mga
    Participant

    Try to put this code in home.php :
    [code]
    <script type=”text/javascript”>

    jQuery().ready(function() {

    jQuery(‘#slides’).kwicks({
    min : 105,
    spacing : 0,
    sticky : true,
    defaultKwick: 1,
    max:605
    });

    });

    </script>
    [/code]
    just after
    [code]
    <div id=”slider”>
    [/code]

    #2417
    Martin2
    Participant

    I\’m sorry, I don\’t understand what you\’re doing…
    I changed my files and it doesn\’t work! I\’m working on local (EasyPHP).
    I\’ve made 3 modifications, is it right?

    Can you just put your home.php online please ?

    Please help me :/

    Thanks a lot!

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.