Hi!
Could you tell me how i can add JS in my bootstrap layout in right way.
I uncluded JS in Finctions.php this way (see the function.php below)

But only bootstrap.js is working. 

I want my menu looks like this  
http://filamentgroup.com/examples/rwd-nav-patterns/
But after adding scrips my progect looks not very nice http://b.pusku.com/
What i did wrong in adding JS or smth?
Thank you! 

function wpbootstrap_scripts_with_jquery()
{
// Register the script like this for a theme:
wp_register_script( 'custom-script', get_template_directory_uri() . 
'/bootstrap/js/bootstrap.js', array( 'jquery' ) );
wp_register_script( 'custom-script', get_template_directory_uri() . 
'/bootstrap/js/respond.js', array( 'jquery' ) );
wp_register_script( 'custom-script', get_template_directory_uri() . 
'/bootstrap/js/jquery.js', array( 'jquery' ) );
wp_register_script( 'custom-script', get_template_directory_uri() . 
'/bootstrap/js/rwd-nav.js', array( 'jquery' ) );
wp_register_script( 'custom-script', get_template_directory_uri() . 
'http://filamentgroup.com/mint/?js' array( 'jquery' ) );
// For either a plugin or a theme, you can then enqueue the script:
wp_enqueue_script( 'custom-script' );
}
add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '
[b]     ',
        'after_title' => '[/b]

',
));
?>

Reply via email to