Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Show Layers Problem
 

David Pearson




quote this post edit post

IP Loged report this post

Old Post  08-05-04 - 12:15 AM  
Hi all, hope you can help.
I have created a template for all the pages in my little webworld with a sho
w
layer menu on the left. After I create a couple of pages and view them with 
F12
I have the following problem.
The Layer behaves on the opening page (the first time), but when I go to
subsequent pages it does not show up at all, I follow the link back to the
first page again and it no longer works there.  In fact none of the
functionality works. Is this simply because I have not published the site?



Post Follow-Up to this message ]
Re: Show Layers Problem
 

Murray *TMM*




quote this post edit post

IP Loged report this post

Old Post  08-05-04 - 12:15 AM  
Code please?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"David Pearson" <webforumsuser@macromedia.com> wrote in message
news:cere65$ctp$1@forums.macromedia.com...
> Hi all, hope you can help.
>  I have created a template for all the pages in my little webworld with a
show
> layer menu on the left. After I create a couple of pages and view them
with F12
> I have the following problem.
>  The Layer behaves on the opening page (the first time), but when I go to
> subsequent pages it does not show up at all, I follow the link back to the
> first page again and it no longer works there.  In fact none of the
> functionality works. Is this simply because I have not published the site?
>




Post Follow-Up to this message ]
Re: Show Layers Problem
 

David Pearson




quote this post edit post

IP Loged report this post

Old Post  08-05-04 - 12:15 AM  
Ok,
can answer my own problem, it is a SAFARI problem. If you can help please do
.. I like SAFARI! It works fine in Internet Explorer.


Post Follow-Up to this message ]
Re: Show Layers Problem
 

David Pearson




quote this post edit post

IP Loged report this post

