Pagina de start a forumului Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc
Comunitatea PHP Romania
 

AM nevoie urgenta de ajutor ptr. o chestie la lucrarea....
Vezi mesajul original

 
       Pagina de start a forumului Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc -> HTML/JavaScript/CSS
Subiectul anterior :: Subiectul următor  
Autor Mesaj
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Lun Apr 18, 2005 8:33 pm    Titlul subiectului: AM nevoie urgenta de ajutor ptr. o chestie la lucrarea....  

Sal!
Pls!
Am de sustinut anul acesta lucrarea de licenta , am facut un prog in PHP cu MySQL, dar ma pus draq sa folosesc ca meniu , meniurile din Xara WebStyle care sunt realizate in Java.
Nu inteleg o anumita parte din cod. La JS nu prea ma pricep :

if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("meniup.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}}

var bd=0
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".meniup_menu {border-color:black;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#051a84;position:absolute;left:0px;top:0px;visibility:hidden;}");
document.write("a.meniup_plain:link, a.meniup_plain:visited{text-align:left;background-color:#051a84;color:#f4f1f1;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:1px 0px 1px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;font-weight:bold;}");
document.write("a.meniup_plain:hover, a.meniup_plain:active{background-color:#8691c9;color:#242829;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:1px 0px 1px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;font-weight:bold;}");
document.write("\n-->\n");
document.write("</style>");

var fc=0x242829;
var bc=0x8691c9;
if(typeof(frames)=="undefined"){var frames=0;}

startMainMenu("",0,0,1,0,0)
mainMenuItem("meniup_b1",".gif",33,173,"tarla.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b2",".gif",33,173,"tarla2.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b3",".gif",33,173,"javascript:;","","",1,2,"meniup_plain");
mainMenuItem("meniup_b4",".gif",33,173,"anexe.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b5",".gif",33,173,"balanta.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b6",".gif",33,173,"legislatie.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b7",".gif",33,173,"cartografie.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b8",".gif",33,173,"optiuni.php","","",2,2,"meniup_plain");
mainMenuItem("meniup_b9",".gif",33,173,"despre.html","","",2,2,"meniup_plain");
mainMenuItem("meniup_b10",".gif",33,173,"http://localhost/main/index.html","","",2,2,"meniup_plain");
endMainMenu("",0,0);

startSubmenu("meniup_b3","meniup_menu",130);
submenuItem("Conform L.18/1991","l18.php","","meniup_plain");
submenuItem("Conform L.1/2000","l1.php","","meniup_plain");
endSubmenu("meniup_b3");

loc="";


Acesta este codul . Nu prea inteleg prima parte , de la if in jos, pe urma vad ca se definesc culor, bgk, etc si pe urma structurarea meniului.
Poate cineva sa ma ajute ? Nu mai am timp sa schimb in lucrare !!!!PLS

vscomap@yahoo.ca
adrianpantile@yahoo.com
Sus  
johnny



Data înscrierii: 31/Iul/2004
Mesaje: 904
Locație: Bucuresti

Trimis: Lun Apr 18, 2005 10:34 pm    Titlul subiectului:  

cand o sa faceti distinctia intre JAVA si JAVASCRIPT?
startMainMenu()
endMainMenu()
startSubmenu()
sunt functii, dar unde sunt definite....
trebuie sa mai existe o dependenta... *.js...
Sus  
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Mar Apr 19, 2005 12:01 am    Titlul subiectului: RE JS  

Am scris acolo ca nu stiu JS, deci stiam ca e vb de JS
Al doilea fisier la scos varza

