66yozgatli66 Posted March 17, 2015 Share Posted March 17, 2015 (edited) Selamın Aleyküm Sitemde Başka Bir Sayfaya Yönlendirme Vermek İstiyorum Ama Aynı Zamanda Sitemin Kapanmamasını Yan Sekmede Açılmasını İstiyorum. <head> <meta http-equiv="refresh" content="5;URL=http://siteadi.com"> </head> bu 5 saniye sonra yönlendirmeyi sağlıyor ama sitemi kapatıyor bunu yan sekmede açmamızın bi yöntemi yokmu ( target_blank demeyin :p ) Edited March 17, 2015 by 66yozgatli66 Quote Link to comment Share on other sites More sharing options...
weyso Posted March 17, 2015 Share Posted March 17, 2015 meta tagıyla baktım yok gibi görünüyor da javascript ile yapabilirsin: setTimeout(function (){ window.open("http://www.tnctr.com"); },1000); Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 17, 2015 Share Posted March 17, 2015 <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript"> window.open("http://www.w3schools.com"); </script> <meta http-equiv="refresh" content="5;URL=http://siteadi.com"> </head> <body> </body> </html> ama window.open() popup açmada kullanıldığı için popup engelleyicilere takılabilir.ben olayı yanlış anlamışım pardon. weyso'nunki doğrudur. Quote Link to comment Share on other sites More sharing options...
66yozgatli66 Posted March 19, 2015 Author Share Posted March 19, 2015 meta tagıyla baktım yok gibi görünüyor da javascript ile yapabilirsin: setTimeout(function (){ window.open("http://www.tnctr.com"); },1000); Hocam bu pop-uplara takılır takılmayan bir şey varmı ? :D <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript"> window.open("http://www.w3schools.com"); </script> <meta http-equiv="refresh" content="5;URL=http://siteadi.com"> </head> <body> </body> </html> ama window.open() popup açmada kullanıldığı için popup engelleyicilere takılabilir. ben olayı yanlış anlamışım pardon. weyso'nunki doğrudur. Hocam bu pop-up lara takılırmı? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 19, 2015 Share Posted March 19, 2015 takılır dedim ya :) yani en azından google chrome popup engelleyiciye takıldı. Quote Link to comment Share on other sites More sharing options...
66yozgatli66 Posted March 20, 2015 Author Share Posted March 20, 2015 takılır dedim ya :) yani en azından google chrome popup engelleyiciye takıldı. Peki hocam takılmayanı yokmu bunun? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.