1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dreamweaver is claiming I have a syntax error on line 30

Discussion in 'HTML & JavaScript' started by rps1969, Feb 20, 2010.

  1. rps1969

    rps1969 Newbie

    Joined:
    Apr 6, 2008
    Messages:
    3
    Likes Received:
    0
    Hi all

    Dreamweaver is claiming I have a syntax error on line 30, and for the life of me I cannot see how.

    Below is part of my code and any help would be great...

    Code:
    /*
     * jquery.tools 1.1.2 - The missing UI library for the Web
     * 
     * [tools.scrollable-1.1.2, tools.scrollable.circular-0.5.1, tools.scrollable.autoscroll-1.0.1]
     * 
     * Copyright (c) 2009 Tero Piirainen
     * http://flowplayer.org/tools/
     *
     * Dual licensed under MIT and GPL 2+ licenses
     * http://www.opensource.org/licenses
     * 
     * -----
     * 
     * jQuery JavaScript Library v1.3.2
     * http://jquery.com/
     *
     * Copyright (c) 2009 John Resig
     * Dual licensed under the MIT and GPL licenses.
     * http://docs.jquery.com/License
     *
     * Sizzle CSS Selector Engine - v0.9.3
     * Copyright 2009, The Dojo Foundation
     * Released under the MIT, BSD, and GPL Licenses.
     * More information: http://sizzlejs.com/
     * 
     * -----
     * 
     * File generated: Fri Oct 09 12:07:25 GMT+00:00 2009
     */
    (function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E)
     
  2. unr3al

    unr3al Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 7, 2010
    Messages:
    4,212
    Likes Received:
    746
    Gender:
    Male
    Occupation:
    www.anonymous-proxies.net
    Location:
    Bucharest, Romania
    Home Page:
    Dreamweaver is using IE to parse and display your content so those errors might be from the browser. Anyways that's encoded Java script and it's hard to find the error.
     
  3. lord

    lord Junior Member

    Joined:
    Jan 21, 2009
    Messages:
    176
    Likes Received:
    251
  4. bannedfree

    bannedfree Regular Member

    Joined:
    Jan 31, 2010
    Messages:
    444
    Likes Received:
    43
    Occupation:
    World Wide Web Worker
    Location:
    near an active volcano
    The error: try removing the Open [FONT=&quot]Parenthesis [/FONT] "(" located before the word "function"

    Try it hope it works for you. :dance:
     
    Last edited: Jun 10, 2010