Find Jobs
Hire Freelancers

Adjust Grid layout -> ROWS and COLUMNS are assigned using funtion elseif ($cnt == )

$10-30 USD

Terminado
Publicado hace alrededor de 8 años

$10-30 USD

Pagado a la entrega
I have a code that assigns: - 2 Columns for ROW called LATEST - 3 Columns for ROW called OLDER Code: if ($cnt == 1) { $out_.= '<div class="latest">'; $out_.= '<div class="row">'; } elseif ($cnt == 3) { $out_.= '<div class="older">'; $count_older = 1; } if ($cnt >= 3) { if ($count_older % 3 == 1) $out_.= '<div class="row">'; } $column_class = 'latest-col'; if ($cnt >= 3) $column_class = 'older-col'; $out_.= '<div class="' . $column_class . '">'; /* ----- Coding related to image container ------ */ $out_.= '</div>'; if ($cnt == 2) { $out_.= '</div></div><!-- latest -->'; } else if ($works_count == 1) { $out_.= '</div></div><!-- latest -->'; } else if ($cnt >= 3) { if (($count_older % 3 == 0) || ($works_count == $cnt)) $out_.= '</div><!--row-->'; if ($works_count == $cnt) $out_.= '</div><!-- older -->'; $count_older++; } I need to keep 2 Columns for ROW LATEST. and 2 Columns for ROW OLDER ------ instead of 2 as is set in the code above. Thank you
ID del proyecto: 9779085

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, This is a very straightforward task. I believe you need it done asap. I can do it quickly if you accept my bid. Looking forward...
$15 USD en 1 día
4,9 (73 comentarios)
5,7
5,7
6 freelancers están ofertando un promedio de $25 USD por este trabajo
Avatar del usuario
Dear! I am really interested to work on this project, i am sure do quality work. I can start the work now , and can provide the best services from my end. Please come on chat to discuss more about the project. Thanks! Mr Khoa
$24 USD en 1 día
4,8 (37 comentarios)
5,3
5,3
Avatar del usuario
ROYAL ID offers a wide-ranging list of services to meet all your web design and development requirements. We are equipped and knowledgeable to better provide a face for your company on the Internet. Kindly let us know if you have any requirements to improve or maintain your website. The services that we provide includes : Static Websites Dynamic Websites E-commerce Websites with payment gateway Content Management System (CMS Website) Email Creation / Marketing Dedicated Hosting for the Websites Search Engine Optimization (Basic & Advanced) Google Ads Social Media Marketing Website Maintenance Graphics Designing (Logo, Brochure)
$25 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have a lot of experience in writing, editing and manipulating php and js, especially in bigger projects/software products (like your excerpt seems to be). I will be definitely able to achieve what you require
$24 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ITALY
San Giovanni Ilarione, Italy
5,0
23
Forma de pago verificada
Miembro desde ago 27, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.