pablo741
07-01-2015, 18:28
jest jakieś rozszerzenie lub trick, aby tabele w joomla były responsywne?
przy próbie korzystania ze sposobu Piotra Nalepy (link (http://blog.piotrnalepa.pl/2013/02/27/joomla-responsywne-tabele-w-joomla-3-0/)) dostaję:
Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '$' in C:\xampp\htdocs\tas\templates\szablon_tas\index.ph p on line 172
linia 171 i dalej u mnie:
<?php $(function() {
$('table', 'article[class^="item-page"]').footable({
tablet: 768,
phone: 480
});
});
?>
<?php $(function() {
$('table', 'article[class^="item-page"]').footable({
tablet: 768,
phone: 480
});
}); ?>
przy próbie korzystania ze sposobu Piotra Nalepy (link (http://blog.piotrnalepa.pl/2013/02/27/joomla-responsywne-tabele-w-joomla-3-0/)) dostaję:
Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '$' in C:\xampp\htdocs\tas\templates\szablon_tas\index.ph p on line 172
linia 171 i dalej u mnie:
<?php $(function() {
$('table', 'article[class^="item-page"]').footable({
tablet: 768,
phone: 480
});
});
?>
<?php $(function() {
$('table', 'article[class^="item-page"]').footable({
tablet: 768,
phone: 480
});
}); ?>