Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
ABCBlogs's picture
Asked by on Wed 11th Nov 2009
How can i set the parameters of the swf() function in percentage in the swf tools,i want to put this in the node.tpl?

i am using the next code:

<?php
if ($field_ju):
?>

<?php
print swf($node->field_ju<a href="#fn693017498588c570e5d223">0</a>['filepath'], array('params' => array('height' => '500', 'width' => '500')));
?>

<?php
endif;
?>
.
and i want to put the height in percentage, like 100%.

Commenting on this Drupal Question is closed.