TGPX responsive template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • druid66
    Confirmed User
    • Feb 2006
    • 994

    #1

    TGPX responsive template?

    I'm trying to figure it how to use div's instead of tables.

    any idea?

    i'm using such code for displaying thumbs:

    {galleries
    var=$galleries
    type=permanent
    format=pictures
    getnew=true
    allowused=false
    description=false
    preview=true
    amount=20
    previewsize=200x300
    category=xxx
    sponsor=any
    order=clicks DESC}
    <table align="center" cellpadding="5" border="0">
    <tr>
    {* Display loaded galleries as thumbnails in a 5 per row format *}
    {foreach from=$galleries var=$gallery counter=$counter}
    <td align=center><a href="tgpx codes here" target="_blank"><img src="tgpx codes here" width=200 height=300></a><br>visits: {$gallery.clicks|htmlspecialchars}</td>
    {insert counter=$counter location=+5 max=15}
    </tr><tr>
    {/insert}
    {/foreach}
    </tr>
    </table>

    it displays 20 galleries, 5 per one line and numbers of visits under each thumb, now what puzzles me how to change it into divs so it will be scaleable?

    anyone did it with tgpx and wanna share?
    Pure Japan japanese babes blog
  • Nurgle
    Confirmed User
    • Feb 2001
    • 2337

    #2
    if u know how to code divs.. its a piece of cake... if u dont surely u know how to google?
    I am not a megalomaniac.. I just rule the world
    Need Quality Hardlinks? We have several packages and custom deals available.
    *High Quality Hard Links For Sale*
    ICQ: 394016570

    Comment

    • druid66
      Confirmed User
      • Feb 2006
      • 994

      #3
      never really learned divs.
      i can google it and make it ofc but it will take me few hours.
      i just had hope some1 did it and maybe have ready to use template that would fit standard tgpx thumbnail page.
      i'm not lazy, just wanted to save time.
      Pure Japan japanese babes blog

      Comment

      Working...