Is there someone who could help me with a Freeway example of this code for a Slide out tab. Seems fairly simple but I think I’m placing the code in the wrong place or naming the divs incorrectly.
You will see three small tabs on the right which I did.
The feature I am after is having the tab stick when clicked once and then link on the second click. The jquery allows for this. This is helpful on touch devices.
Upload that JS file to your own server and link to it there.
The code also references an older version of jQuery (1.3) so if you are using jQuery elsewhere on the same page you could try leaving the reference to the older version out - or try with a newer version ie
Would you be able to create a Freeway document example of this so I can compare where the code goes and the class names. I think that may be where the problem is.
This is exactly what I’m trying to on my site. Right now I have a simple a:hover tag set up so that on mouseover the tab expands to 145px. I need it to stick on hover. See below link.
Tell me exactly how you are constructing this - or better yet provide a download link to your FW file.
Do not try and create the Div that the contact tab appears in. I believe that the script does that for you from the parameters you set in the plug in options
$('.slide-out-div').tabSlideOut({
tabHandle: '.handle', //class of the element that will be your tab
pathToTabImage: 'images/contact_tab.gif', //path to the image for the tab *required*
imageHeight: '122px', //height of tab image *required*
imageWidth: '40px', //width of tab image *required*
tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
speed: 300, //speed of animation
action: 'click', //options: 'click' or 'hover', action to trigger animation
topPos: '200px', //position from the top
fixedPosition: false //options: true makes it stick(fixed position) on scroll
});
I should get a chance to build a page using this later this evening.