Jump to content


Photo

Dafina D


  • Please log in to reply
3 replies to this topic

#1 drilonb

drilonb

    Distinguished Member

  • Members
  • PipPipPip
  • 93 posts
  • 11

Posted 22 November 2011 - 07:02 AM

New web site with PW 2.1 - Portfolio,

http://www.dafinad.com




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.

#2 WillyC

WillyC

    Sr. Member

  • Members
  • PipPipPipPip
  • 232 posts
  • 375

Posted 22 November 2011 - 08:24 AM

Sweet it is site drilonb. Femergency kit I.must have. I like your site. For what are "#" sign in urls for?

#3 drilonb

drilonb

    Distinguished Member

  • Members
  • PipPipPip
  • 93 posts
  • 11

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:

<?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 Soma

Soma

    Hero Member

  • Moderators
  • 5,058 posts
  • 3825

  • LocationSH, Switzerland

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?"

@somartist | modules created | support me, flattr my work flattr.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users