Reputation: 0 Apprentice
- Active Members
- Active Posts:
- 73 (0.05 per day)
- 27-October 09
- Profile Views:
- Last Active:
- Apr 22 2013 02:28 PM
- Who Cares
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 22 Apr 2013Anyone? Please?
Posted 11 Dec 2012My google search for ASI has failed me, can you please expand further?
Posted 11 Dec 2012Ah, ok. What about the .js errors?
Firefox is showing me the following error:
Timestamp: 11.12.2012 22:44:21 Error: TypeError: $mainmenu.parent(...).get(...) is undefined Source File: http://casadecruz.hostei.com/menu/dacamenu.js Line: 36
It seems that the $mainmenu.parent() call isn't returning any results. The first thing I'd suggest is using jQuery to set the class name, instead of using get() to retrieve the DOM element and set it the old fashion way. (Why not use jQuery, since you already have it loaded.)
$mainmenu.parent().addClass(setting.classname || "dacamenu");
You can also chain .removeClass() in before the .addClass() if you want to clear any other classes out of the element first. If you pass it without parameters, it'll remove everything.
I replaced that line with the above line you provided but now i'm getting these:
Timestamp: 12/11/2012 4:51:25 PM
Error: The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.
Source File: file:///C:/Users/Sasha/DACA/dacamenu.js
Timestamp: 12/11/2012 4:51:31 PM
Error: TypeError: dacamenu is undefined
Source File: http://casadecruz.ho...enu/dacamenu.js
Posted 15 Oct 2012I assumed the value a would be returned and assigned to x and same for y and B
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Full Name:
- Programming Languages:
- Pascal this semester.
alex71385 hasn't added any friends yet.