WSN Gallery
jQuery Issues
jQuery Issues
By Paul

Since 5.1.0, WSN uses jQuery. The jquery code is autogenerated and inserted. As a consequence, if you are also using jquery you need to add your additional jquery code in a special way.

First, don't do the jquery include <script> line since that would bring in two jquerys.

If you have content you need in the document ready function -- jquery's "$().ready(function() {" area -- place that in the text file jquery/documentready.txt. It will automatically be included from there.

If you have other jquery-dependent script tags which need to be placed before the </head> tag but after the jquery include -- for example, jquery plugins -- place those in jquery/morejavascript.txt (as full <script> tags).

That's all there is to it.

Rating:


0/5 based on 0 votes. The median rating is 0.

Submitted: 09/29/09 (Edited 10/19/09)

Description: Using jQuery with WSN.

Views: 79 views. Averaging 0 views per day.
In the most recent 30 day period, there've been 0 views.

Previous Article | Next Article

Features Showcase Purchase Services Resources Support