/    Sign up×
Community /Pin to ProfileBookmark

2 layers on same page conflict (2 menus)

[B]error message: [/B] “stack overflow on line 95” AND neither menu layer appears. if i remove one of the menus, the other works.

[B]div tag 1:[/B] <div id=”navigation” style=”position: relative; width: 171px; height: 100px;”><img src=”images/templates/spacer.gif” width=”171″ height=”100″ hspace=”0″ vspace=”0″ border=”0″><?php require(“nav/pbhhome_nav.html”); ?></div>

[B]div tag 2:[/B] <div id=”relatedlinks” style=”position: relative; width: 100px; height: 100px;”><img src=”images/templates/spacer.gif” width=”100″ height=”100″ hspace=”0″ vspace=”0″ border=”0″>
<?php require(“nav/relatedlinks_nav.html”); ?></div>

[B]php requires attached[/B] (the html files pull in the .js files – .js files attached).

[upl-file uuid=6d2601bd-741f-41dc-a8a8-db85093f3214 size=10kB]phprequire div tag 1.txt[/upl-file]

[upl-file uuid=da2d9145-173b-4862-896e-0f9c9d5e45ed size=5kB]phprequire div tag 2.txt[/upl-file]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@dz_boyJul 22.2005 — have you tried using the z-index value?
Copy linkTweet thisAlerts:
@selyauthorJul 25.2005 — i added the z-index and tried both inline and external stylesheet. still, it doesn't work. see external style below:

div.navigation {

position: relative;

width: 171px;

height: 100px;

z-index: 2;

}

div.rlinks {

position: relative;

width: 97px;

height: 100px;

z-index: 1;

}

div tags:

<div style="navigation"><?php require("nav/pbhhome_nav.html"); ?></div>

div tag 2: <div style="relatedlinks"><?php require("nav/relatedlinks_nav.html"); ?></div>
×

Success!

Help @sely spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...