Jump to content
php.lv forumi

Iegūt atvērta loga linku


KasparsK

Recommended Posts

Sveiki, kā ar javascript var iegūt atvērta popop loga linku un lai viņš pēc tam, ja popop logā pāriet uz citu lapu no citas lapas, tas arī tiek automatiski parādīts lapā, ka izmainijies links ?

 

Pašreizējais kods:

function authorize()
{
	if( $('.authorize').hasClass('disabled') )
	{
		return false;
	}
	
	$('.authorize').addClass('disabled');
		
	var left = ( screen.width / 2 ) - ( '800' / 2 );
	var top = ( screen.height / 2 ) - ( ('500' / 2) + 80 );
		
	authwidnow = window.open( 'http://google.lv/', 'authorization', 'status=0, location=0, scrollbars=0, menubar=0, resizable=1, width=800, height=500, top=' + top + ', left=' + left );
	authwidnow.focus();
}

Paldies.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...