Parašė txt· 2008 Kov. 12 20:03:42
#1
Sveiki gal zinote kame problema?
Radau source :
<div id="navigation">
<ul class="navigation">
<li><a href="javascript:getPage('popup/tekstas.html',375,500)" class="nav">TESKTAS</a></li>
Tipo kad atidaritu naujame lange ...
<div id="gallery">
<div class="gal" id="gzero"><a href="javascript:getPage('http://google.lt',375,500)"><img src="images/pic_1.jpg" width="221" height="163" alt="Pic 1" /></a></div>
Atidaro naujame lange
javascript:getPage('http://google.lt',375,500) :@
Parašė MaFetas· 2008 Kov. 13 07:03:14
#5
Bandyk gal tokį kodą:
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>