توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : :: ساخت کد popUp ::
JAV!D
June 7th, 2014, 20:01
درود .
می خواستم بدونم چطوری میشه ، صفحه پاپ آپ ، زیر صفحه اصلی مرورگر باز بشه ؟!
elipihost
June 7th, 2014, 20:07
:-wسلام
دوست عزیز بهتر بود تو گوگل ی سرچ میزدی بعد تاپیک ایجاد می کردی
-----------------------------------------------------
<script type="text/javascript">
function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
{
x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
x=x.replace(/^\s+|\s+$/g,"");
if (x==c_name)
{
return unescape(y);
}
}
}
function setCookie(c_name,value)
{
var exdays= 1;
var exdate=new Date();
exdate.setHours(exdate.getHours() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}
:-wسلام
دوست عزیز بهتر بود تو گوگل ی سرچ میزدی بعد تاپیک ایجاد می کردی
-----------------------------------------------------
دوست عزیز داخل گوگل که کد popup ریخته فراوون .
اول اینکه شما اگر دقت میکردید ، نوشتم کد زیر صفحه اصلی مرورگر باز بشه ، کد هایی که داخل گوگل میاره ، همشون صفحه پاپ آپ روی صفحه اصلی باز میشه ، این کد هم کار نمیکنه ، قصد دارم که کاربر هر جای سایت کلیک کنه ، صفحه پاپ آپ باز بشه ، بصورتی که صفحه پاپ آپ زیر صفحه اصلی ظاهر بشه ، منظورم اینه که صفحه سایت خودم On Top باشه ، صفحه پاپ آپ هم زیر صفحه اصلی داخل New Page مرورگر باز بشه ، نه New Tab .
farbodsteps
June 7th, 2014, 21:09
یدونه ای یا دوتایی؟
JAV!D
June 7th, 2014, 21:19
یدونه ای یا دوتایی؟
بعد از کلیک کاربر داخل سایت ، 2 تا صفحه پاپ آپ باز بشه .
JAV!D
June 10th, 2014, 16:44
<script type="text/javascript">
function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
{
x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
x=x.replace(/^\s+|\s+$/g,"");
if (x==c_name)
{
return unescape(y);
}
}
}
function setCookie(c_name,value)
{
var exdays= 1;
var exdate=new Date();
exdate.setHours(exdate.getHours() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}
درود .
دوستام من از این کد استفاده کردم ، اما مثل اینکه محدودیت زمانی داره ، یا شایدم برای یک آی پی ، بعد از اینکه صفحه پاپ آپ رو ببینه ، دیگه تا چند ساعت صفحه پاپ آپ برای اون آی پی باز نمیشه ، میخواستم بدونم چطوری میشه این محدودیت رو برداشت ، و با هر بار رفرش شدن سایت و کلیک کاربر ، صفحه پاپ آپ نمایش داده بشه ؟
ممنون میشم راهنمایی کنید .