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

Your preferred username that is used when logging in.

Could not find Overlay: nofollow Created Oct 7, 2009

This thread is solved

Views: 7573     Replies: 6     Last reply Mar 21, 2011  
You must login first before you can use this feature

jilome

Posts: 5

Registered:
Apr 23, 2009

Could not find Overlay: nofollow

Posted: Oct 7, 2009

Hy,

Got this strange message with tools 1.1.2
Could not find Overlay: nofollow

event if script is working


$(document).ready(function() {
	$("a[rel]").overlay({
			expose: {
				color: '#333',
				loadspeed: 200,
				opacity: 0.9,
				closeOnClick: false
			},
			onLoad: function() {
				// how to make fexcroll work with overlay
				$("div#overlay-scroll").show();
				CSBfleXcroll('overlay-scroll');
			},
			closeOnClick: false
		});
});

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Could not find Overlay: nofollow

Posted: Oct 7, 2009

Reply to: Could not find Overlay: nofollow, from jilome
You are making all links with rel attribute to work as overlay triggers. one of them has a value nofollow. Porpably the one you are instructing web crawlers to stay away. Please specify a little more precisely the selector for triggers.

jilome

Posts: 5

Registered:
Apr 23, 2009

» » Could not find Overlay: nofollow

Posted: Oct 7, 2009

Reply to: » Could not find Overlay: nofollow, from tipiirai
you win ! +1 Tero, sorry for this stupid question :-(

raghueasyway

Posts: 1

Registered:
Mar 12, 2010

Error: uncaught exception: Could not find Overlay: nofollow

Posted: Mar 12, 2010

Reply to: » » Could not find Overlay: nofollow, from jilome
Error: uncaught exception: Could not find Overlay: nofollow

in jquery.tools.min.js

I am getting this error when i invoking jquery from the masterpage

I am using the below .js files and the following function ::

<script src='<%=ResolveUrl("../_ui/js/jquery-1.3.2.min.js" ) %>' type="text/javascript"></script>

<script src='<%=ResolveUrl("../_ui/js/jquery.tools.min.js" ) %>' type="text/javascript"></script>

<script type="text/javascript">

$(function() {
// if the function argument is given to overlay,
// it is assumed to be the onBeforeLoad event listener
$("a[rel]").overlay({

expose: 'black',
effect: 'apple',

onBeforeLoad: function() {

// grab wrapper element inside content
var wrap = this.getContent().find(".contentPopWrap");
// load the page specified in the trigger
wrap.load(this.getTrigger().attr("href"));
}
});
});

</script>

Can u tell me where i went wrong while implemantation ..ASAP ..
Your reply will be precious for me ...

Rgs
Raghu.
raghu.d@gmail.com

jjevack

Posts: 2

Registered:
Dec 28, 2009

similar issue in masterpage - Error: uncaught exception: Could not find Overlay: external

Posted: May 1, 2010

Reply to: Error: uncaught exception: Could not find Overlay: nofollow, from raghueasyway
I've implemented the demo overlay code http://flowplayer.org/tools/demos/overlay/external.htm) which in a masterpage and I get a similar error - Error: uncaught exception: Could not find Overlay: external.

I can see the overlay container on the page so i don't think that's the problem.

Can anyone shed any light on this error. I figure it's got to be due to being on the masterpage as the code works find on my site in a plain old html or even aspx page.

Thanks!

Keith

Posts: 9

Registered:
May 12, 2010

I saw the same thing.... and solved it this way:

Posted: Nov 15, 2010

Reply to: similar issue in masterpage - Error: uncaught exception: Could not find Overlay: external, from
I know this thread is old, but I found it by Googling. So, I'm sure I won't be the last. Tero is right (post above). In my case, I implemented jQuery Tools in Joomla where there were several A tags with the rel="nofollow" attribute assignment. What I did (or had already done) was wrap my link inside a div tag and assigned it an ID. In the Overlay JS code, I changed my selector for the .overlay() function from

jQuery("a[rel]").overlay({ 

to

jQuery("div#benefits a[rel]").overlay({ 

My error went away, at least. I still can't get the demo code to work.. :(

HTH
-Keith

Tobester

Posts: 1

Registered:
Mar 21, 2011

Worked out this gotcha

Posted: Mar 21, 2011

Reply to: I saw the same thing.... and solved it this way:, from mccpickett
Appreciate the date of this post, however since I hit it, I'm guessing even more will.

I presume that everyone is using

rel="elementId"
Instead reference it using a selector

rel="#elementId"

This should solve the problem