Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now that every script file and script file caller is located we'll start to code.

Modifying layout page

First steps

Copying jQuery files to JSPUI webapp folder

We'll create a folder to accommodate jQuery script file in

No Format

 [dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/static/js/jquery/

We'll download jQuery latest version from http://code.jquery.com/jquery-1.7.2.min.js and copy it into the new folder.

Modifying dspace-tags.tld and LayoutTag.java

 Now we must define a pair of variables that will be passed to LayoutTag class file: scriptaculous and jquery. First we'll start modifying