AlmondScar Posted June 30, 2003 Share Posted June 30, 2003 hey, is it possible to get a menu to slide down when you click on an image?example: Example pageYou see the KF in the corner? I need a script that so when i click it a menu shoots down.Thanx in advance :flowers: Link to comment Share on other sites More sharing options...
babis Posted June 30, 2003 Share Posted June 30, 2003 umm... I think the webmaster for KF is updating thier page as we speak.I'm not really sure what you are talking about (but if I think what you mean is just menus) try guistuff.com they have dhtml menu creators (flash menu's etc.) Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 thanx. yeah, soz about that, i was jsut messing about with the pages, trying to get the right font ok, ill try out that site Link to comment Share on other sites More sharing options...
SqueakyByte Posted June 30, 2003 Share Posted June 30, 2003 Just grab Swish 2 and use its menu wizard. It exports SWF files as well as the html coding to utilize its functions. Link to comment Share on other sites More sharing options...
vcant Posted June 30, 2003 Share Posted June 30, 2003 Here you will find all the DHTML menus you need. Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 cheers you guys Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 nope, i still acnt find it there :S all there is is clickable side menus, i need one that goes down :cry: Link to comment Share on other sites More sharing options...
vcant Posted June 30, 2003 Share Posted June 30, 2003 like this ? Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 yeah! only with the 'programs' bit staying at the top and the menu underneath it Link to comment Share on other sites More sharing options...
vcant Posted June 30, 2003 Share Posted June 30, 2003 well, i didnt find it on dynamicdrive, so i can only suggest that you go to that page and do 'view source', copy the code and download the .js file.i must warn you though, i dont remember much about this menu, cause it was a while ago, but i remember that it was really difficult to setup...so enjoy Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 eep! lol, ok thanx Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 <script language=JavaScript src="drop-main.js"></SCRIPT><script language=JavaScript>function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);// -->function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}}function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;}function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); if(!x && document.getElementById) x=document.getElementById(n); return x;}function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}I put in this, but nothing happens this is goping to be a looong night! lol Link to comment Share on other sites More sharing options...
vcant Posted June 30, 2003 Share Posted June 30, 2003 no, thats wrong,you dont need the second screept part, you only need to download the .js file, the second part is just Macromedia scripts.js file herethen copy the existing html from the pageeditplease dont make me go in there , i really dont like javascript Link to comment Share on other sites More sharing options...
AlmondScar Posted June 30, 2003 Author Share Posted June 30, 2003 do i have to upload the file? Link to comment Share on other sites More sharing options...
vcant Posted June 30, 2003 Share Posted June 30, 2003 ok, you did it, im going to the javascript, so you will have to wait atiently for about5-10 mins Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now