Trouble with calling java and css
-
Hello i am trying to call java into a settings tab i have created but i dont seem to be having any luck with it can anyone help me please
i have added add_action like this
add_action( 'load-toplevel_page_Booking_System', array( &$this, 'wps_calendar_func' ) ); add_action( 'load-toplevel_page_Booking_System', array( &$this, 'form_admin_css' ) );also the function thats is suppose to call the java script
function wps_calendar_func(){ wp_enqueue_script( 'SpryTabbedPanels'); wp_enqueue_script( 'TabbedPanels', plugins_url( 'Booking_System' ) . '/js/SpryTabbedPanels.js' , array( 'jquery', 'SpryTabbedPanels' ), '', true ); wp_enqueue_style( 'booking_system-style', plugins_url( 'Booking_System' ) . '/js/SpryTabbedPanels.css' );Thank you in advance 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Trouble with calling java and css’ is closed to new replies.