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

Your preferred username that is used when logging in.

src="non" In Page Source Created Jul 30, 2010

This thread is solved

Views: 2154     Replies: 4     Last reply Dec 6, 2010  
You must login first before you can use this feature

grayloon

Posts: 1

Registered:
Jul 30, 2010

src="non" In Page Source

Posted: Jul 30, 2010

I'm using 1.2.3 to display an overlay. The overlay works correctly, but the code below appears right before the </body> tag. At the end of the code, there's a src="non" that's causing a lot of errors in the web server error log. I looked for this line in the JS, but I didn't see anything. Any ideas how to correct this?

<div style="position: absolute; top: 0px; left: 0px; width: 1299px; height: 1186px; display: none; opacity: 0.8; z-index: 9998; background-color: rgb(0, 0, 0);" id="exposeMask"></div><img style="border: 0px none; width: 0px; position: absolute; top: 276px; left: 300px; z-index: 9999; display: block;" src="non">

gnutix

Posts: 6

Registered:
Jul 26, 2010

» src=

Posted: Jul 30, 2010

Reply to: src="non" In Page Source, from grayloon
I would be glad to hear an answer too. This causes me troubles for the cached elements on serverside... :/

jamiekatz

Posts: 7

Registered:
Jul 3, 2009

» src="non" In Page Source

Posted: Aug 3, 2010

Reply to: src="non" In Page Source, from grayloon
I'm seeing this too in Safari intermittently. It seems to appear on some overlays, but not others?

jmtoporek

Posts: 1

Registered:
Aug 26, 2010

how to fix src=non error

Posted: Aug 26, 2010

Reply to: src="non" In Page Source, from grayloon
The source of the issue is related to the effects attribute. There are 3 things you can do to fix it.

1. comment out or delete the effects attribute in the call for the overlay, /*effect: 'apple',*/

OR

2. make sure your trigger is an image or the image is in the overlay element. Not sure which one will solve the issue. The source of the image is used for the apple effect, which is why you get the error.

OR

3. download the overlay source code, the unzipped version, and modify what appears in the effects section - this is the offending code;

			bg = bg.slice(bg.indexOf("(") + 1, bg.indexOf(")")).replace(/"/g, "");
			overlay.css("backgroundImage", "none");
			
			img = $('<img src="' + bg + '"/>');
			img.css({border:0, display:'none'}).width(oWidth);			
			$('body').append(img); 
Maybe add something like

bg = bg.slice(bg.indexOf("(") + 1, bg.indexOf(")")).replace(/"/g, "");
if(bg != "non")
{
	overlay.css("backgroundImage", "none");
	//... you get the idea
}

Any of these options should work. I opted for #1, it's the least painful. Sure the apple effect is cool but if you are using something other than image for a trigger or don't have the overlay prepopulated firebug will throw this error. Plus I got a weird empty box in IE until I deleted the apple effect.

nico65

Posts: 2

Registered:
Dec 6, 2010

» how to fix src=non error

Posted: Dec 6, 2010

Reply to: how to fix src=non error, from jmtoporek
what I did was, making a 1x1 px transparent gif and saved it as non in the webroot of the website (without file suffix)