Welcome Guest, Not a member yet? Register   Sign In
window.parent.location.href = 'http://yoururl.com';
#2

[eluser]xwero[/eluser]
If you are talking about going to the landing page of the site using redirect just add an empty string.

If you are talking about closing the lightbox it is bad form to use location.href because the idea now is to use javascript to emulate desktop software UIs that don't reload their interface when changes are made. A better way to do it is to hide/remove the overlaying elements.


Messages In This Thread
window.parent.location.href = 'http://yoururl.com'; - by El Forum - 05-28-2008, 04:35 PM
window.parent.location.href = 'http://yoururl.com'; - by El Forum - 05-29-2008, 12:20 AM
window.parent.location.href = 'http://yoururl.com'; - by El Forum - 05-29-2008, 12:27 AM
window.parent.location.href = 'http://yoururl.com'; - by El Forum - 05-29-2008, 12:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB