Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
pop-up help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
Dirt McGrit



Joined: 03 Oct 2003
Posts: 291
Location: iza ugla

PostPosted: 15.10.2004 14:14    Post subject: pop-up help Add user to your forum ignore list Reply with quote

alo

trazim po mi3forumu pa nikak da nadem... dakle trebam kod za pop-up window. situacija je sljedeca, imam galeriju slika (sve thumbnailovi), kad kliknes na thumbnail otara se prozor fiksne velicine koji prikazuje full size sliku i to bez scrollbara, toolbara i svih ostalih pizdarija Wink samo "sirovi" prozor. slike su velicine 640x480 px.

znam da je ovo vec bilo i da ima miljon takvih stranica na netu al nemam vremena sad traziti. hvala na pomoci,

peace & out

_________________
Baby, I got your money!
Back to top
View user's profile Send private message
bozob



Joined: 07 Mar 2004
Posts: 378
Location: Gruda, Konavle

PostPosted: 15.10.2004 17:49    Post subject: Add user to your forum ignore list Reply with quote

Ovo ti ide u head

Code:
<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?
Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?
Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=
(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',
location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>

a ovo ti je za link
Code:
<a href="link.htm" onclick="NewWindow(this.href,'slika','640','480','no','center');return false" onfocus="this.blur()">Tekstlinka</a>

Inače ima ti na netu full tih generatora za pop-up prozore. Čini mi se da ti ima i na webmajstori.net a ovo ti je sa http://skriptarnica.com/ gdje ti ima generator link ti je http://skriptarnica.com/system/pop_win.htm
Back to top
View user's profile Send private message Send e-mail
imbrod
Guest





PostPosted: 16.10.2004 00:58    Post subject: Reply with quote

Dobra fora, bozob... Sigurno si isprepadao covjeka...

Evo jednostavnije:

function otvori(xx) {
w2 = window.open(xx,"w22","borders=0,toolbar=0,directories=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,left=100,top=100,width=640,height=480");
w2.focus();
}

a pozivas funkciju sa:
a href="javascript:otvori('stranica.htm')"
Back to top
bozob



Joined: 07 Mar 2004
Posts: 378
Location: Gruda, Konavle

PostPosted: 16.10.2004 01:04    Post subject: Add user to your forum ignore list Reply with quote

imbrod wrote:
Dobra fora, bozob... Sigurno si isprepadao covjeka...

Evo jednostavnije:

function otvori(xx) {
w2 = window.open(xx,"w22","borders=0,toolbar=0,directories=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,left=100,top=100,width=640,height=480");
w2.focus();
}

a pozivas funkciju sa:
a href="javascript:otvori('stranica.htm')"

Zašto bih ga isprepadao?! Ja sam mu samo htio pokazat da na netu ima generatora koji to radu i naveo sam mu gdje ih može naći i stavio primjer kako radi jedan od njih. Pa ak je to prepad onda ne treba uopće radit sa ovim.
Back to top
View user's profile Send private message Send e-mail
Dirt McGrit



Joined: 03 Oct 2003
Posts: 291
Location: iza ugla

PostPosted: 16.10.2004 12:20    Post subject: Add user to your forum ignore list Reply with quote

hvala decki, nisam se isprepadal, mislim da cu upotrijebiti ovo krace rjesenje Wink

peace & out

_________________
Baby, I got your money!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group