peut etre que j ai ecris mon prob plusieurs fois , c est que je suis nouvelle et je sais pas encore manupiler sur ce site , j ecris pour savoir comment faire des liens en dhtml
peut etre que j ai ecris mon prob plusieurs fois , c est que je suis nouvelle et je sais pas encore manupiler sur ce site , j ecris pour savoir comment faire des liens en dhtml
un lien en dhtml est comme un lien en html...
non , je pense pas que c est la meme chose je te donne un petit exemple avec code , la j ai fais un menu appelé "amouh" avec des sous menu "hanan", "mina" , "younes" , je veux par exemple que le sous menu "hanane" mene vers une page html , voila le code:
m2.scrollHeight=6
m2.attr=new Array("11px",false,false,"Black","#B2CFEB","White","Arial,Helvetica","#003366","Black","#B2CFEB")
m2mn1=new Array
(
"hanane","<root>/azerty.html",0,"",""/** apperement ca marche pa :s
,"mina","<root>/#",0,"",""
,"younes","<root>/#",0,"",""
)
absPath=""
if(m2.v19&&!m2.v20){
je fais omment stp je suis bloquée
j ai presque regarde tous les sites mais j arrive pas a toruver la bonne solution
oulà!
Qu'est-ce que c'est que ça?! pour moi, le dhtml, c'est du html et du javascript... Là il y a du javascript, mais c'est pas du html...
Mets nous le code de ta page, ca nous aidera peut-être un peu à voir ce dont il s'agit.
ok merci pour ta patience
ce code la , c est pour la page HTML qui fait appel a l autre code.js
---------------------------------------------------------------------
-------------------------------------------------------------------------
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <div id="dmsmenu2_QzolNUNEb2N1bWVudHMlMjBhbmQlMjBTZXR0aW5ncyU1Q0hhbmFuZSUyMEFtb3VoJTVDTWVzJTIwZG9jdW1lbnRzJTVDcm9vdCU1Q3Jvb3QxLmRtcw::"> <img id='TrackPath_m2' src='./menu-files/empty.gif' width='1' height='1' style='display:none' alt='' /> <script type="text/javascript" src="./menu-files/menu_m2_scr.js"> </script> <table id="m2mainSXMenu2" cellspacing="1" cellpadding="5" style=";width:"> <tr> <td onmouseover="chgBg(m2,'m2tlm0',3);exM(m2,'m2mn1','m2tlm0',event)" onmouseout="chgBg(m2,'m2tlm0',0);coM(m2,'m2mn1')" id="m2tlm0" style="background-color:#B2CFEB;" ><table cellpadding='0' cellspacing='0' style='width:100%'> <tr> <td style="text-align:center;" class='m2mit'><a id="m2tlm0a" class="m2CL0" href="javascript:void(0);" >amouh</a></td> <td style='text-align:right;width:8px'><img width="8" height="8" src="./menu-files/menu_m2ia.gif" style="vertical-align:middle;border-style:none" alt="" /></td> </tr> </table></td> </tr> </table> </div> </body> </html>
la c est menu_m2_src
---------------------------------------------------------------------
Code javascript : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89 //script generated by SiteXpert (<a href="http://www.xtreeme.com" target="_blank">www.xtreeme.com</a>) //Copyright(C) 1998-2003 Xtreeme GmbH var ver='4.0.3D' var m2=new Object m2.name='m2' m2.fnm='menu_m2' if(!window.lastm||window.lastm<2)lastm=2 m2.v17=null m2.v17Timeout='' var maxZ=1000 m2.v18 m2.targetFrame var docLoaded=false m2.bIncBorder=true m2.v29=null m2.v29Str='' m2.v55=50 m2.scrollStep=10 m2.fadingSteps=8 m2.itemOverDelay=0 m2.transTLO=0 m2.fixSB=0 m2.v62=0 var pth=document.getElementById('TrackPath_m2').src if(pth.lastIndexOf("\\")>pth.lastIndexOf("/")) {sepCh = "\\" ;} else {sepCh = "/" ;} var pths=pth.lastIndexOf(sepCh) pth=(pths==-1)?'.':pth.substring(0,pths) m2.v21=pth pths=pth.lastIndexOf(sepCh) pth=(pths==-1)?'.':pth.substring(0,pths) m2.v57=pth m2.v56="<root>" m2.maxlev=1 m2.v22=0 m2.sepH=10 m2.bHlNL=1 m2.showA=1 m2.bVarWidth=0 m2.bShowDel=0 m2.scrDel=0 m2.v23=150 m2.levelOffset=20 m2.bord=1 m2.vertSpace=5 m2.sep=1 m2.v19=false m2.bkv=0 m2.rev=0 m2.shs=0 m2.xOff=0 m2.yOff=0 m2.xSOff=0 m2.ySOff=2 m2.v20=false m2.cntFrame="" m2.menuFrame="" m2.v24="" m2.mout=true m2.iconSize=8 m2.closeDelay=1000 m2.tlmOrigBg="#B2CFEB" m2.tlmOrigCol="Black" m2.v25=false m2.v52=false m2.v60=75 m2.v11=false m2.v10=0 m2.ppLeftPad=5 m2.v54=0 m2.v01=2 m2.tlmHlBg="#003366" m2.tlmHlCol="White" m2.borderCol="white" m2.menuHorizontal=false m2.scrollHeight=6 m2.attr=new Array("11px",false,false,"Black","#B2CFEB","White","Arial,Helvetica","#003366","Black","#B2CFEB") m2mn1=new Array ( "hanane","<root>/azerty.html",0,"",""// c est la ou j ai esayé de faire un lien ,"mina","<root>/#",0,"","" ,"younes","<root>/#",0,"","" ) absPath="" if(m2.v19&&!m2.v20){ if(window.location.href.lastIndexOf("\\")>window.location.href.lastIndexOf("/")) {sepCh = "\\" ;} else {sepCh = "/" ;} absPath=window.location.href.substring(0,window.location.href.lastIndexOf(sepCh)+1)} m2.v02=m2.v23 document.write("<style type='text/css'>\n.m2CL0,.m2CL0:link{text-decoration:none;width:100%;color:Black; }\n.m2CL0:visited{color:Black}\n.m2mit{padding-left:15px;padding-right:15px;color:Black; font-family:Arial,Helvetica; font-size:11px; }\n"+"</"+"style>") document.write("<script type='text/javascript' src='"+eval('window.m'+lastm).v21+"/menu_dom.js'></"+"script>")
heeeelp![]()
donc je fais quoi ????
Partager