', position: 'top right', fade: 2 // fading the semi-transparent overlay looks bad in IE }); hs.Expander.prototype.onMouseOut = function (sender) { sender.close(); }; hs.Expander.prototype.onAfterExpand = function (sender) { if (!sender.mouseIsOver) sender.close(); }"; echo $defaults_javascript; } //add onclick event function add_onclick_replace ($content) { $pattern = "/]*).(bmp|gif|jpeg|jpg|png)('|")(.*?)>(.*?)/i"; $replacement = '$7 '; $content = preg_replace($pattern, $replacement, $content); return $content; } function hlHighSlide_replace($content) { global $post; $defaults = array(); $defaults['quicktags'] = 'y'; $defaults['href'] = 'http://www.ihacklog.com/wordpress/wp-content/themes/irresistible/images/logo.png'; $defaults['src'] = 'http://www.ihacklog.com/wordpress/wp-content/themes/irresistible/images/logo.png'; $defaults['alt'] = 'Enter ALT Tag Description'; $defaults['title'] = 'Enter Caption Text'; $defaults['thumbid'] = 'thumb1'; $defaults['show_caption'] = 'y'; $defaults['show_close'] = 'y'; $content=add_onclick_replace($content); $HSVars = array("SRC", "ALT", "TITLE", "WIDTH", "HEIGHT","THUMBID"); $HSVals = array($defaults['href'], $defaults['src'], $defaults['alt'], $defaults['title'], $defaults['thumbid']); preg_match_all ('!]*)[ ]*[/]{1}>!i', $content, $matches); $HSStrings = $matches[0]; $HSAttributes = $matches[1]; for ($i = 0; $i Close EOT; $HSCaption = {$HSPrvNextLinks} {$HSClose}
%TITLE%