external/bbop.js
function _generate_element(ctype, str){

	var message_classes = ['bbop-js-message',
			       'bbop-js-message-' + ctype];

	var message_elt =
	    new bbop.html.tag('div',
			      {'generate_id': true,
			       'class': message_classes.join(' ')},
			      '<h2>' + str + '</h2>');

    	jQuery("body").append(jQuery(message_elt.to_string()).hide());

	// jQuery-ify the element.
    	var elt = jQuery('#' + message_elt.get_id());
    	return elt;
    }
function _generate_element(ctype, str){

	var message_classes = ['bbop-js-message',
			       'bbop-js-message-' + ctype];

	var message_elt =
	    new bbop.html.tag('div',
			      {'generate_id': true,
			       'class': message_classes.join(' ')},
			      '<h2>' + str + '</h2>');

    	jQuery("body").append(jQuery(message_elt.to_string()).hide());

	// jQuery-ify the element.
    	var elt = jQuery('#' + message_elt.get_id());
    	return elt;
    }
function _generate_element ( ctype , str ) { var message_classes = [ 'bbop-js-message' , 'bbop-js-message-' + ctype ] ; var message_elt = new bbop . html . tag ( 'div' , { 'generate_id' : true , 'class' : message_classes . join ( ' ' ) } , '<h2>' + str + '</h2>' ) ; jQuery ( "body" ) . append ( jQuery ( message_elt . to_string ( ) ) . hide ( ) ) ; // jQuery-ify the element. var elt = jQuery ( '#' + message_elt . get_id ( ) ) ; return elt ; }
Generate tags.
Generate tags .