Old Post  08-05-04 - 12:15 AM  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;
}}
}

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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.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)) != 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)) != null) 
23;
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? a
rgs[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; 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; 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)) != null) 
23;
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 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_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))!=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 bgcolor="#FEE9F3"
onLoad="MM_preloadImages('../Images/Over_QC.gif','../Images/Over_Reiki.gif',
'../
Images/Over_Home.gif','../Images/Over_Other.gif','../Images/Over_News.gif','
./I
mages/Over_About.gif','../Images/Over_SK.gif')">
<div id="WEEDPOP" style="position:absolute; left:440px; top:85px; width:175p
x;
height:207px; z-index:1; visibility: hidden;">
<table width="100%" height="252" border="0">
<tr>
<td height="109" align="center" valign="middle"><font color="#666666"
size="2" face="Tahoma"><b>This
is the POP up box that comes on when you go over the WEED
Box</b></font></td>
</tr>
<tr>
<td align="center" valign="middle"><img src="../Images/Flower_Small.gif"
alt="Flower" width="63" height="57"></td>
</tr>
</table>
</div>
<div id="QCPPOP" style="position:absolute; left:129px; top:101px; width:172p
x;
height:135px; z-index:2; visibility: hidden;"
onMouseOver="MM_showHideLayers('QCPPOP','','show')"
onMouseOut="MM_showHideLayers('WEEDPOP','','inherit','QCPPOP','','hide')">
<table width="100%" border="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"> <p><font
color="#666666" size="2" face="Tahoma"><b>What
are the benefits<br>
Sessions<br>
Transformation Courses<br>
B.E Experience<br>
How Much<br>
John Demartini<br>
References<br>
Jolina Karen</b></font></p></td>
</tr>
</table>
</div>
<table width="728" height="378" border="0">
<!--DWLayoutTable-->
<tr>
<td width="120" height="20" align="center" valign="middle"
bgcolor="#FFCCFF"><font color="#6600FF" size="2"
face="Tahoma">&nbsp;</font></td>
<td width="506" height="20" bgcolor="#FFFFFF">
<div align="center"><font color="#75338f" size="5"
face="Tahoma"><b>Transform
Your Life and Let it Bloom</b></font></div></td>
<td width="120" align="center" valign="middle" bgcolor="#FFCCFF"><font
color="#6600FF" size="2" face="Tahoma">&nbsp;</font></td>
</tr>
<tr align="center" valign="middle" bgcolor="#FEE9F3">
<td height="20" colspan="3"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
<tr>
<td rowspan="3" valign="top" bgcolor="#FFCCFF">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="../Index.html" target="_top"
onClick="MM_nbGroup('down','group1','Home','',1)"
onMouseOver="MM_nbGroup('over','Home','../Images/Over_Home.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img name="Home" src="../Images/Up_Home.gif"
border="0" alt="" onLoad=""></a></td>
</tr>
<tr>
<td><a href="../HTML Files/QCP_Benefits.html" target="_top"
onClick="MM_nbGroup('down','group1','QCP','',1)"
onMouseOver="MM_nbGroup('over','QCP','../Images/Over_QC.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img src="../Images/Up_QC.gif" alt="" name="Q
CP"
border="0" onClick="MM_showHideLayers('QCPPOP','','show')"
onMouseOver="MM_showHideLayers('QCPPOP','','show')"
onMouseOut="MM_showHideLayers('QCPPOP','','hide')" onload=""></a></td>
</tr>
<tr>
<td><a href="java script:;" target="_top"
onClick="MM_nbGroup('down','group1','SpiritualKineseology','',1)"
onMouseOver="MM_nbGroup('over','SpiritualKineseology','../Images/Over_SK.gif
',''
,1)" onMouseOut="MM_nbGroup('out')"><img name="SpiritualKineseology"
src="../Images/Up_SK.gif" border="0" alt="" onLoad=""></a></td>
</tr>
<tr>
<td><a href="java script:;" target="_top"
onClick="MM_nbGroup('down','group1','Reiki','',1)"
onMouseOver="MM_nbGroup('over','Reiki','../Images/Over_Reiki.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img name="Reiki" src="../Images/Up_Reiki.gif
"
border="0" alt="" onLoad=""></a></td>
</tr>
<tr>
<td><a href="java script:;" target="_top"
onClick="MM_nbGroup('down','group1','Other','',1)"
onMouseOver="MM_nbGroup('over','Other','../Images/Over_Other.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img name="Other" src="../Images/Up_Other.gif
"
border="0" alt="" onLoad=""></a></td>
</tr>
<tr>
<td><a href="java script:;" target="_top"
onClick="MM_nbGroup('down','group1','News','',1)"
onMouseOver="MM_nbGroup('over','News','../Images/Over_News.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img name="News" src="../Images/Up_News.gif"
border="0" alt="" onLoad=""></a></td>
</tr>
<tr>
<td><a href="java script:;" target="_top"
onClick="MM_nbGroup('down','group1','About','',1)"
onMouseOver="MM_nbGroup('over','About','../Images/Over_About.gif','',1)"
onMouseOut="MM_nbGroup('out')"><img name="About" src="../Images/Up_About.gif
"
border="0" alt="" onLoad=""></a></td>
</tr>
</table>
</td>
<td height="35" align="left" valign="top" bgcolor="#FFFFFF"><!--
TemplateBeginEditable name="PageHeading" --><font color="#75338f" size="3"
face="Tahoma"><b>PageHeading</b></font><!-- TemplateEndEditable --></td>
<td rowspan="3" valign="top" bgcolor="#FFCCFF">
<table width="100%" height="137" border="0">
<tr>
<td height="40" align="center"><font color="#75338f" size="2"
face="Tahoma"><b onMouseOver="MM_showHideLayers('WEEDPOP','','show')"
onMouseOut="MM_showHideLayers('WEEDPOP','','hide')">Weed</b></font></td>
</tr>
<tr>
<td height="40" align="center"><font color="#75338f" size="2"
face="Tahoma"><b>Plant</b></font></td>
</tr>
<tr>
<td height="40" align="center"><font color="#75338f" size="2"
face="Tahoma"><b>Nurture</b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="222" align="left" valign="top" bgcolor="#FFFFFF"><!--
TemplateBeginEditable name="PageContent" -->
<blockquote>
<p><font color="#666666" size="2"
face="Tahoma"><b>PageContent</b></font></p>
</blockquote>
<!-- TemplateEndEditable --></td>
</tr>
<tr>
<td height="10" bgcolor="#FFFFFF">
<div align="center"><font color="#CC00CC" size="1" face="Tahoma"><a
href="mailto:lisa@lisareiki.com">Contact
me via e-mail</a></font></div></td>
</tr>
</table>
</body>
</html>




Post Follow-Up to this message ]
Re: Show Layers Problem
 

David Pearson




quote this post edit post

IP Loged report this post

Old Post  08-05-04 - 12:15 AM  
Ok solved my little trauma. There were two options for OnMouseOver in the dr
op
down menu when choosing behaviours. I HAD used the one that does not have
brackets around it. Now changing to the bracketed one and it works fine for 
me.



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 05:40 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top