Lines Matching refs:opts
34 $opts = array(
50 $opts['width'] = $matches[1];
51 if(!$matches[2]) $opts['width'] .= 'px'; //default to pixel when no unit was set
52 $opts['height'] = $matches[4];
53 if(!$matches[5]) $opts['height'] .= 'px'; //default to pixel when no unit was set
56 $opts['height'] = $matches[1];
57 if(!$matches[2]) $opts['height'] .= 'px'; //default to pixel when no unit was set
63 $opts['scroll'] = false;
66 $opts['border'] = false;
69 $opts['fullscreen'] = true;
72 $opts['align'] = $matches[1];
75 return $opts;
84 $opts = array(
89 if(!$data['border']) $opts['frameborder'] = 0;
90 if(!$data['scroll']) $opts['scrolling'] = 'no';
91 if($data['align']) $opts['align'] = $data['align'];
92 $params = buildAttributes($opts);