Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 54
3 members and 51 guests
buynm6ymobcha8b, cliaw9cckhereto, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
How to add rolldown in menu?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 85
Join Date: Nov 2002
Location: Sweden
How to add rolldown in menu? - 11-25-2002, 07:51 AM

Well, I wonder how I can make rolldowns or what the name is of the links up in the middle ( Home, Downloads, Your Account, Forums) I would like to add rolldown menus for these so when you have your pointer over one of them it should come up som alternatives with links and so on...

I have been searching for a theme that has this in it already, but I have not found any, anyway I think it would be best if I learned it myself so I can have the theme that I want.
 Send a message via ICQ to zlaxzzor Send a message via MSN to zlaxzzor  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
11-25-2002, 08:26 AM

Not sure if this is what you mean.
I got this from http://www.javascriptkit.com . This is the code I modified (still modifying). You need a small graphis, an arrow, comes with it. you can see how it looks in a block on my site in the lower left-hand corner.
Add the path to the arrow just past the word Catagories, like img src="tridown.gif", But use < and >. I could not use it in this post because it was trying to display the image!
************************************************** *********

<html><head><style>
#innermenu a{
text-decoration:none;
}

#innermenu a:hover{
background-color:#DD6900;

}

</style></head><body bgcolor="#303030">
<p align="center">
<script language="JavaScript1.2">

//DHTML combo box script- by javascriptkit.com
//Visit JavaScript Kit (http://www.javascriptkit.com) for script
//Credit must stay intact for use

var ie5=(document.getElementById&&navigator.appName.in dexOf("Internet Explorer")!=-1)

if (ie5){
document.write('<span style="position:relative;width:130px;height:20px;b order:1px solid black;font:bold 10pt Verdana;padding:2px" onClick="showhide(1);event.cancelBubble=1" ><span style="cursor:hand;width:100%">Categories</span>')
document.write('<div id="innermenu" style="position:absolute;center:2;top:16;width:120 px;height:100px;border:1px solid #5B5B5B;background-color:#404040;overflow-y:scroll;visibility:hidden;">')
}

function gl(linkname,dest){
document.write(''+linkname+'
')
}

function showhide(state){
var cacheobj=document.getElementById("innermenu").styl e
if (state==0)
cacheobj.visibility="hidden"
else
cacheobj.visibility=cacheobj.visibility=="hidden"? "visible" : "hidden"
}

//Specify your links here- gl(Item text, Item URL)
if (ie5){
gl("JavaScript Kit","http://www.javascriptkit.com")
gl("Dynamic Drive","http://www.dynamicdrive.com")
gl("Free Web Templates","http://www.freewebtemplates.com")
gl("Freewarejava.com","http://freewarejava.com")
gl("MSNBC","http://www.msnbc.com")
gl("Google","http://www.google.com")
gl("Yahoo","http://www.yahoo.com")
gl("CNN","http://cnn.com")
//Extend this list as needed


}

if (ie5){
document.onclick=function(){showhide(0)}
document.write('</div></span>')
}

</script>
</p></body></html>
************************************************** *****
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 85
Join Date: Nov 2002
Location: Sweden
11-25-2002, 08:31 AM

thanks, but not really what I meant... I mean like they got it on this site: http://www.aik4ever.com it's on swedish, but I think you can see the menu on the top (hold the mouse over one of the textlinks)...
 Send a message via ICQ to zlaxzzor Send a message via MSN to zlaxzzor  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
11-25-2002, 08:43 AM

Yes I see what you mean. That is cool! I want to look in to that too.
Here is a site with a theme with something like it. You can download this theme there. http://nuke.dunslab.net/
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 85
Join Date: Nov 2002
Location: Sweden
11-25-2002, 09:03 AM

Yeah, that was pretty much like it... Will wait to see if someone knows anything that is just like it though...
 Send a message via ICQ to zlaxzzor Send a message via MSN to zlaxzzor  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
11-25-2002, 09:44 AM

The text links located at the top of most Nuke pages are controlled by the theme.php file OR sometimes the header.html file for that particualr theme.

Those rolldown or "Drop" down type menus are easy if you have Dreamwever. The dropdown menus you create in DW can then be copied(html text) into the theme.php or header.html in place of the the old menu links. Some formatting of the html may need to be changed to incorporate it into the theme.php or header.html

------EDIT------
MY BAD..You can actually do these in Fireworks...I thought it was Dremweaver...maybe it is in Dreamweaver too, but I can't find it. Found it in Fireworks. I'm gonna try it on my test site...hehe

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
user menu wing nukemods.com 4 05-09-2005 04:26 PM
How do u add the main menu... shaheer Site design 1 01-23-2005 03:51 AM
Menu Editing, Please Help DMC-12 Site design 0 03-14-2003 11:46 PM
MAIN MENU Force Purged Topics 12 03-07-2003 02:44 PM
Modded the main menu and User Menu Konan Purged Topics 0 10-06-2002 12:20 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

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