hi there. I tried to integrate HTML site in WordPress but shows the following error in google chrome's inspect element. The HTML site works fine on localhost and server tho.
This line seems to be wrong: $('ul.menu').superfish({
[strike]help pl0x?[/strike]
sorted tnx to shadow.prx
Ok so this is how it worked:
1) Added the lines in the correct order.
2. Removed jquery from WordPress default installation.
Code:
Uncaught TypeError: Object #<Object> has no method 'superfish'
This line seems to be wrong: $('ul.menu').superfish({
[strike]help pl0x?[/strike]
sorted tnx to shadow.prx
Ok so this is how it worked:
1) Added the lines in the correct order.
Code:
<script src="jquery-1.6.3.min.js" type="text/javascript"></script>
<script src="superfish.js" type="text/javascript"></script>
<script src="script.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('ul.menu').superfish();
});
</script>
2. Removed jquery from WordPress default installation.
Last edited: