Allows for easy change of the webphones iframe size via options.php
Change current <iframe> code to
- Code: Select all
$webphone_content = "<iframe src=\"$WebPhonEurl\" style=\"width:" . $webphone_width . ";height:" . $webphone_heigth . ";background-color:transparent;z-index:17;\" scrolling=\"auto\" frameborder=\"0\" allowtransparency=\"true\" id=\"webphone\" name=\"webphone\" width=\"" . $webphone_width . "\" height=\"" . $webphone_heigth . "\"> </iframe>";
then add the following lines into options.php
- Code: Select all
$webphone_width = 450; # set the webphone frame size
$webphone_heigth = 500; # set the webphone frame size
I know its nothing huge but still nonetheless it was very useful for me.