drilonb Posted November 22, 2011 Share Posted November 22, 2011 New web site with PW 2.1 - Portfolio, http://www.dafinad.com Link to comment Share on other sites More sharing options...
WillyC Posted November 22, 2011 Share Posted November 22, 2011 Sweet it is site drilonb. Femergency kit I.must have. I like your site. For what are "#" sign in urls for? Link to comment Share on other sites More sharing options...
drilonb Posted November 22, 2011 Author Share Posted November 22, 2011 This is for javascript to scroll content for pages those pictures all are pages not Images in one page, if i remove # link will break and work wrong, here a example code: <?php $children = $page->children("sort=-sort"); foreach($children as $portfolio) { $image = $portfolio->images->first(); $thumb = $image->size(0, 450); echo" <article id={$portfolio->name} class=slide data-category=portfolio data-og-title='{$portfolio->title}'> <a href='#/{$portfolio->name}' class=slide-link> <img src='{$thumb->url}' alt='{$portfolio->title}'/> </a> <div class='titullifoto'>{$portfolio->title}</div> </article>"; U see " <article id={$portfolio->name} is same like <a href='#/{$portfolio->name}' just i add this to link #/ to work fine with java" java generate multiple articles and them need to define same like name where is the post and same for article id to show it in content , Link to comment Share on other sites More sharing options...
Soma Posted December 9, 2011 Share Posted December 9, 2011 Really nice Site, well done. But it took me a while to see there's more content when clicking on a "item" far right... I almost left thinking "where is the content?" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now