Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [URL Link] Slide To Unlock Re: [URL Link] Slide To Unlock

#48962
Twizted
Member

Ok I got it figured out.

All I needed to do was to add one line of code to the
“scrolltounlock” javascript file.

For those who would like to be able to have it “jump”
to any URL of your choice, just modify the JS file
mentioned above.

Locate this section (is at the top) and add in the line:
window.location … (seen below.)

*** Do not copy and paste because there are spaces separating the code ***

$ ( function () {

$( “#slider” ). draggable({
axis: ‘x’,
containment: ‘parent’,
drag: function(event, ui ) {
if ( ui.position.left > 550) {
$ ( “#well” ). fadeOut();
window. location= ” http:// URL OF YOUR CHOICE “;
} else {