How to include custom jquery
-
I have some JQuery that I would like to uses in WordPress. I developed it outside of WordPress, and it’s working fine, but I am having trouble getting it to work inside of WordPress. The problem is that I am using JQuery custom theme which uses three files instead of the usual one: jquery-ui-1.8.16.custom.css, jquery-1.6.2.min.js, jquery-ui-1.8.16.custom.min.js. Is it possible to include these three files in this one WordPress page instead of the JQuery file normally included?
Following is the head section of my working file that was developed outside WordPress.
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>jQuery UI Example Page</title> <link type="text/css" href="css/custom-theme/jquery-ui-1.8.16.custom.css" rel="stylesheet" /> <style> body { font-size: 62.5%; } label, input { display:block; } input.text { margin-bottom:12px; width:95%; padding: .4em; } fieldset { padding:0; border:0; margin-top:25px; } .ui-dialog .ui-state-error { padding: .3em; } .validateTips { border: 1px solid transparent; padding: 0.3em; } </style> <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script> <script type="text/javascript" src="js/contact_us.js"></script> </head>Thanks for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to include custom jquery’ is closed to new replies.