Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-22-2002, 09:58 PM pop up menus
Novice Talker

Posts: 5
Trades: 0
Hey
You know those pop-up menus you find on microsoft.com and other webpages. Where if you hover over a link a menu pops up? How can i get one of those for my webpage. My webpage editor is frontpage. Another example of these pop-up menus are on www.nike.com.

Thanks
shwin80 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-22-2002, 11:50 PM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Trades: 0
Hi shwin80,

I'm almost totally sure that it is impossible with Frontpage. It will definitely require some type of Javascript or DHTML. I might be able to help you with finding the script, but first I would like to know do you upload your files? Do you use the FrontPage extensions, or do you extract the HTML and upload through FTP? Also, have you tried looking at the source code on Microsoft (I wasn't able to find such an effect on Nike)?
__________________

Please login or register to view this content. Registration is FREE
- Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 08:13 AM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
I can do the menu thing with JS ill give you the script if you want...examples of some menus are on my site http://ghettocars.tripod.com/www/template4.html
you will see at the top, top a drop down style menu which i think it looks neat, well that menu and many other menus you can make with JS. and all you have to do is copy and paste the javascript onto frontpage and then publish, easy as pie.
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 01:35 PM
Novice Talker

Posts: 5
Trades: 0
Sure id like the java script if you have it. But how do you change the menu to look like what you want it too. Like can you ad pictures into the pop-up menu, and choose your fonts?

Thanks
shwin80 is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 01:57 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
pictures i dont know of but fonts yea.
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 02:02 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
<!-- TO INSTALL FOLLOW DO THIS:



Copy the coding into the BODY of your HTML document, for frontpage just create a new HTML box and just paste the code in there. -->



<BODY>

<!-- Begin



<SCRIPT LANGUAGE="JavaScript">

function goToURL() { history.go(-1); }

</script>



<style>

.menu

{

position:relative;

background-color:gold;

border:1px solid darkblue;

width:150;

font-size:11px;

font-family:verdana;

font:bold;

position:absolute;

cursor:se-resize;

}

.item_panel

{

width:150;

border-left:1px solid darkblue;

border-right:1px solid darkblue;

clip:rect(0,150,0,0);

position:absolute;



}

.item_panel a

{

text-decoration:none;

color:black;

cursor:hand;

}

.item

{

background-color:lightyellow;

width:148;

font-size:10px;

font-family:verdana;



}

</style>



<script language="JavaScript" src="sliding_menu.js"></script>

<center>

<table width=150><tr><td>

<script language="JavaScript">

//Link[nr] = "position [0 is menu/1 is item],Link name,url,target (blank|top|frame_name)"

var Link = new Array();

Link[0] = "0|Home";

Link[1] = "1|Microsoft|http://www.microsoft.com|";

Link[2] = "1|Nike|http://www.NIKE.com|";

Link[3] = "1|Contact|http://www.URL HERE.com/contact-us.html|";

Link[4] = "1|Traffic|http://www.thecounter.com|";

Link[5] = "0|Access";

Link[6] = "1|Login|Login.asp|";

Link[7] = "1|Logout|Logout.asp|"

Link[8] = "0|Scripts";

Link[9] = "1|LINK HERE|http://www.URL HERE.com|";

Link[10] = "1|JavaScript|http://www.URL HERE.com|";

Link[11] = "0|Links";

Link[12] = "1|sites|http://www.URL HERE.com|blank";



startup(4);

</script>

// End -->





<p><center>


<!-- Script Size: 2.13 KB -->
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 02:07 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
thats one menu now here leme give you another one thats pretty cool, it glides in when you click an icon then goes away when you click again...


<!-- TWO STEPS INSTALL :::

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>
<style>

#menuShow{
border: 1px solid #666666;
background-color: #111111;
padding: 13px;
font-size: 13px;
font-family: Verdana, Arial;
position: absolute;
width: auto;
height: auto;
}

#menuSelect{
border: 1px solid #666666;
background-color: #111111;
padding: 13px;
font-size: 13px;
font-family: Verdana, Arial;
position: absolute;
width: auto;
height: auto;
}