var ma=new Array();var mx=new Array();var my=new Array();var mc=new Array();var mal=0;var main=0;var menuw=200;var psrc=0;var pname="";var al="";var NS6=(!document.all&&document.getElementById);var NS4=(!document.getElementById);var IE5=(!NS4&&!NS6&&navigator.userAgent.indexOf('MSIE 5.0')!=-1);if(navigator.userAgent.indexOf('Opera')!=-1)NS4=1;function startMainMenu(file,h,w,dir,space,align){if(w>0)menuw=w;main=dir;if(main==1||main==2)document.write("<table border=\"0\" cellspacing=\""+space+"\" cellpadding=\"0\">");if(file!=""){al="";if(align==1)al=" align=\"right\"";if(align==2)al=" align=\"center\"";if(main==1||main==2)document.write("<tr><td"+al+">");document.write("<img src=\""+loc+file+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");document.write(" />");if(main==1||main==2)document.write("</td>");if(main==1)document.write("</tr>");if(main==3)document.write("<br></br>");}}function endMainMenu(file,h,w){if(file!=""){if(main==1)document.write("<tr>");if(main==1||main==2)document.write("<td"+al+">");document.write("<img src=\""+loc+file+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");document.write(" />");if(main==1||main==2)document.write("</td></tr>");}if(main==1||main==2)document.write("</table>");main=0;}function mainMenuItem(name,ext,h,w,url,tar,alt,dir,state,s){if(NS4&&main==0)return;var isgraphic=ext.charAt(0)==".";if(main==1)document.write("<tr>");if(main==1||main==2)document.write("<td"+al+">");document.write("<a ");if(url!=""||!isgraphic)document.write("href=\""+url+"\" ");if(tar!="")document.write("target=\""+tar+"\" ");document.write("onmouseout=\"");if(dir>0)document.write("tidyMenu(event);");document.write("\" onmouseover=\"");if(dir>0)document.write("openMenu(event, '"+name+"',"+dir+","+bc+","+fc+");");if(state>1&&isgraphic){document[name+"_over"]=new Image();document[name+"_over"].src=loc+name+"_over"+ext;document.write("setGraphic(event, '"+loc+name+"_over"+ext+"');");}document.write("return false;\"");if(!isgraphic)document.write(" class=\""+s+"\" style=\"width:"+(w>0?w:menuw)+"px\"");document.write(">");if(isgraphic){document.write("<img src=\""+loc+name+ext+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");if(alt!="")document.write(" alt=\""+alt+"\"");document.write(" />");}else{document.write("&nbsp;"+ext+"&nbsp;");}document.write("</a>");if(main==1||main==2)document.write("</td>");if(main==1)document.write("</tr>");if(main==3)document.write("<br></br>");}function startSubmenu(name,style,sw){if(NS4)return;if(sw>0)menuw=sw;document.write("<div id=\""+name+"\" class=\""+style+"\" style=\"width:"+(menuw+(NS6?bd*2:0))+"px\">");}function endSubmenu(name){if(NS4)return;document.write("</div>");if(!NS6)document.getElementById(name).onmouseout=tidyMenu;}function submenuItem(text,url,tar,s){if(NS4)return;if(text.charAt(0)=='<')document.write(text);else{document.write("<a ");if(url!="")document.write("href=\""+url+"\" ");if(tar!="")document.write("target=\""+tar+"\" ");document.write("class=\""+s+"\" style=\"width:"+menuw+"px\">&nbsp;"+text+"&nbsp;</a>");}}function setGraphic(event,name){if(NS4)return;psrc=(NS6)?event.target:event.srcElement;pname=psrc.src;if(NS6)event.target.src=name;else event.srcElement.src=name;}function openMenu(event,id,pos,bc,fc){if(NS4)return;var el,x,y;if(mal>0){el=document.getElementById(ma[mal-1]);if(mx[mal-1]!=el.offsetLeft||my[mal-1]!=el.offsetTop){el.style.left=mx[mal-1];el.style.top=my[mal-1];}tidyMenu(event);}if(NS6){if(mal==0){x=event.target.x-bd;y=event.target.y;dx=event.target.offsetWidth;dy=event.target.offsetHeight;if(typeof(event.target.x)=="undefined"){x=event.target.offsetLeft;y=event.target.offsetTop;}}else{var p=event.target;if(p.nodeName!="A"&&p.parentNode.nodeName=="A")p=p.parentNode;dx=p.offsetWidth;dy=p.offsetHeight;el=document.getElementById(ma[mal-1]);x=el.offsetLeft-bd;y=el.offsetTop+p.offsetTop;}}else{x=event.clientX-event.offsetX+document.body.scrollLeft-document.body.clientLeft;y=event.clientY-event.offsetY+document.body.scrollTop-document.body.clientTop-bd;dx=event.srcElement.offsetWidth;dy=event.srcElement.offsetHeight;if(mal>0)x-=2*bd;}el=document.getElementById(id);if(el&&el.style.visibility!="visible"){if(pos==1){x+=dx;el.style.left=x-el.offsetWidth;el.style.top=y;nspeed=el.offsetWidth/frames;}else if(pos==2){y+=dy;el.style.left=x;el.style.top=y-el.offsetHeight;nspeed=el.offsetHeight/frames;}else if(pos==3){x-=el.offsetWidth;el.style.left=x+el.offsetWidth;el.style.top=y;nspeed=el.offsetWidth/frames;}mx[mal]=x;my[mal]=y;if(NS6||IE5||frames==0){el.style.left=x;el.style.top=y;}if(!IE5)clipMenu(mal,el);el.style.visibility="visible";ma[mal]=id;if(NS6){var p=event.target;if(p.nodeName!="A"&&p.parentNode.nodeName=="A")p=p.parentNode;mc[mal]=p.style;el.onmouseout=tidyMenu;}else{mc[mal]=event.srcElement.style;if(mal>0){mc[mal].backgroundColor=bc;mc[mal].color=fc;}}mal++;}}function overMenu(x,y){for(i=0;i<mal;i++){var el=document.getElementById(ma[i]);if(el.offsetLeft+el.offsetWidth>x&&el.offsetLeft<=x&&el.offsetTop+el.offsetHeight>y&&el.offsetTop<=y){return ma[i];}}return "";}function tidyMenu(e){if(NS4)return;if(NS6){t=overMenu(e.pageX,e.pageY);if(t!=""&&(e.target.firstChild==e.relatedTarget||e.target==e.relatedTarget.firstChild))return;}else t=overMenu(event.clientX+document.body.scrollLeft-document.body.clientLeft,event.clientY+document.body.scrollTop-document.body.clientTop);om=0;for(i=0;i<mal;i++){var mail=ma[i].length;if(mail>t.length||t.substring(0,mail)!=ma[i]){var el=document.getElementById(ma[i]);el.style.visibility="hidden";mc[i].backgroundColor="";mc[i].color="";}else{ma[om]=ma[i];mx[om]=mx[i];my[om]=my[i];om++;}}mal=om;if(mal==0&&psrc)psrc.src=pname;}function animate(){for(i=0;i<mal;i++){var el=document.getElementById(ma[i]);if(el.style.visibility=="visible"){if(el.offsetLeft<mx[i])el.style.left=Math.min(el.offsetLeft+nspeed,mx[i])+"px";if(el.offsetLeft>mx[i])el.style.left=Math.max(el.offsetLeft-nspeed,mx[i])+"px";if(el.offsetTop<my[i])el.style.top=Math.min(el.offsetTop+nspeed,my[i])+"px";clipMenu(i,el);}}if(mal!=0||frames!=0)setTimeout("animate()",50);}function clipMenu(i,el){if(el.offsetLeft>mx[i])el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+(el.offsetWidth+(mx[i]-el.offsetLeft))+"px "+el.offsetHeight+"px "+0+"px)";else el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+el.offsetWidth+"px "+el.offsetHeight+"px "+(mx[i]-el.offsetLeft)+"px)";}
Sus  
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Mar Apr 19, 2005 12:03 am    Titlul subiectului: NU INTELEg  

NU INTELEg , chiar asa de nasol e codul ptr. un meniu ?
In CSS arata beton, dar pe vreamea aia nu stiam CSS, iar acum nu mai am timp sa schimb.
Sus  
beeuser



Data înscrierii: 20/Mai/2004
Mesaje: 389

Trimis: Mar Apr 19, 2005 9:57 am    Titlul subiectului:  

oh...my....goodness.
Asta tocmai deaia a fost dat asa codu`.
Pt. a nu putea fi copiat...
Sus  
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Mar Apr 19, 2005 10:43 am    Titlul subiectului: DREAMWAVER  

K, o sa zic ca l-am generat in dreamwaver cu roll over
Sus  
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Mar Apr 19, 2005 12:55 pm    Titlul subiectului: Replay la oh...my....goodness.  

da, e asezat naspa , dar codul e bun , trebuie doar asezat in pagina.
Adica interel,ca defineste niste vectori , verifica versiunea de explorer.. , dar nu prea imi eclar.
Sus  
boo



Data înscrierii: 24/Mar/2004
Mesaje: 223
Locație: Ploiesti

Trimis: Mie Apr 20, 2005 12:25 pm    Titlul subiectului:  

Cod: K, o sa zic ca l-am generat in dreamwaver cu roll over
Tu chiar ii crezi tampiti pe profesorii tai sa nu se prinda ca ala nu este cod generat de Dreamweaver?
Daca totusi vrei sa apelezi la Dreamweaver, salveaza imaginile pentru meniu, inclusiv imaginile de roll-over si fa-le cu Dreamweaverul, cu toate ca nu cred ca nici asta nu ar fi o solutie daca cumva ai meniuri drop-down.
Oricum ideea este ca daca sti cat de cat php nu ai avea prea multe batai de cap sa intelegi minimum de javascript si nu ma refer aici sa faci de unul singur meniuri drop-down sau roll-over si sa intelegi ce se petrece acolo, sa sti cat de cat sa le explici profesorilor codul tau.
Sus  
UzZzY



Data înscrierii: 11/Iun/2004
Mesaje: 206
Locație: Undeva, departe

Trimis: Joi Apr 21, 2005 12:43 am    Titlul subiectului:  

Scuze pt. postul lung care o sa fie :
Cod:
var ma=new Array();
var mx=new Array();
var my=new Array();
var mc=new Array();
var mal=0;
var main=0;
var menuw=200;
var psrc=0;
var pname="";
var al="";
var NS6=(!document.all&&document.getElementById);
var NS4=(!document.getElementById);
var IE5=(!NS4&&!NS6&&navigator.userAgent.indexOf('MSIE 5.0')!=-1);
if(navigator.userAgent.indexOf('Opera')!=-1)NS4=1;
function startMainMenu(file,h,w,dir,space,align)
{
if(w>0)menuw=w;
main=dir;
if(main==1||main==2)document.write("<table border=\"0\" cellspacing=\""+space+"\" cellpadding=\"0\">");
if(file!="")
{
al="";
if(align==1)al=" align=\"right\"";
if(align==2)al=" align=\"center\"";
if(main==1||main==2)document.write("<tr><td"+al+">");
document.write("<img src=\""+loc+file+"\" border=\"0\"");
if(h>0)document.write(" height=\""+h+"\"");
if(w>0)document.write(" width=\""+w+"\"");
document.write(" />");
if(main==1||main==2)document.write("</td>");
if(main==1)document.write("</tr>");
if(main==3)document.write("<br></br>");

}

}
function endMainMenu(file,h,w)
{
if(file!="")
{
if(main==1)document.write("<tr>");
if(main==1||main==2)document.write("<td"+al+">");
document.write("<img src=\""+loc+file+"\" border=\"0\"");
if(h>0)document.write(" height=\""+h+"\"");
if(w>0)document.write(" width=\""+w+"\"");
document.write(" />");
if(main==1||main==2)document.write("</td></tr>");

}
if(main==1||main==2)document.write("</table>");
main=0;

}
function mainMenuItem(name,ext,h,w,url,tar,alt,dir,state,s)
{
if(NS4&&main==0)return;
var isgraphic=ext.charAt(0)==".";
if(main==1)document.write("<tr>");
if(main==1||main==2)document.write("<td"+al+">");
document.write("<a ");
if(url!=""||!isgraphic)document.write("href=\""+url+"\" ");
if(tar!="")document.write("target=\""+tar+"\" ");
document.write("onmouseout=\"");
if(dir>0)document.write("tidyMenu(event);
");
document.write("\" onmouseover=\"");
if(dir>0)document.write("openMenu(event, '"+name+"',"+dir+","+bc+","+fc+");
");
if(state>1&&isgraphic)
{
document[name+"_over"]=new Image();
document[name+"_over"].src=loc+name+"_over"+ext;
document.write("setGraphic(event, '"+loc+name+"_over"+ext+"');
");

}
document.write("return false;
\"");
if(!isgraphic)document.write(" class=\""+s+"\" style=\"width:"+(w>0?w:menuw)+"px\"");
document.write(">");
if(isgraphic)
{
document.write("<img src=\""+loc+name+ext+"\" border=\"0\"");
if(h>0)document.write(" height=\""+h+"\"");
if(w>0)document.write(" width=\""+w+"\"");
if(alt!="")document.write(" alt=\""+alt+"\"");
document.write(" />");

}
else
{
document.write("&nbsp;
"+ext+"&nbsp;
");

}
document.write("</a>");
if(main==1||main==2)document.write("</td>");
if(main==1)document.write("</tr>");
if(main==3)document.write("<br></br>");

}
function startSubmenu(name,style,sw)
{
if(NS4)return;
if(sw>0)menuw=sw;
document.write("<div id=\""+name+"\" class=\""+style+"\" style=\"width:"+(menuw+(NS6?bd*2:0))+"px\">");

}
function endSubmenu(name)
{
if(NS4)return;
document.write("</div>");
if(!NS6)document.getElementById(name).onmouseout=tidyMenu;

}
function submenuItem(text,url,tar,s)
{
if(NS4)return;
if(text.charAt(0)=='<')document.write(text);
else
{
document.write("<a ");
if(url!="")document.write("href=\""+url+"\" ");
if(tar!="")document.write("target=\""+tar+"\" ");
document.write("class=\""+s+"\" style=\"width:"+menuw+"px\">&nbsp;
"+text+"&nbsp;
</a>");

}

}
function setGraphic(event,name)
{
if(NS4)return;
psrc=(NS6)?event.target:event.srcElement;
pname=psrc.src;
if(NS6)event.target.src=name;
else event.srcElement.src=name;

}
function openMenu(event,id,pos,bc,fc)
{
if(NS4)return;
var el,x,y;
if(mal>0)
{
el=document.getElementById(ma[mal-1]);
if(mx[mal-1]!=el.offsetLeft||my[mal-1]!=el.offsetTop)
{
el.style.left=mx[mal-1];
el.style.top=my[mal-1];

}
tidyMenu(event);

}
if(NS6)
{
if(mal==0)
{
x=event.target.x-bd;
y=event.target.y;
dx=event.target.offsetWidth;
dy=event.target.offsetHeight;
if(typeof(event.target.x)=="undefined")
{
x=event.target.offsetLeft;
y=event.target.offsetTop;

}

}
else
{
var p=event.target;
if(p.nodeName!="A"&&p.parentNode.nodeName=="A")p=p.parentNode;
dx=p.offsetWidth;
dy=p.offsetHeight;
el=document.getElementById(ma[mal-1]);
x=el.offsetLeft-bd;
y=el.offsetTop+p.offsetTop;

}

}
else
{
x=event.clientX-event.offsetX+document.body.scrollLeft-document.body.clientLeft;
y=event.clientY-event.offsetY+document.body.scrollTop-document.body.clientTop-bd;
dx=event.srcElement.offsetWidth;
dy=event.srcElement.offsetHeight;
if(mal>0)x-=2*bd;

}
el=document.getElementById(id);
if(el&&el.style.visibility!="visible")
{
if(pos==1)
{
x+=dx;
el.style.left=x-el.offsetWidth;
el.style.top=y;
nspeed=el.offsetWidth/frames;

}
else if(pos==2)
{
y+=dy;
el.style.left=x;
el.style.top=y-el.offsetHeight;
nspeed=el.offsetHeight/frames;

}
else if(pos==3)
{
x-=el.offsetWidth;
el.style.left=x+el.offsetWidth;
el.style.top=y;
nspeed=el.offsetWidth/frames;

}
mx[mal]=x;
my[mal]=y;
if(NS6||IE5||frames==0)
{
el.style.left=x;
el.style.top=y;

}
if(!IE5)clipMenu(mal,el);
el.style.visibility="visible";
ma[mal]=id;
if(NS6)
{
var p=event.target;
if(p.nodeName!="A"&&p.parentNode.nodeName=="A")p=p.parentNode;
mc[mal]=p.style;
el.onmouseout=tidyMenu;

}
else
{
mc[mal]=event.srcElement.style;
if(mal>0)
{
mc[mal].backgroundColor=bc;
mc[mal].color=fc;

}

}
mal++;

}

}
function overMenu(x,y)
{
for(i=0;
i<mal;
i++)
{
var el=document.getElementById(ma[i]);
if(el.offsetLeft+el.offsetWidth>x&&el.offsetLeft<=x&&el.offsetTop+el.offsetHeight>y&&el.offsetTop<=y)
{
return ma[i];

}

}
return "";

}
function tidyMenu(e)
{
if(NS4)return;
if(NS6)
{
t=overMenu(e.pageX,e.pageY);
if(t!=""&&(e.target.firstChild==e.relatedTarget||e.target==e.relatedTarget.firstChild))return;

}
else t=overMenu(event.clientX+document.body.scrollLeft-document.body.clientLeft,event.clientY+document.body.scrollTop-document.body.clientTop);
om=0;
for(i=0;
i<mal;
i++)
{
var mail=ma[i].length;
if(mail>t.length||t.substring(0,mail)!=ma[i])
{
var el=document.getElementById(ma[i]);
el.style.visibility="hidden";
mc[i].backgroundColor="";
mc[i].color="";

}
else
{
ma[om]=ma[i];
mx[om]=mx[i];
my[om]=my[i];
om++;

}

}
mal=om;
if(mal==0&&psrc)psrc.src=pname;

}
function animate()
{
for(i=0;
i<mal;
i++)
{
var el=document.getElementById(ma[i]);
if(el.style.visibility=="visible")
{
if(el.offsetLeft<mx[i])el.style.left=Math.min(el.offsetLeft+nspeed,mx[i])+"px";
if(el.offsetLeft>mx[i])el.style.left=Math.max(el.offsetLeft-nspeed,mx[i])+"px";
if(el.offsetTop<my[i])el.style.top=Math.min(el.offsetTop+nspeed,my[i])+"px";
clipMenu(i,el);

}

}
if(mal!=0||frames!=0)setTimeout("animate()",50);

}
function clipMenu(i,el)
{
if(el.offsetLeft>mx[i])el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+(el.offsetWidth+(mx[i]-el.offsetLeft))+"px "+el.offsetHeight+"px "+0+"px)";
else el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+el.offsetWidth+"px "+el.offsetHeight+"px "+(mx[i]-el.offsetLeft)+"px)";

}

Sus  
vscomap



Data înscrierii: 18/Apr/2005
Mesaje: 10

Trimis: Joi Apr 21, 2005 7:35 am    Titlul subiectului: MC mult  

MC mult ptr. cod , o sa-l folosesc dar dupa licenta ca acum nu mai e timp , am rezolvat cu css :lol:
Sus  
PHPRomania Bot
Bot Member


Data înscrierii: 27/Dec/2007
Mesaje: 1
Locaţie: Server Google
Trimis: Mie Dec 26, 2007 7:01 pm   Titlul subiectului: Ad  

Sus  
 
       Pagina de start a forumului Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc -> HTML/JavaScript/CSS
Pagina 1 din 1


Powered by phpBB 2.0.22 © 2001, 2002 phpBB Group
Varianta în limba română: Romanian phpBB online community