New web site with PW 2.1 - Portfolio,
http://www.dafinad.com
Dafina D
Started by drilonb, Nov 22 2011 07:02 AM
3 replies to this topic
#3
Posted 22 November 2011 - 08:31 AM
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:
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 ,
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 ,
You can't just ask customers what they want and then try to give that to them. By the time you get it built, they'll want something new.
#4
Posted 09 December 2011 - 09:32 AM
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?"
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?"
@somartist | modules created | support me, flattr my work flattr.com
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













