{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/0c2023b868b8ccf681e151fdc3dcc4da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0c2023b868b8ccf681e151fdc3dcc4da","url":"https://api.github.com/users/bueroexit","login":"bueroexit","id":754880},"milestone":null,"updated_at":"2011-10-27T19:47:28Z","labels":[],"assignee":null,"comments":1,"closed_at":"2011-10-27T19:47:27Z","url":"https://api.github.com/repos/davist11/jQuery-Presentation/issues/5","body":"Hi,\r\nI´m not so proofed in jquery/javascript coding. I want the 'navPager' and 'previous/next links' above the presentation.\r\nIf I change the code from\r\n\r\n```javascript\r\n//Add in the pager\r\n        var navPager = '<ol class=\"'+$presentation.options.pagerClass+'\">';\r\n        for(var i = 1; i < $presentation.numSlides+1; i++) {\r\n          navPager += '<li><a href=\"#'+i+'\">'+i+'</a></li>';\r\n        }\r\n        $presentation.append(navPager);\r\n        \r\n        if($presentation.currentHash) {\r\n          $presentation.find('.'+$presentation.options.pagerClass).children(':nth-child('+$presentation.currentHash+')').addClass('current');\r\n          $presentation.count = $presentation.currentHash;\r\n        } else {\r\n          $presentation.find('.'+$presentation.options.pagerClass).children(':first-child').addClass('current');\r\n          $presentation.count = 1;\r\n        }\r\n        \r\n\r\n        //Add in the previous/next links\r\n        $presentation.append('<ul class=\"'+$presentation.options.prevNextClass+'\"><li><a href=\"#prev\" class=\"prev\">'+$presentation.options.prevText+'</a></li><li><a href=\"#next\" class=\"next\">'+$presentation.options.nextText+'</a></li>');\r\n```\r\n\r\nto\r\n\r\n```javascript\r\n//Add in the pager\r\n        var navPager = '<ol class=\"'+$presentation.options.pagerClass+'\">';\r\n        for(var i = 1; i < $presentation.numSlides+1; i++) {\r\n          navPager += '<li><a href=\"#'+i+'\">'+i+'</a></li>';\r\n        }\r\n        $presentation.prepend(navPager);\r\n        \r\n        if($presentation.currentHash) {\r\n          $presentation.find('.'+$presentation.options.pagerClass).children(':nth-child('+$presentation.currentHash+')').addClass('current');\r\n          $presentation.count = $presentation.currentHash;\r\n        } else {\r\n          $presentation.find('.'+$presentation.options.pagerClass).children(':first-child').addClass('current');\r\n          $presentation.count = 1;\r\n        }\r\n        \r\n\r\n        //Add in the previous/next links\r\n        $presentation.prepend'<ul class=\"'+$presentation.options.prevNextClass+'\"><li><a href=\"#prev\" class=\"prev\">'+$presentation.options.prevText+'</a></li><li><a href=\"#next\" class=\"next\">'+$presentation.options.nextText+'</a></li>');\r\n```\r\n\r\nthe slides won´t work. I think the problem is that the code looks to childs.\r\nCould you give me some help please?","html_url":"https://github.com/davist11/jQuery-Presentation/issues/5","title":"Do the 'navPager' and 'previous/next links' above the presentation?","number":5,"id":2071842,"created_at":"2011-10-27T19:39:41Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/98e7524451cd8ec1bf8f644d2c2f01c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"98e7524451cd8ec1bf8f644d2c2f01c9","url":"https://api.github.com/users/davist11","login":"davist11","id":199985},"updated_at":"2011-10-27T19:47:27Z","url":"https://api.github.com/repos/davist11/jQuery-Presentation/issues/comments/2548398","body":"The easiest thing to do would be to leave the JavaScript alone and adjust the CSS position of the pager.","id":2548398,"created_at":"2011-10-27T19:47:27Z"}}