This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hello Joe, thank you for the complete instructions on getting JQuery local and setting the layout master to use ui-lightness.
At this point I am down to one error:
Microsoft JScript runtime error: Object doesn't support property or method 'accordion'
The script is obtained from ScriptLoader.cs but specifically, it does not like:
private void SetupInitScript() { if (includejQueryAccordion) { // this also includes jqueryui tabs
StringBuilder initAutoScript = new StringBuilder(); initAutoScript.Append(" $('div.mojo-accordion').accordion(" + jQueryTabConfig + ");"); initAutoScript.Append("$('div.mojo-accordion-nh').accordion(" + jQueryAccordionNoHeightConfig + "); "); initAutoScript.Append("$('div.mojo-tabs').tabs(" + jQueryTabConfig + "); $('input.jqbutton').button(); ");
Does this have something to do with the browser loaded by Visual Studio 2010?
Thanks again,
Carl
accordion is part of jQueryUI. It sounds like the jQueryUI script is not being loaded.
Hope that helps,
Joe
Thanks Joe,
I re-read the "how - to" guide and noticed that from step 6 to step 7, I was still in the /themes directory when I copied the jquery-ui java script file. Once I moved it to the jqueryui182 parent directory everything worked with out stopping with the load error.
http://www.mojoportal.com/self-hosting-jquery-and-jquery-ui-files.aspx