Top
Phpuniverset logo
 
930 banner

INDHOLD

Forside

Script libary

Job annoncer

Tips og Tricks

Konkurrence

Downloads

Dokumenter

Forum

Online udviklere


ARTIKLER

CSS

Diverse

E-handel / annoncer

Grafik

Html

Internet

Javascript

Linux

PHP/MySQL

Programmer

Flash

Søgemaskiner

Windows

C / C++


INFO

Information

Annoncering

Kontakt

Forside Forum PHP, mysql Hjælp til link...

Hjælp til link...


 

Hjælp til link...

Kim Nielsen  

Jeg kunne godt tænke mig at når man klikker på et link i min javamenu bliver den side
linket peger på sat ind et bestemt sted på den side jeg befinder mig på...

Min hidtidige kode ser således ud...

-----------------------------

<html>

<head>

<title>Nille</title>
<link href="css/styles.css" rel="stylesheet" type="text/css">

<script language="JavaScript" type="text/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_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  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[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];}
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>

</head>

<body
onLoad="MM_preloadImages('images/menu/dk_frontpage_rollover.png','images/menu/dk_gallery_r
ollover.png','images/menu/dk_stages_rollover.png','images/menu/dk_about_us_rollover.png','
images/menu/dk_stages/dk_stages_past_rollover.png','images/menu/dk_stages/dk_stages_next_r
ollover.png','images/menu/dk_stages/dk_stages_upcoming_rollover.png','images/menu/dk_galle
ry/dk_pictures_rollover.png','images/menu/dk_gallery/dk_video_rollover.png','images/menu/d
k_gallery/dk_sound_rollover.png','images/menu/dk_about_us/dk_about_us_lars_rollover.png','
images/menu/dk_about_us/dk_about_us_kim_rollover.png','images/menu/dk_gallery/pictures/dk_
newest_rollover.png','images/menu/dk_gallery/pictures/dk_archive_rollover.png','images/men
u/dk_gallery/video/dk_newest_rollover.png','images/menu/dk_gallery/video/dk_archive_rollov
er.png','images/menu/dk_gallery/sound/dk_newest_rollover.png','images/menu/dk_gallery/soun
d/dk_archive_rollover.png','images/menu/dk_about_us/lars/dk_about_us_biography_rollover.pn
g','images/menu/dk_about_us/lars/dk_about_us_column_rollover.png','images/menu/dk_about_us
/lars/dk_about_us_archive_rollover.png','images/menu/dk_about_us/kim/dk_about_us_biography
_rollover.png','images/menu/dk_about_us/kim/dk_about_us_column_rollover.png','images/menu/
dk_about_us/kim/dk_about_us_archive_rollover.png','images/menu/dk_search_rollover.png','im
ages/menu/dk_login_rollover.png','images/menu/dk_links_rollover.png')"><div id="laydkmenu"
style="position: absolute; left: 80px; top: 197px; width: 569px; height: 17px; z-index: 2;
background-color: #666666; layer-background-color: #666666; border: 1px none #000000;
background-image: url(images/menu/empty.png); layer-background-image:
url(images/menu/empty.png); visibility: visible;"><img src="images/menu/menu_spacer.png"
width="20" height="15" border="0">
<a href="index.php" target="_middle"
onMouseOver="MM_swapImage('dk_frontpage','','images/menu/dk_frontpage_rollover.png',1);MM_
showHideLayers('laydkstages','','hide')" onMouseOut="MM_swapImgRestore()"><img
src="images/menu/dk_frontpage_original.png" name="dk_frontpage" width="45" height="15"
border="0"></a><img src="images/menu/menu_spacer.png" width="20" height="15" border="0"><a
href="stages.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_stages','','images/menu/dk_stages_rollover.png',1);MM_showHi
deLayers('laydkstages','','show','laydkgallery','','hide','laydkgallerypictures','','hide'
,'laydkgalleryvideo','','hide','laydkgallerysound','','hide')"><img
src="images/menu/dk_stages_original.png" name="dk_stages" width="42" height="15"
border="0"></a><img src="images/menu/menu_spacer.png" width="20" height="15" border="0"><a
href="gallery.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery','','images/menu/dk_gallery_rollover.png',1);MM_show
HideLayers('laydkstages','','hide','laydkgallery','','show','laydkaboutus','','hide','layd
kgallerypictures','','hide','laydkgalleryvideo','','hide','laydkgallerysound','','hide','l
aydkaboutuslars','','hide','laydkaboutuskim','','hide')"><img
src="images/menu/dk_gallery_original.png" name="dk_gallery" width="37" height="15"
border="0"></a><img src="images/menu/menu_spacer.png" width="20" height="15"><a
href="about_us.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us','','images/menu/dk_about_us_rollover.png',1);MM_sh
owHideLayers('laydkgallery','','hide','laydkaboutus','','show','laydkgallerypictures','','
hide','laydkgalleryvideo','','hide','laydkgallerysound','','hide','laydkaboutuslars','','h
ide','laydkaboutuskim','','hide')"><img src="images/menu/dk_about_us_original.png"
name="dk_about_us" width="41" height="15" border="0"></a><img
src="images/menu/menu_spacer.png" width="20" height="15"><a href="links.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_links','','images/menu/dk_links_rollover.png',1);MM_showHide
Layers('laydkgallery','','hide','laydkaboutus','','hide','laydkgallerypictures','','hide',
'laydkgalleryvideo','','hide','laydkgallerysound','','hide','laydkaboutuslars','','hide','
laydkaboutuskim','','hide')"><img src="images/menu/dk_links_original.png" name="dk_links"
width="30" height="15" border="0"></a><img src="images/menu/menu_spacer.png" width="20"
height="15"><a href="login.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_login','','images/menu/dk_login_rollover.png',1);MM_showHide
Layers('laydkgallery','','hide','laydkaboutus','','hide','laydkgallerypictures','','hide',
'laydkgalleryvideo','','hide','laydkgallerysound','','hide','laydkaboutuslars','','hide','
laydkaboutuskim','','hide')"><img src="images/menu/dk_login_original.png" name="dk_login"
width="47" height="15" border="0"></a><img src="images/menu/menu_spacer.png" width="20"
height="15"><a href="search.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_search','','images/menu/dk_search_rollover.png',1);MM_showHi
deLayers('laydkgallery','','hide','laydkaboutus','','hide','laydkgallerypictures','','hide
','laydkgalleryvideo','','hide','laydkgallerysound','','hide','laydkaboutuslars','','hide'
,'laydkaboutuskim','','hide')"><img src="images/menu/dk_search_original.png"
name="dk_search" width="23" height="15" border="0"></a></div>
<div id="laydkstages" style="position:absolute; left:157px; top:212px; width:130px;
height:100px; z-index:3; visibility: hidden;"><img src="images/menu/transparent.gif"
width="130" height="5"><img src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="stages/next.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_stages_next','','images/menu/dk_stages/dk_stages_next_rollov
er.png',1)"><img src="images/menu/dk_stages/dk_stages_next_original.png"
name="dk_stages_next" width="130" height="15" border="0"></a><a href="stages/upcoming.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_stages_upcoming','','images/menu/dk_stages/dk_stages_upcomin
g_rollover.png',1)"><img src="images/menu/dk_stages/dk_stages_upcoming_original.png"
name="dk_stages_upcoming" width="130" height="15" border="0"></a><a href="stages/past.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_stages_past','','images/menu/dk_stages/dk_stages_past_rollov
er.png',1)"><img src="images/menu/dk_stages/dk_stages_past_original.png"
name="dk_stages_past" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div id="laydkgallery"
style="position:absolute; left:220px; top:212px; width:130px; height:100px; z-index:4;
visibility: hidden;"><img src="images/menu/transparent.gif" width="130" height="5"><img
src="images/menu/menu_spacer_2.png" width="130" height="2"><a href="gallery/pictures.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_pictures','','images/menu/dk_gallery/dk_pictures_rol
lover.png',1);MM_showHideLayers('laydkgallery','','show','laydkgallerypictures','','show',
'laydkgalleryvideo','','hide','laydkgallerysound','','hide')"><img
src="images/menu/dk_gallery/dk_pictures_original.png" name="dk_gallery_pictures"
width="130" height="15" border="0"></a><a href="gallery/video.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_video','','images/menu/dk_gallery/dk_video_rollover.
png',1);MM_showHideLayers('laydkgallery','','show','laydkgallerypictures','','hide','laydk
galleryvideo','','show','laydkgallerysound','','hide')"><img
src="images/menu/dk_gallery/dk_video_original.png" name="dk_gallery_video" width="130"
height="15" border="0"></a><a href="gallery/sound.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_sound','','images/menu/dk_gallery/dk_sound_rollover.
png',1);MM_showHideLayers('laydkgallery','','show','laydkgallerypictures','','hide','laydk
galleryvideo','','hide','laydkgallerysound','','show')"><img
src="images/menu/dk_gallery/dk_sound_original.png" name="dk_gallery_sound" width="130"
height="15" border="0"></a><img src="images/menu/menu_spacer_2.png" width="130"
height="2"></div><div id="laydkaboutus" style="position:absolute; left:280px; top:212px;
width:130px; height:100px; z-index:9; visibility: hidden;"><img
src="images/menu/transparent.gif" width="130" height="5"><img
src="images/menu/menu_spacer_2.png" width="130" height="2"><a href="about_us/lars.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_lars','','images/menu/dk_about_us/dk_about_us_lars_
rollover.png',1);MM_showHideLayers('laydkaboutus','','show','laydkaboutuslars','','show','
laydkaboutuskim','','hide')"><img
src="images/menu/dk_about_us/dk_about_us_lars_original.png" name="dk_about_us_lars"
width="130" height="15" border="0"></a><a href="about_us/kim.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_kim','','images/menu/dk_about_us/dk_about_us_kim_ro
llover.png',1);MM_showHideLayers('laydkaboutus','','show','laydkaboutuslars','','hide','la
ydkaboutuskim','','show')"><img src="images/menu/dk_about_us/dk_about_us_kim_original.png"
name="dk_about_us_kim" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div
id="laydkgallerypictures" style="position:absolute; left:350px; top:212px; width:130px;
height:100px; z-index:6; visibility: hidden;"><img src="images/menu/transparent.gif"
width="130" height="5"><img src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="gallery/pictures/newest.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image33','','images/menu/dk_gallery/pictures/dk_newest_rollover
.png',1)"><img src="images/menu/dk_gallery/pictures/dk_newest_original.png" name="Image33"
width="130" height="15" border="0"></a><a href="gallery/pictures/archive.php"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_pictures_archive','','images/menu/dk_gallery/picture
s/dk_archive_rollover.png',1)"><img
src="images/menu/dk_gallery/pictures/dk_archive_original.png"
name="dk_gallery_pictures_archive" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div
id="laydkgalleryvideo" style="position:absolute; left:350px; top:227px; width:130px;
height:100px; z-index:7; visibility: hidden;"><img src="images/menu/transparent.gif"
width="130" height="5"><img src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="gallery/video/newest.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_video_newest','','images/menu/dk_gallery/video/dk_ne
west_rollover.png',1)"><img src="images/menu/dk_gallery/video/dk_newest_original.png"
name="dk_gallery_video_newest" width="130" height="15" border="0"></a><a
href="gallery/video/archive.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_video_archive','','images/menu/dk_gallery/video/dk_a
rchive_rollover.png',1)"><img src="images/menu/dk_gallery/video/dk_archive_original.png"
name="dk_gallery_video_archive" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div
id="laydkgallerysound" style="position:absolute; left:350px; top:242px; width:130px;
height:100px; z-index:8; visibility: hidden;"><img src="images/menu/transparent.gif"
width="130" height="5"><img src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="gallery/sound/newest.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_sound_newest','','images/menu/dk_gallery/sound/dk_ne
west_rollover.png',1)"><img src="images/menu/dk_gallery/sound/dk_newest_original.png"
name="dk_gallery_sound_newest" width="130" height="15" border="0"></a><a
href="gallery/sound/archive.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_gallery_sound_archive','','images/menu/dk_gallery/sound/dk_a
rchive_rollover.png',1)"><img src="images/menu/dk_gallery/sound/dk_archive_original.png"
name="dk_gallery_sound_archive" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div
id="laydkaboutuslars" style="position:absolute; left:410px; top:212px; width:130px;
height:100px; z-index:10; visibility: hidden;"><img src="images/menu/transparent.gif"
width="130" height="5"><img src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="about_us/lars/biography.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_lars_biography','','images/menu/dk_about_us/lars/dk
_about_us_biography_rollover.png',1)"><img
src="images/menu/dk_about_us/lars/dk_about_us_biography_original.png"
name="dk_about_us_lars_biography" width="130" height="15" border="0"></a><a
href="about_us/lars/column.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_lars_column','','images/menu/dk_about_us/lars/dk_ab
out_us_column_rollover.png',1)"><img
src="images/menu/dk_about_us/lars/dk_about_us_column_original.png"
name="dk_about_us_lars_column" width="130" height="15" border="0"></a><a
href="about_us/lars/archive.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_lars_archive','','images/menu/dk_about_us/lars/dk_a
bout_us_archive_rollover.png',1)"><img
src="images/menu/dk_about_us/lars/dk_about_us_archive_original.png"
name="dk_about_us_lars_archive" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div id="laydkaboutuskim"
style="position:absolute; left:410px; top:227px; width:130px; height:100px; z-index:11;
visibility: hidden;"><img src="images/menu/transparent.gif" width="130" height="5"><img
src="images/menu/menu_spacer_2.png" width="130" height="2"><a
href="about_us/kim/biography.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_kim_biography','','images/menu/dk_about_us/kim/dk_a
bout_us_biography_rollover.png',1)"><img
src="images/menu/dk_about_us/kim/dk_about_us_biography_original.png"
name="dk_about_us_kim_biography" width="130" height="15" border="0"></a><a
href="about_us/kim/column.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_kim_column','','images/menu/dk_about_us/kim/dk_abou
t_us_column_rollover.png',1)"><img
src="images/menu/dk_about_us/kim/dk_about_us_column_original.png"
name="dk_about_us_kim_column" width="130" height="15" border="0"></a><a
href="about_us/kim/archive.php" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('dk_about_us_kim_archive','','images/menu/dk_about_us/kim/dk_abo
ut_us_archive_rollover.png',1)"><img
src="images/menu/dk_about_us/kim/dk_about_us_archive_original.png"
name="dk_about_us_kim_archive" width="130" height="15" border="0"></a><img
src="images/menu/menu_spacer_2.png" width="130" height="2"></div><div id="layhidedropdown"
style="position:absolute; width:600; height:200; z-index:1; left: 80px; top: 189px;"><a
href="javascript:;"
onMouseOver="MM_showHideLayers('laydkstages','','hide','laydkgallery','','hide','laydkabou
tus','','hide','laydkgallerypictures','','hide','laydkgalleryvideo','','hide','laydkgaller
ysound','','hide','laydkaboutuslars','','hide','laydkaboutuskim','','hide')"><img
src="images/menu/transparent.gif" width="100%" height="100%" border="0"></a></div>

<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr class="layout">
    <td rowspan="5" class="side">&nbsp;</td>
    <td class="top">&nbsp;</td>
    <td rowspan="5" class="side">&nbsp;</td>
  </tr>
  <tr>
    <td background="images/menu/empty.png" class="menu">&nbsp;</td>
  </tr>
  <tr>
    <td class="middle">&nbsp;</td>
  </tr>
  <tr>
    <td class="banner">&nbsp;</td>
  </tr>
  <tr>
    <td class="bottom">&nbsp;</td>
  </tr>
</table>
</body>
</html>



Dato : 25.10.2005, 16:11

Visninger : 2861

Points : 40




Login for at skrive et indlg :



   Brugernavn

Password
 

+ Opret en ny Bruger, Klik her

+ Glemt brugernavn/password

 

Send Artikel/anmeldelse til: phpuni@phpuniverset.dk

Tilbage til oversigt

Phpuniverset's politik om personlige oplysninger, artikler & Koder Phpuniverset er optimeret til Mozilla 1024 * 768 Phpuniverset version: 3.0 beta
Webhost : Ignesco.dk

Bund