Premium URL Shortener , تغییر کارایی در iframe

parseh

تازه وارد
سلام

من میخوام دکمه ( close ) در حالت iFrame به " بستن فریم " تبدیل بشه ، یعنی نمیخوام کاربر از سایت من خارج بشه و فقط بتونه فریم را ببنده !

:39:

ممنون میشم راهنمایی کنید

سپاس

اسکریپت : Premium URL Shortener

 

parseh

تازه وارد
البته راهنمایی هم در رابطه با اضافه کردن +1 بجای توییتر بکنید ممنون میشم

سپاس

کد صفحه iFrame:

<?php if(!defined('APP')) die(); ?>
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<title><?php echo Main::title() ?></title>

<!--Meta Tags -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0" />
<meta name="description" content="<?php echo Main::description() ?>" />
<link rel="stylesheet" href="<?php echo $this->config["url"]?>/static/flat/green.css">
<?php echo Main::eek:gp(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->config["url"]?>/themes/<?php echo $this->config["theme"] ?>/style.css">
<script type="text/javascript" src="<?php echo $this->config["url"]?>/static/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->config["url"]?>/static/application.fn.js"></script>
<script type="text/javascript" src="<?php echo $this->config["url"] ?>/static/icheck.js"></script>
<script type="text/javascript" src="<?php echo $this->config["url"]?>/static/application.js"></script>
<?php Main::enqueue() ?>
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<section>
<div id="frame">
<div class="row">
<div class="third grid">
<h2><?php echo $this->config["title"] ?></h2>
<p>
<a href="https://www.facebook.com/sharer.php?u=<?php echo $this->config["url"] ?>/<?php echo $url["alias"].$url["custom"] ?>" class="button facebook u_share small"><?php echo e("Share on") ?> Facebook</a>
<a href="https://twitter.com/share?url=<?php echo $this->config["url"] ?>/<?php echo $url["alias"].$url["custom"] ?>" class="button twitter u_share small"><?php echo e("Share on") ?> Twitter</a>
</p>
</div><!-- /.third grid -->
<div class="third grid ad">
<?php echo $this->ads('468') ?>
</div><!-- /.third grid -->
<div class="third grid">
<a href="<?php echo $url["url"] ?>" class="button right"><?php echo e("Close") ?></a>
</div><!-- /.third grid -->
</div><!-- /.row -->
</div><!-- /#frame -->
<iframe id="site" src="<?php echo $url["url"];?>" frameborder="0" style="width:100%;height:100%;" scrolling="yes"></iframe>
</section>
<script type="text/javascript">
$("iframe#site").height($(document).height()-64.001);
</script>
<?php Main::enqueue('footer') ?>
</body>
</html>​
کد:
 

parseh

تازه وارد
چی شده ؟ :-s

اتفاقی افتاده که من ازش خبر ندارم !!!!!!!!! :-??

آخه چند وقته هیچکدوم از فرومها فعال عمل نمی کنند یه ذره به persianscript.ir امید داشتم که اینم مثله اینکه به همین مرض مبتلا شده !!!

داستان از چه قراره ؟؟؟؟؟؟؟؟؟؟ :39:

 

Mohammad

مدیر انجمن
پرسنل مدیریت
دوست عزیز. این مواردی که شما میخواید. نمونه اش رو دیدم. ولی اسکریپتی ندیدم که بشه با سیستم شما الحاق بشه...

 

parseh

تازه وارد
میشه یک سیستم شبیه iframe سایت code canyon یا theme forest معرفی کنید ؟ :63:

البته کوتاه کننده لینک میخوام باشه تا کاربر از سایتم خارج نشه

 

Mohammad

مدیر انجمن
پرسنل مدیریت
metro short urlفکر کنم این قابلیت رو داشت

 
بالا