I'm doing my first ever website and have found this site to be a fantastic resource. I've got to a step now that I thought would be really easy but is apparently rather complex.
I need images in Zoo Effects Galleriffic Gallery to to take the user to a page where they have to input their name and email address before downloading an attached specification.
I am using WordPress with the theme Masterful Business (by PandaThemes) which has a jQuery processor. I'm told I need to write the command into the jQuery, however I have no idea how to do this or where to insert the information that I found to do it? can anybody help me out by explaining it in simple terms please? I've found this information, I just need the hows and whats!
function post(url, params, urlEncoded, newWindow) {var form = $('<form />').hide();form.attr('action', url).attr('method', 'POST').attr('enctype', urlEncoded ? 'application/x-www-form-urlencoded' : 'multipart/form-data');if(newWindow) form.attr('target', '_blank');function addParam(name, value, parent) {var fullname = (parent.length > 0 ? (parent + '[' + name + ]') : name);if(value instanceof Object) {for(var i in value) {addParam(i, value[i], fullname);}}else $('<input type="hidden" />').attr({name: fullname, value: value}).appendTo(form);};addParam('', params, '');$('body').append(form);form.submit();}
Thanks, Lauren