943,762 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Feb 20th, 2008
0

Nav bar in dreamweaver dissappears after click

Expand Post »
I made a navigation bar in DW CS3 through the menu.
It works at first site, but when you click another link the former link disapears. When you hover over it it is back again.

Does someone recognizes this problem?
Thanks for the reaction in advance,
babouche
Reputation Points: 10
Solved Threads: 0
Newbie Poster
babouche is offline Offline
5 posts
since Feb 2008
Feb 20th, 2008
0

Re: Nav bar in dreamweaver dissappears after click

Post your Code here that will help to know what is the problem there!

Thanks
Reputation Points: 39
Solved Threads: 23
Junior Poster
katarey is offline Offline
167 posts
since Jul 2005
Feb 20th, 2008
0

Re: Nav bar in dreamweaver dissappears after click

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Nice to meet you on my site, Jean Sébastien Beauvais.</title>
<link href="../include/Style_beauvais.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.formveld {
background-color: #CCCCCC;
border: medium inset #660033;
}
.sendbutton {
background-color: #990000;
border: medium outset #999999;
}
-->
</style>

<script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible'v=='hide')?'hidden':v; }
obj.visibility=v; }
}
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_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>

<body id="body" onload="MM_preloadImages('../jpeg/homeover.jpg','../jpeg/concertsover.jpg','../jpeg/repertoire_over.jpg','../jpeg/aboutme_over.jpg','../jpeg/mediaover.jpg','../jpeg/linksover.jpg','../jpeg/contact_over.jpg')">

<div align="left"></div>
<div id="container">
<div id="navhor">
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="800"><a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','homebutton','../jpeg/homeover.jpg',1)" onmouseover="MM_nbGroup('over','homebutton','../jpeg/homeover.jpg','../jpeg/homeover.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="../jpeg/homeout.jpg" alt="visit my homepage" name="homebutton" width="86" height="25" border="0" id="homebutton" onload="" /></a>
<a href="javascript:;" target="_top" onClick="MM_nbGroup('down','group1','contactbutton','../jpeg/contact_over.jpg',1)" onMouseOver="MM_nbGroup('over','contactbutton','../jpeg/contact_over.jpg','../jpeg/contact_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img name="contactbutton" src="../jpeg/contactout.jpg" border="0" alt="go here to contact me" onLoad="" /></a>
<a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','aboutmebutton','../jpeg/aboutme_over.jpg',1)" onmouseover="MM_nbGroup('over','aboutmebutton','../jpeg/aboutme_over.jpg','../jpeg/aboutme_over.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="../jpeg/aboutmeout.jpg" alt="vist my biography" name="aboutmebutton" width="110" height="25" border="0" id="aboutmebutton" onload="" /></a>
<a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','concertsbutton','../jpeg/concertsover.jpg',1)" onmouseover="MM_nbGroup('over','concertsbutton','../jpeg/concertsover.jpg','../jpeg/concertsover.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="../jpeg/concertsout.jpg" alt="vist my concerts agenda" name="concertsbutton" width="114" height="25" border="0" id="concertsbutton" onload="" /></a>
<a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','repertoirebutton','../jpeg/repertoire_over.jpg',1)" onmouseover="MM_nbGroup('over','repertoirebutton','../jpeg/repertoire_over.jpg','../jpeg/repertoire_over.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="../jpeg/repertoireout.jpg" alt="have a look at my repertoirelist" name="repertoirebutton" width="117" height="25" border="0" id="repertoirebutton" onload="" /></a>
<a href="javascript:;" target="_top" onClick="MM_nbGroup('down','group1','mediabutton','../jpeg/mediaover.jpg',1)" onMouseOver="MM_nbGroup('over','mediabutton','../jpeg/mediaover.jpg','../jpeg/mediaover.jpg',1)" onMouseOut="MM_nbGroup('out')"><img name="mediabutton" src="../jpeg/mediaout.jpg" border="0" alt="visit my music and photos" onLoad="" /></a>
<a href="javascript:;" target="_top" onClick="MM_nbGroup('down','group1','linksbutton','../jpeg/linksover.jpg',1)" onMouseOver="MM_nbGroup('over','linksbutton','../jpeg/linksover.jpg','../jpeg/linksover.jpg',1)" onMouseOut="MM_nbGroup('out')"><img name="linksbutton" src="../jpeg/linksout.jpg" border="0" alt="visit my links page" onLoad="" /></a></td>
</tr>
</table>
</div>
<br />
<div id="fotobanner">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','710','height','170','title','header_beauvais','src','../fla/headerjsb','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../fla/headerjsb' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="710" height="170" title="header_beauvais">
<param name="movie" value="../fla/headerjsb.swf" />
<param name="quality" value="high" />
<embed src="../fla/headerjsb.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="710" height="170"></embed>
</object>
</noscript></div>

<div id="tekstvak_home" oncontextmenu="MM_showHideLayers('tekstvak_repertoire','','hide')">Welcome to the site of Jean Sébastien Beauvais, counter tenor.<br />
<br /><br />
Here you can find all about my biography, calendar and things to know about my career.
Enjoy my music and photo's and I appreciate it if you leave a message at the contact page.<br /><br />
Have fun!<br /><br />

Jean Sébastien.</div>
</body>
</html>
Last edited by babouche; Feb 20th, 2008 at 3:56 pm. Reason: Thank you for your reply, her is the code, regards, Babouche
Reputation Points: 10
Solved Threads: 0
Newbie Poster
babouche is offline Offline
5 posts
since Feb 2008
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

ugh!

Do you have this uploaded to a site so we can see the css and images as well?

It might even be better it you zipped the files and uploaded them here.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

I have enclosed the site in zip format.

Later today I will put it in : http://www.kamerorkest.com
The server is not working at this moment, so old stuff is on the site now.....

sorry for the inconvenience,

Babouche
Reputation Points: 10
Solved Threads: 0
Newbie Poster
babouche is offline Offline
5 posts
since Feb 2008
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

The zip file was not attached.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

Click to Expand / Collapse  Quote originally posted by FC Jamison ...
The zip file was not attached.
OK, you can look at http://www.kamerorkest.com

My server is online again.
There you can se the problem in IE.
In FF it works fine.....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
babouche is offline Offline
5 posts
since Feb 2008
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

After all that, I am unable to duplicate the problem in IE 7. I do not see anything disappearing when I click on a link.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

OK, I am viewing in IE 6.0
It is possible to put code in it to let know IE 6.0 what to do?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
babouche is offline Offline
5 posts
since Feb 2008
Feb 21st, 2008
0

Re: Nav bar in dreamweaver dissappears after click

Click to Expand / Collapse  Quote originally posted by babouche ...
OK, I am viewing in IE 6.0
It is possible to put code in it to let know IE 6.0 what to do?
Yes, it is possible...but it will take someone with more knowledge than I have to correct this issue in IE 6.

I am sorry I cannot help you here.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Difference beween class and id-selector.
Next Thread in HTML and CSS Forum Timeline: Alignment Issue (CSS/HTML)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC