Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
jassica
Joined: Feb 28, 2005
# Posts: 2
|
Posted: 2005-Jul-06 00:23
this is my problem:
at the top of the page i have drop-down menu, i want it fixed while scrolling the page.
is there any help, i'm tired of searching.
do you have any other solution or example of page with drop down menu at the top, which remains fixed while scrolling?
thanx
|
 |
bhartzer
Staff
Joined: Jun 08, 2000
# Posts: 7042
|
Posted: 2005-Jul-06 00:28
The only ones I've seen lately have been javascript menus. An example would be on this page with the menu on the left. It's always visible as you scroll.
Is that what you're looking for?
|
 |
jassica
Joined: Feb 28, 2005
# Posts: 2
|
Posted: 2005-Jul-06 00:43
i have seen that kind. it's not what i'm looking for.
i hoped it will be easy thing to do, but...
here is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href='main.css' type='text/css' rel='stylesheet'>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
-->
</style></head>
<body>script type='text/javascript' src='awjsmenugold10.js'></script>
<script type='text/javascript'>
var awbMNBSpm=new awbmnbspm();
sadrzaj=new TJSMenuType2("sadrzaj","",0,0,100,0,0,0,0,1000,2,"tahoma",10,1,0,2,"#FFFFFF",20,20,1,5,1,"progid:DXImageTransform.Microsoft.Fade(duration=0.5)" ;
sadrzaj.awBmnbspM("i0","","Sadrzaj manifestacije","","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i1","i0","33. sabor narodnog stvaralastva","sabor.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i2","i0","Festival vina i grozdja","festival.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i3","i0","Poljoprivredna izlozba","izlozba.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i4","i0","Dodatni sadrzaji","","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i5","i4","Koncert etno muzike","etnokoncert.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i6","i4","Humanitarni koncert","humanitarni.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i7","i4","Lovni turizam","lov.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmnbspM("i8","i4","Reli oldtajmera","reli.html","_self",200,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","sadrzaj manifestacije" ;
sadrzaj.awBmNBspm();
</script></div>
<noscript>Your browser does not support Javascript!</noscript>
<script type='text/javascript' src='awjsmenugold10.js'></script>
<script type='text/javascript'>
var awbMNBSpm=new awbmnbspm();
scenario=new TJSMenuType2("scenario","",0,0,675,0,0,0,0,1000,2,"tahoma",10,1,0,2,"#FFFFFF",0,20,1,5,1,"" ;
scenario.awBmnbspM("i0","","Scenario dogadjaja","","_self",120,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","scenario dogadjaja" ;
scenario.awBmnbspM("i1","i0","1. dan","1dan.html","_self",120,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","scenario dogadjaja" ;
scenario.awBmnbspM("i2","i0","2. dan","2dan.html","_self",120,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","scenario dogadjaja" ;
scenario.awBmnbspM("i3","i0","3. dan","3dan.html","_self",120,20,"","","#B60C05","#B60C05","#C0C0C0","#FFFFFF","scenario dogadjaja" ;
scenario.awBmNBspm();
</script>
<noscript>Your browser does not support Javascript!</noscript>
<p>text that can cause scrolling</p>
</body>
</html>
|
 |
lizardz
Joined: Nov 12, 2004
# Posts: 1394
|
Posted: 2005-Jul-06 01:47
" hoped it will be easy thing to do, but... "
You can do it, but it's not easy, and you have to understand how to use positioned CSS very well to get it working.
If you use position:fixed on the top navigation container, it can work, but, again, it's not easy, and usually causes more problems, getting it working cross browser is a pain.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|