
<!--Аякс video-->
<style type="text/css">
#ajaxVideo {display:none;}
</style>
<noscript>
<style type="text/css">
.ajaxVideoURL {display:none;}
#ajaxVideo {display:block;}
</style>
</noscript>
<div id="ajaxvideo">
<!--/Аякс video-->
Код плайера!
<!--Аякс video-->
</div>
<a href="#ajaxvideo" class="ajaxVideoURL" onclick="return hs.htmlExpand(this,{objectType:'ajax',width:700})">Просмотр</a>
<!--/Аякс video-->
lockki писал(а):как сделать, что при нажатии на кнопку "ПРОФИЛЬ" на форуме высвечивалось данное окно?
а не создавать ссылку на профиль, как описано здесь...Помогите, если вы знаете.
<?if($USER_DETAILS_ICON_BAR$)?><?if($PROFILE_URL$)?><a href="/index/8-$UID$#ajaxprofile" onclick="return hs.htmlExpand(this,{objectType:'ajax',width:700})"><img style="margin:0;padding:0;border:0;" src="http://s4.ucoz.net/img/fr/bt/4/p_profile.gif" title="Профиль пользователя" /></a><?endif?> <?if($JS_EMAIL$)?><a href="$JS_EMAIL$"><img style="margin:0;padding:0;border:0;" src="http://s4.ucoz.net/img/fr/bt/4/p_email.gif" title="E-mail адрес" /></a><?endif?> <?if($HOME_PAGE$)?><a href="$HOME_PAGE$" rel="nofollow" target="_blank"><img style="margin:0;padding:0;border:0;" src="http://s4.ucoz.net/img/fr/bt/4/p_www.gif" title="Домашняя страница" /></a><?endif?> <?if($ICQ$)?><span style="cursor:pointer;" onclick="prompt('ICQ number','$ICQ$');"><img style="margin:0;padding:0;border:0;" src="http://s4.ucoz.net/img/fr/bt/4/p_icq.gif" title="ICQ: $ICQ$" /></span><?endif?><?endif?>
<script type="text/javascript">
// Highslide URL idea by AllCity ~ web-codes.net (jQ)
$('td.posttdMessage a.link').each(function(){
if(this.host!='allcity.clan.su'&&this.host!='www.allcity.clan.su'&&this.host!='allcity.clan.su:80'&&this.host!='www.allcity.clan.su:80'){$(this).click(function(){
return hs.htmlExpand(this,{objectType:'iframe',width:800,height:600});
});}
});
</script>
<script type="text/javascript">
// Highslide URL idea by AllCity ~ web-codes.net (JS)
hsa=document.getElementsByTagName('a');
for(hsu=0;hsu<hsa.length;hsu++){
if(hsa[hsu].className=='link'&&hsa[hsu].host!='allcity.clan.su'&&hsa[hsu].host!='www.allcity.clan.su'&&hsa[hsu].host!='allcity.clan.su:80'&&hsa[hsu].host!='www.allcity.clan.su:80'){
hsa[hsu].onclick=function(){return hs.htmlExpand(this,{objectType:'iframe',width:800,height:600});}
}}
</script>
Вернуться в Архив скриптов и интересных решений
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2