You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

overlay display without *mask* Created Aug 26, 2010

This thread is solved

Views: 2932     Replies: 13     Last reply Dec 28, 2011  
You must login first before you can use this feature

pacimahoro

Posts: 3

Registered:
Aug 26, 2010

overlay display without *mask*

Posted: Aug 26, 2010

Hi there. I'm using overlay for my first time. I am trying to display an overlay and mask everything else with a given color. When i test it, it displays the overlay without a mask.
Here is my script header:

 $(function() {
	$("div[rel]").overlay({mask: '#000', effect: 'apple', closeOnClick: false});
});

I'm using jquery-1.4.2.
Here is a link, if you can help me, please do:
http://www.birihe.com/paci/Encorevents/videos.php
(click on the image)

Bassaddicted

Posts: 13

Registered:
Apr 11, 2010

» overlay display without *mask*

Posted: Aug 26, 2010

Reply to: overlay display without *mask*, from pacimahoro
Try This remove what you did

Remove:

<script type="text/javascript">
$(document).ready(function() {
$(function() {
	// initialize scrollable
	//$(".scrollable").scrollable();
	//$(".scrollable").scrollable({circular: false}).autoscroll({ autoplay: false });	
});
});
$(function() {
	$("div[rel]").overlay({mask: '#000', effect: 'apple', closeOnClick: false});
});
</script>

and add only this


   <script type="text/javascript">
	$(document).ready(function() {
    	$("div[rel]").overlay({
			effect: 'apple',
			mask: '#000',
			closeOnClick: false
		});
	});
    </script>

pacimahoro

Posts: 3

Registered:
Aug 26, 2010

» » overlay display without *mask*

Posted: Aug 27, 2010

Reply to: » overlay display without *mask*, from Bassaddicted
It still didn't help. I updated the code like you suggested but the problem is still there: overlay with no mask! Can you think of any other possible issue?

santiago

Posts: 1

Registered:
Feb 13, 2010

» » » overlay display without *mask*

Posted: Aug 31, 2010

Reply to: » » overlay display without *mask*, from pacimahoro
Did you finally get this to work?

pacimahoro

Posts: 3

Registered:
Aug 26, 2010

» » » » overlay display without *mask*

Posted: Sep 1, 2010

Reply to: » » » overlay display without *mask*, from santiago
No, i haven't. You got any idea that could help?

alibby

Posts: 1581

Registered:
Jun 2, 2010

» » » » overlay display without *mask*

Posted: Sep 2, 2010

Reply to: » » » overlay display without *mask*, from santiago
Hi,

I think I may have figured out what is causing your problem - from tests I've done, it would appear that the 2 script calls to jQuery and jQuery Tools are conflicting. If you replace it with this:

<script src=http://cdn.jquerytools.org/1.2.4/full/jquery.tools.min.js"></script>

...which is the CDN equivalent, and contains both in one file, it should work for you.

p3drosola

Posts: 3

Registered:
Sep 3, 2010

Use the full version of jquery tools

Posted: Sep 3, 2010

Reply to: overlay display without *mask*, from pacimahoro
I had this problem as well, the issue is that the overlay script uses the expose script to create the mask, so you must have them both loaded.

apeg

Posts: 12

Registered:
Apr 21, 2010

» Use the full version of jquery tools

Posted: Nov 15, 2010

Reply to: Use the full version of jquery tools, from p3drosola
Thanks p3drosola, wish i found this post an hour ago...

harikaram
www.club15cc.com

Posts: 2

Registered:
Oct 26, 2011

» » Use the full version of jquery tools

Posted: Oct 26, 2011

Reply to: » Use the full version of jquery tools, from apeg
I just had the same problem... "expose" is NOT embedded in the overlay JS as the documentation implies...

From the docs:
"Previously known as expose. Overlay is very often used together with the Mask Tool. Because of this, the support for this feature has been built inside the tool."

alibby

Posts: 1581

Registered:
Jun 2, 2010

» » » Use the full version of jquery tools

Posted: Oct 26, 2011

Reply to: » » Use the full version of jquery tools, from harikaram
Hi harikaram,

Can you please give me the URL for where you found the above, and I will see about getting the docs updated?

Thanks.