Results 1 to 7 of 7

Thread: jQuery options in Dreamweaver CS

  1. #1
    Join Date
    Mar 2010
    Posts
    330

    jQuery options in Dreamweaver CS

    Hello,
    I am a beginner in the creation of websites, I am trying to find an tutorial on this specially on the javascript or on action script. I have downloaded jQuery, but I do not know how to use it. What do you call a folder? I recorded it in the root folder of my site but fails dream according to menu. More generally how to make a javascript call to an object with dreamweaver? Any help regarding this topic is appreciated. Thank you.

  2. #2
    Join Date
    Dec 2009
    Posts
    296

    Re: jQuery options in Dreamweaver CS

    A directory or folder is the same thing, place it in the directory (or subdirectory) where you saved the HTML file. Put the call to the jQuery file in the head tag.
    Code:
    <script type="text/javascript" src="jquery-1.2.1.js"> </ script>
    Now, you can access the methods of the jQuery library in the rest of the page. Your html file it is placed in the same folder as jQuery? And if so you must insert the code. In the "head" tags of the html page:
    Code:
    <script type="text/javascript" src="jquery-1.2.1.js"> </ script>
    But beware, if you just downloaded jQuery, the filename is not the same in all the cases.

  3. #3
    Join Date
    Mar 2010
    Posts
    330

    Re: jQuery options in Dreamweaver CS

    Thank you very much for your answer. Actually, I corrected the script for the version of jQuery. jQuery and my html page are registered in the same place or in my root folder. Problem- Even after changing the version of jQuery, it does not work . I copy / paste the entire property last script, this script should also find himself between <head>?

  4. #4
    Join Date
    Dec 2009
    Posts
    178

    Re: jQuery options in Dreamweaver CS

    The .js file that contains the JavaScript library jQuery should actually be called with an HTML SCRIPT element placed in the HEAD. But this does not suffice to establish this menu. If you follow the tutorial, it should clearly appear to you. Beware, this is a tutorial, not bits of code to copy and paste without understanding them. It's like cooking recipes is not by copying and pasting the page of the cookbook in a pressure cooker that makes this dish. You need to have clear ideas on building a static site in HTML and CSS to understand it. And then he must have some knowledge of JavaScript (basic syntax, how to perform a function) to navigate. All this time and therefore requires prior learning.

  5. #5
    Join Date
    Dec 2009
    Posts
    192

    Re: jQuery options in Dreamweaver CS

    If the file jQuery and html page are in the same folder, it should suffice to use the script tag to load the library:
    Code:
    src="jquery-1.2.6-min.js" <script type="text/javascript"> </ script>
    You can verify that jQuery is installed by adding a small script below:
    Code:
    src="jquery-1.2.6-min.js" <script type="text/javascript"> </ script>
    Code:
    <script type="text/javascript"> $ (function () (alert ('jQuery ok'); });</ script>
    If a dialog box appears when loading the page, it's good After that, if the menu does not work, then there is a concern elsewhere.

  6. #6
    Join Date
    Mar 2010
    Posts
    372

    Re: jQuery options in Dreamweaver CS

    I try to do the 2 together My goal is not to obtain an accordion menu "for show" than to learn through it a few concepts. I already pasted the basics of javascript, how it works, functions, variables, scripts etc. ... to understand a little about what they say but it remains complex. So the best way - for me is to put their hands in the dough to settle all abstract concepts yet

  7. #7
    Join Date
    Nov 2009
    Posts
    518

    Re: jQuery options in Dreamweaver CS

    1 / / Check with windows explorer the jQuery library (the *. js) and your page (*. html I presume?) are in the same directory.

    2 / / Verify that the name of the jQuery library (the *. js) is the same as fill in your script tag ("jquery-1.2.6-min.js" normally)

    Once these two are certain and verified, displays your page in the browser, do "View page source code, and let us copy / paste.

Similar Threads

  1. JQuery-Problem in multiple select options
    By Nadiaa in forum Software Development
    Replies: 4
    Last Post: 18-02-2010, 10:53 PM
  2. Is jQuery is best Js frameworks
    By Aashirya in forum Software Development
    Replies: 5
    Last Post: 11-02-2010, 01:38 AM
  3. Dreamweaver: No Border options in Properties
    By PasadenaDave in forum Windows Software
    Replies: 3
    Last Post: 22-08-2009, 11:36 AM
  4. Manipulate jQuery with PHP
    By Zecho in forum Software Development
    Replies: 5
    Last Post: 16-06-2009, 02:14 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,830,773.82682 seconds with 16 queries