Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Help using Jquery on skin template

  1. #1
    Pdesignz is offline Member
    Join Date
    Oct 2007
    Posts
    33

    Default Help using Jquery on skin template

    Hello,

    I am new to asdnsf and jquery. I have made a duplicate of template.ascx and name it home.ascx. I also have the script references to the jquery js files. I have tried referencing both by using src="jquery-1.3.2.js" & src="skins/Skin_(!SKINID!)/scripts/js/jquery-1.3.2.min.js". I have made a copy of the files and have them both in the root of the skins folder and in a scripts subfolder, but neither seem to work. What I would like to try and implement is a simple jquery accordian widget. I copied the code from the example and works in example but not the home.ascx file that I copied it to. I then loaded an alert script to make sure that is was firing properly, so I added this
    <script type="text/javascript">
    $("document").ready(function() {
    alert("The page just loaded!");
    });
    </script>

    When the page loaded nothing happened. I am using ML Express, so not sure what else I can do to make it work.

    Thank You

  2. #2
    benjamin is offline Member
    Join Date
    Oct 2008
    Posts
    39

    Default ML does not work well with JQuery

    We have the full ML 8.0.1.2 version and we've tried JQuery 1.3.2 and it works fine on Firefox and IE6 SP3, IE7 & IE8, but crashes IE6 SP2. When I launch IE6 SP2 and go to the site, it just closes the app without warning. When I removed all javascript references, it's running fine without crashing. So if IE6 compatibility is an issue, it looks like JQuery and ML8012 does not mix very well, which is a shame, because JQuery is a fairly mature framework.

    Ben

  3. #3
    Pdesignz is offline Member
    Join Date
    Oct 2007
    Posts
    33

    Default

    I was just trying it in Firefox and Chrome, had not yet tried in IE6, I would add a script reference to skin template, then add the simple accordian script. Then added code to homepage and nothing would happen. Any suggestions you can offer would be most appreciated.

    Thanks