//Tag to include javascript in document head.
function ras_rollover_js($atts) {
extract(lAtts(array(
'default_text' => ''
),$atts));
$out = ''.n;
return $out;
}
//Creates an anchor link or image that activates text when hovered over.
function ras_rollover_src($atts) {
extract(lAtts(array(
'rollover_text' => 'rollover_text',
'display_text' => 'link_text',
'source_url' => '/index.php',
'source_image' => '',
'class' => __FUNCTION__,
'escape' => '',
'html_id' => '',
'id' => '',
'name' => '',
'wraptag' => ''
),$atts));
if($source_image){
$out = ''.
parse('' )
.'';
} else {
$out = ''.$display_text.''.n;
}
return $out;
}
// Creates a destination text node for display of rollover text.
function ras_rollover_dest($atts) {
extract(lAtts(array(
'default_text' => ' ',
'class' => __FUNCTION__,
'wraptag' => 'p'
),$atts));
$out = '<'.$wraptag.' id="rollover_dest" class="'.$class.'" >'.$default_text.' '.$wraptag.'>';
return $out;
}