List of links in jQuery
List of links in jQuery
I would like to have create a list of links for the foot of my site in jQuery.
I came up with the following but it does not work:
- (function( $ ) {
$.fn.footpage = function(options) {
return this.each(function() {
var defaults = {images: [
'<a href="about.html">About</a> -',
'<a href="contribute.html">Contribute</a> -',
'<a href="contactus.html">Contact Us</a> -',
'<a href="emailupdates.html">Email updates</a> ']};
var settings = $.extend(defaults, options || {});
});
};
};})(jQuery);
I'm calling the jQuery function:
- $('#foot').footpage();
Any help would be highly appreciated.
Thanks much
Naika