</style>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<div id="menuSelect">
<a href="#" onClick="moveOnMenu();moveOffSelector()">
<img src="icon.gif" width="28" height="28" border="0"></a>
</div>
<div id="menuShow">
<a href="#" onClick="moveOffMenu();moveOnSelector()">
<img src="icon.gif" width="28" height="28" border="0"></a>
<br>
<br>
<a href="http://www.URL HERE.com">Menu Item A</a><br>
<a href="http://www.URL HERE.com">Menu Item B</a><br>
<a href="http://www.URL HERE.com">Menu Item C</a><br>
<br>
<a href="http://www.URL HERE.com">Menu Item D</a><br>
<a href="http://www.URL HERE.com">Menu Item E</a><br>
<br>
<a href="http://www.URL HERE.com">Menu Item F</a><br>
<a href="http://www.URL HERE.com">Menu Item G</a><br>
<a href="http://www.URL HERE.com">Menu Item H</a><br>
</div>



<SCRIPT LANGUAGE="JavaScript">


<!-- Begin


// Set Show to "yes" to show the menu on start-up.
// Set Show to "no" to show the selector on start-up.

Show ="yes";



var OffX = -150;



var PosX = 250;
var PosY = 100;

// change speed here...


var speed = 1;
var increment = 1;
var incrementNS4 = 5; // for slower NS4 browsers

var is_NS = navigator.appName=="Netscape";
var is_Ver = parseInt(navigator.appVersion);
var is_NS4 = is_NS&&is_Ver>=4&&is_Ver<5;
var is_NS5up = is_NS&&is_Ver>=5;

var MenuX = OffX;
var SelX = PosX;
var sPosX = PosX;
var sOffX = OffX;

if (Show == "yes") {
sPosX = OffX;
sOffX = PosX;
MenuX = sOffX;
SelX = sPosX;
}

if (is_NS4) {
increment = incrementNS4;
Lq = "document.layers.";
Sq = "";
eval(Lq+'menuSelect'+Sq+'.left=sPosX');
eval(Lq+'menuShow'+Sq+'.left=sOffX');
eval(Lq+'menuSelect'+Sq+'.top=PosY');
eval(Lq+'menuShow'+Sq+'.top=PosY');
} else {
Lq = "document.all.";
Sq = ".style";
document.getElementById('menuSelect').style.left = sPosX+"px";
document.getElementById('menuShow').style.left = sOffX+"px";
document.getElementById('menuSelect').style.top = PosY+"px";
document.getElementById('menuShow').style.top = PosY+"px";
}

function moveOnMenu() {
if (MenuX < PosX) {
MenuX = MenuX + increment;
if (is_NS5up) {
document.getElementById('menuShow').style.left = MenuX+"px";
} else {
eval(Lq+'menuShow'+Sq+'.left=MenuX');
}
setTimeout('moveOnMenu()',speed);
}
}

function moveOffMenu() {
if (MenuX > OffX) {
MenuX = MenuX - increment;
if (is_NS5up) {
document.getElementById('menuShow').style.left = MenuX+"px";
} else {
eval(Lq+'menuShow'+Sq+'.left=MenuX');
}
setTimeout('moveOffMenu()',speed);
}
}

function moveOffSelector() {
if (SelX > OffX) {
SelX = SelX - increment;
if (is_NS5up) {
document.getElementById('menuSelect').style.left = SelX+"px";
} else {
eval(Lq+'menuSelect'+Sq+'.left=SelX');
}
setTimeout('moveOffSelector()',speed);
}
}

function moveOnSelector() {
if (SelX < PosX) {
SelX = SelX + increment;
if (is_NS5up) {
document.getElementById('menuSelect').style.left = SelX+"px";
} else {
eval(Lq+'menuSelect'+Sq+'.left=SelX');
}
setTimeout('moveOnSelector()',speed);
}
}
// End -->
</script>

<!-- Script Size: 5.71 KB -->
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-23-2002, 02:20 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
and...here is the one you wanted......


<!-- TWO STEPS TO INSTALL SUPER EDITION MENU:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>


<script language="javascript" src="Config.js"></script>
<script language="javascript" src="Menu.js"></script>

