Braktis arkiven dhe shih kėtė faqe nė dizajn standard : PoP up Dritare ??? si me ndėrtu ?
Kosova_999
26.04.2006, 19:37:00
Tung juve
jam me nje shok duke rregullua nje faqe interneti mirepo kemi nje problem te vogel .
shpresojm se mundeni me na ndihmu .
po duam qe kur ta shtypin nje link me u hap nje dritare e re dmth me nje madhesi qfar dua un jo komplet dritare por nje dritare p.sh 300 x 400
si ka mundesi te behet kjo , qfar kodi duhet , javascript, apo ku duhet vendosur kodi ?
shpresoj ne ndihmen tuaj
Tung
Basastyle
26.04.2006, 20:06:00
<!--
function windowOpener(winUrl,winWidth,winHeight,winName,win X,winY,winScrollbars,winLocation,winStatus,winPers onalbar,winResizable,winToolbar,winMenubar,winDepe ndent,winDirectories) {
var windowName = ""
// set defaults
if (!winWidth) winWidth = 345
if (!winHeight) winHeight = 323
if (!winName) winName = 'popupWindow'
if (!winX) winX = 10
if (!winY) winY = 10
if (!winScrollbars) winScrollbars = "no"
if (!winLocation) winLocation = "no"
if (!winStatus) winStatus = "no"
if (!winPersonalbar) winPersonalbar = "no"
if (!winResizable) winResizable = "no"
if (!winToolbar) winToolbar = "no"
if (!winMenubar) winMenubar = "no"
if (!winDependent) winDependent = "no"
if (!winDirectories) winDirectories = "no"
eval(winName + '= window.open(winUrl,winName,"width=' + winWidth + ",height=" + winHeight + ",left=" + winX + ",top=" + winY + ",screenX=" + winX + ",screenY=" + winY + ",scrollbars=" + winScrollbars + ",location=" + winLocation + ",status=" + winStatus + ",personalbar=" + winPersonalbar + ",resizable=" + winResizable + ",toolbar=" + winToolbar + ",menubar=" + winMenubar + ",dependent=" + winDependent + ",directories=" + winDirectories + '")') // deleted quotes around winName, added "eval" 17 Nov 2000 by mak
eval(winName).focus()
}
-->
ket kod e shtin ne ni javascript.js
ne html e shkrun linkun keshtu :
<a href="javascript:windowOpener('popup.html',300,400)">link</a>
<font class=editedby>[ Ky afishim u ndryshua nga: Basastyle mė 2006-04-26 20:11 ]</font>
Fatonb
26.04.2006, 20:13:00
<A HREF="http://www.kosova.de"TARGET="webtoolframe" onClick="window.open('http://www.kosova.de', 'webtoolframe', 'width=300,height=300,hotkeys= no,menubar=no,locationbar=no,resizeable=no,status= no')">Kliko ketu</a>
Kosova_999
26.04.2006, 20:20:00
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
Basastyle afishoj me 2006-04-26 20:06 :
<!--
function windowOpener(winUrl,winWidth,winHeight,winName,win X,winY,winScrollbars,winLocation,winStatus,winPers onalbar,winResizable,winToolbar,winMenubar,winDepe ndent,winDirectories) {
var windowName = ""
// set defaults
if (!winWidth) winWidth = 345
if (!winHeight) winHeight = 323
if (!winName) winName = 'popupWindow'
if (!winX) winX = 10
if (!winY) winY = 10
if (!winScrollbars) winScrollbars = "no"
if (!winLocation) winLocation = "no"
if (!winStatus) winStatus = "no"
if (!winPersonalbar) winPersonalbar = "no"
if (!winResizable) winResizable = "no"
if (!winToolbar) winToolbar = "no"
if (!winMenubar) winMenubar = "no"
if (!winDependent) winDependent = "no"
if (!winDirectories) winDirectories = "no"
eval(winName + '= window.open(winUrl,winName,"width=' + winWidth + ",height=" + winHeight + ",left=" + winX + ",top=" + winY + ",screenX=" + winX + ",screenY=" + winY + ",scrollbars=" + winScrollbars + ",location=" + winLocation + ",status=" + winStatus + ",personalbar=" + winPersonalbar + ",resizable=" + winResizable + ",toolbar=" + winToolbar + ",menubar=" + winMenubar + ",dependent=" + winDependent + ",directories=" + winDirectories + '")') // deleted quotes around winName, added "eval" 17 Nov 2000 by mak
eval(winName).focus()
}
-->
ket kod e shtin ne ni javascript.js
ne html e shkrun linkun keshtu :
<a href="javascript:windowOpener('popup.html',300,400)">link</a>
<font class=editedby>[ Ky afishim u ndryshua nga: Basastyle mė 2006-04-26 20:11 ]</font>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
uuhhaaaaaaaa
Sa leht ma prune punen , /forum/images/smiles/icon_smile.gif
si me ba nje javascript si me shkru ne html ne cilen faqe , aty ku gjendet linku i pop up dritares apo vet ne ket pop up dritare me e shti ket kod apo javascript .
ne punojm me frontapge 2003
*ylli
26.04.2006, 21:36:00
Tungi kosva_999,
kete text qe vijon ne quote e fut mbrenda <head> xxx </head>
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
..ndersa kete mbrenda ne <body></body>.
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
<a href="javascript:NewWindow('http://kosova.de','mypopup','300','400','center','front') ;">
kosova.de</a><br>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
Te pershendes, *ylli
<font class=editedby>[ Ky afishim u ndryshua nga: *ylli mė 2006-04-26 21:37 ]</font>
Basastyle
26.04.2006, 22:17:00
propozimi i im ke me ba ni extern file '.js' aty e shtin at codin qe ta dhash, esht ma mir se mundesh me perdor ne krejt .html files qe i ki.
dmth. nuk te duhet me shkru gjith at kod ne secilen html file.
amo ma leht te bjen si e ka ba ylli nese je fillestar.
kalo mir
faton, edhe scripti i yt funkcionon, amo, paramendo nese e ki ni list me linka,
sa kodi/koti mledhet /forum/images/smiles/icon_biggrin.gif
<font class=editedby>[ Ky afishim u ndryshua nga: Basastyle mė 2006-04-26 22:26 ]</font>
Kosova_999
26.04.2006, 23:03:00
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
*ylli afishoj me 2006-04-26 21:36 :
Tungi kosva_999,
kete text qe vijon ne quote e fut mbrenda <head> xxx </head>
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
..ndersa kete mbrenda ne <body></body>.
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
<a href="javascript:NewWindow('http://kosova.de','mypopup','300','400','center','front') ;">
kosova.de</a><br>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
Te pershendes, *ylli
<font class=editedby>[ Ky afishim u ndryshua nga: *ylli mė 2006-04-26 21:37 ]</font>
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
OK
por ket kod a duhet me shti aty ne ate faqe ku eshte linku i pop up it apo ket kod komplet duhet me shti ne aty pop up dritaren po mendoj ne quelltext ( copy & paste )
*ylli
26.04.2006, 23:17:00
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
Kosova_999 afishoj me 2006-04-26 23:03 :
OK
por ket kod a duhet me shti aty ne ate faqe ku eshte linku i pop up it apo ket kod komplet duhet me shti ne aty pop up dritaren po mendoj ne quelltext ( copy & paste )
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
..vetem ne ato faqe ku jan linqet, faqja qe deshiron me e hap si popup s'ka nevoj me pas kete script.
Kosova_999
27.04.2006, 23:07:00
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
*ylli afishoj me 2006-04-26 23:17 :
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class=postbody>Quote:</font><HR width=100% color=#333333 SIZE=1></TD></TR><TR><TD><FONT class=quote><BLOCKQUOTE>
Kosova_999 afishoj me 2006-04-26 23:03 :
OK
por ket kod a duhet me shti aty ne ate faqe ku eshte linku i pop up it apo ket kod komplet duhet me shti ne aty pop up dritaren po mendoj ne quelltext ( copy & paste )
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
..vetem ne ato faqe ku jan linqet, faqja qe deshiron me e hap si popup s'ka nevoj me pas kete script.
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR width=100% color=#333333 SIZE=1></TD></TR></TABLE>
E po mire , po si tja bej qe un kam shum linqe qe duhet te hapen si pop up dritare me madhesi te ndryshme , a duhet per qdo dritare apo link nga nje script apo si ?
Copyright ©2007 albamatrix.com Tė gjitha tė drejtat e rezervuara.