Results 1 to 10 of 23
-
1st Mar 2012, 04:05 PM #1OPMember
JavaScript problem
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.
Code:Uncaught TypeError: Object #<Object> has no method 'superfish'
help pl0x?
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>
ChosenOne Reviewed by ChosenOne on . JavaScript problem 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. Uncaught TypeError: Object #<Object> has no method 'superfish' This line seems to be wrong: $('ul.menu').superfish({ help pl0x? sorted tnx to shadow.prx Rating: 5
-
1st Mar 2012, 04:10 PM #2MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comyou added the superfish plugin in header?
-
1st Mar 2012, 04:12 PM #3OPMember
Are you talking about this?
<script src="/js/superfish.js" type="text/javascript"></script>
yes i got that but it wont work
-
1st Mar 2012, 04:12 PM #4MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comyou have a link to your site?
-
1st Mar 2012, 04:16 PM #5OPMember
This is everything I link with:
Code:<script src="/rjquery-1.6.3.min.js" type="text/javascript"></script> <script src="/rcufon-yui.js" type="text/javascript"></script> <script src="/rcufon-replace.js" type="text/javascript"></script> <script src="/rOswald_400.font.js" type="text/javascript"></script> <script src="/rsuperfish.js" type="text/javascript"></script> <script src="/rjquery.hoverIntent.js" type="text/javascript"></script> <script src="/rFF-cash.js" type="text/javascript"></script> <script src="/rscript.js" type="text/javascript"></script> <script src="/rtms-0.3.js" type="text/javascript"></script> <script src="/rtms_presets.js" type="text/javascript"></script> <script src="/rjquery.easing.1.3.js" type="text/javascript"></script> <script src="/rbackgroundPosition.js" type="text/javascript"></script> <script src="/reasyTooltip.js" type="text/javascript"></script>
-
1st Mar 2012, 04:24 PM #6MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comsorry, i can't see the problem, pm me your url if you don't want to post it here
-
1st Mar 2012, 04:33 PM #7MemberWebsite's:
sborg.us"I got this problem when running the site on localhost"
Why does every link have 'r' before the JS file? rjquery/rsuperfish??
V3g3ta | Halcyon | Abhi
-
1st Mar 2012, 04:39 PM #8MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comsorry, didn't saw that
maybe path to plugin is wrong?
-
1st Mar 2012, 04:42 PM #9OPMember
sorry first post edited and the path is correct thats not the issue
-
1st Mar 2012, 04:56 PM #10MemberWebsite's:
sborg.usAwrite Borce
Do you have any cache plugin installed on your localhost too?
V3g3ta | Halcyon | Abhi
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Settle Problem My PopUP Javascript
By kedenya in forum Completed TransactionsReplies: 1Last Post: 9th Aug 2011, 06:34 AM -
Problem using javascript in form field
By abhikala1 in forum Web Development AreaReplies: 4Last Post: 19th Apr 2011, 10:52 PM -
Need Javascript Help
By Netguy in forum Web Development AreaReplies: 7Last Post: 19th Mar 2011, 03:24 PM -
Help About JavaScript
By macypro in forum Technical Help Desk SupportReplies: 1Last Post: 7th Dec 2010, 12:23 AM -
help with some javascript
By bumilad20 in forum Web Application/Script SupportReplies: 2Last Post: 3rd Jun 2010, 05:01 AM
themaRegister - register to forums...
Version 3.46 released. Open older version (or...