</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
<!--
AddMenu("1" , "1" , "Company" , "" , "" , "");
AddMenu("2" , "1" , "Aboutus" , "" , "" , "http://www.yoursite.com");
AddMenu("3" , "1" , "Services" , "" , "" , "http://www.yoursite.com");
AddMenu("4" , "1" , "Prices" , "" , "" , "http://www.yoursite.com");
AddMenu("5" , "1" , "Contact" , "" , "" , "http://www.yoursite.com");
AddMenu("6" , "1" , "Projects" , "" , "" , "http://www.your site.com");
AddMenu("20" , "6" , "ASP System" , "" , "" , "http://www.your site.com");
AddMenu("21" , "6" , "Flash Media" , "" , "" , "http://www.yoursite.com");
AddMenu("22" , "6" , "Jsdfsdf" , "" , "" , "http://www.yoursite.com");
AddMenu("7" , "7" , "Forums" , "" , "" , "http://www.yoursite.com");
AddMenu("8" , "7" , "Webmaster-talk" , "" , "" , "http://www.yoursite.com");
AddMenu("9" , "7" , "Email" , "" , "" , "http://www.yoursite.com");
AddMenu("10" , "7" , "Java" , "" , "" , "http://www.YOURSITE.com");
AddMenu("11" , "7" , "New" , "" , "" , "http://www.yoursite.com");
AddMenu("13" , "13" , "Register" , "" , "" , "http://www.yoursite.com");
AddMenu("15" , "15" , "Members" , "" , "" , "");
AddMenu("16" , "15" , "Login" , "" , "" , "http://www.yoursite.com");
AddMenu("17" , "15" , "Register" , "" , "" , "http://www.yoursite.com");
AddMenu("19" , "19" , "Cool JSthebest" , "" , "" , "http://www.yoursite.com");
Build();
-->
// End -->
</script>



<!-- Script Size: 2.89 KB -->




i dont think it works, i really dont know, ive had it there in my system saved for a long time i never used it. try it out, tell me if you like it or not.
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-24-2002, 01:50 PM
DaveMo~'s Avatar
Administrator
Defies A Status

Posts: 10,200
Name: Dave
Location: Scott Depot, West Virginia, USA
Trades: 1
Quote:
Originally posted by conkermaniac
Also, have you tried looking at the source code on Microsoft (I wasn't able to find such an effect on Nike)?
The effect is on http://www.nike.com./usa/index.html. I looked at the scource code, and are they using Macromedia ShockWave for the effects?

You can use Java with FrontPage if you save pages as html and use another FTP program (not FP's).

Nice menus Ghetto. I'm gonna' experiement with them to see what they can do.

Dave
__________________

Please login or register to view this content. Registration is FREE
:
Please login or register to view this content. Registration is FREE
:
Please login or register to view this content. Registration is FREE
:

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
?

DaveMo~ is offline
Reply With Quote
View Public Profile
 
Old 07-24-2002, 11:52 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
go right ahead...after your done with it, can i see?
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-29-2002, 10:38 PM
Novice Talker

Posts: 5
Trades: 0
hey ghetto thanks for all the help, i was away so i couldnt respond. Thanks alot again
shwin80 is offline
Reply With Quote
View Public Profile
 
Old 07-30-2002, 01:22 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
ghettocars : where do i get the config.js and menu.js ?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 07-30-2002, 02:51 AM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
thats what i meant by it probably wont work, I might have coded some stuff wrong there and my friend told me to add that...dont worry ill try to fix it though
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-30-2002, 03:04 AM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
ok just click here and it will show you the menu...
http://ghettocars.tripod.com/Menu.htm

now my friend finally gave me the script.js and menu.js lol. I knew the script didnt work cuz i needed that, I guess he forgot to give it to me. Well anyways here you can download it at.
http://ghettocars.tripod.com/Menu.js
http://ghettocars.tripod.com/Config.js

there ya go. Hope you all like it
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 07-30-2002, 03:38 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
well. i downloaded the menu and the config files.

one word for the menu : WONDERFUL.

real nice menu. ghettocars.

give a BIG thanks to ur friend
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 07-30-2002, 08:24 AM
DaveTodd's Avatar
Evil Psycho Alien

Posts: 684
Location: Sheffield, England
Trades: 0
i am currently exploring the DHTML menu front. I use the same scripts as on www.hostone.co.uk - very simple drop down JS menus. The script for them is freely available on www.hostcripts.com under javascript i think, then navigation. somewhere around there anyways.

they do take time to get to grips with, for changing the appearence and getting them to look right, but once its done, its a very small script that gives you comprehensive navigation, much smaller and more pro-looking than lots of CSS and less download than a load of images.

DHTML menus seem to be taking off at the moment, they could be the future!!
__________________
take care,
Dave ;)

Please login or register to view this content. Registration is FREE
DaveTodd is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to pop up menus
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.67492 seconds with 12 queries