/    Sign up×
Community /Pin to ProfileBookmark

Help with calling Javascript

Hi there,
I have installed dhtml menu from dynarch.com. Unfortunately, they have not been able to give me much help. Pulling the script info out of the body tag and placing it in it’s own section works great for Firefox. Unfortunately, it seems to render the page useless in IE. The site is [URL=”http://www.blacksoxfan.com”]http://www.blacksoxfan.com[/URL]

Any advice on how force the menu to load before the page is finished would be appreciated!

[CODE]
<!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=iso-8859-1″ />
<title>Chicago Black Sox | Shoeless Joe Jackson | Pre-War Vintage Baseball Cards</title>
<meta name=”description” content=”BlackSoxFan.com is a site dedicated pre-war vintage baseball cards, baseball card collecting, and the 1919 World Series. Here you will be able to view my collection of vintage baseball cards, talk about baseball card collecting, and learn more about the hobby.” />
<meta name=”keywords” content=”Chicago Black Sox, Black Sox, Black Sox Baseball Cards, Shoeless Joe Jackson, Joe Jackson, Chick Gandil, Buck Weaver, Lefty Williams, Ed Cicotte, Eddie Cicotte, Swede Risberg, Hap Felsch, Happy Felsch, Fred McMullin” />
<meta name=”y_key” content=”7f6b8f45a2e13d63″ />
<script src=”./scripts/ajaxticker.js” type=”text/javascript”>
</script>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />

<link rel=”shortcut icon” href=”../favicon.ico” />
<link rel=”icon” type=”image/png” href=”../favicon.png” />
<link rel=”stylesheet” href=”../css/styles.css” type=”text/css” />
<!–lightbox info–>
<link rel=”stylesheet” href=”../css/lightbox.css” type=”text/css” media=”screen” />
<script type=”text/javascript” src=”../scripts/prototype.js”></script>
<script type=”text/javascript” src=”../scripts/scriptaculous.js?load=effects”></script>
<script type=”text/javascript” src=”../scripts/lightbox.js”></script>
<!–end lightbox–>
<!– load the menu stylesheet –>

<style type=”text/css”>@import url(“/hmenu/skin-bsf.css”);</style>
<!– declare the menu location –>
<script type=”text/javascript”>
_dynarch_menu_url = “/hmenu/”;
</script>
<!– load the menu program file –>
<script type=”text/javascript” src=”/hmenu/hmenu.js”></script>
<script src=”http://www.google-analytics.com/urchin.js” type=”text/javascript”></script>
<script type=”text/javascript”>
_uacct = “UA-373885-2″;
urchinTracker();
</script>
</head>
<body onload=”DynarchMenu.setup(‘menu’);”>

<div id=”frame”>
<div class=”spacer” id=”top”></div>
<!– Begin Banner –>
<dl id=”imap”>
<dd><a id=”risberg” title=”Charles &quot;Swede&quot; Risberg” href=”blacksox.php#swede”></a></dd>
<dd><a id=”mcmullin” title=”Fred McMullin” href=”blacksox.php#fred”></a></dd>
<dd><a id=”jackson” title=”&quot;Shoeless&quot; Joe Jackson” href=”blacksox.php#joe”></a></dd>
<dd><a id=”gandil” title=”Arnold &quot;Chick&quot; Gandil” href=”blacksox.php#chick”></a></dd>
<dd><a id=”felsch” title=”Oscar &quot;Hap&quot; Felsch” href=”blacksox.php#hap”></a></dd>

<dd><a id=”cicotte” title=”Ed Cicotte” href=”blacksox.php#ed”></a></dd>
<dd><a id=”weaver” title=”George &quot;Buck&quot; Weaver” href=”blacksox.php#buck”></a></dd>
<dd><a id=”williams” title=”Claude &quot;Lefty&quot; Williams” href=”blacksox.php#lefty”></a></dd>
<dt><a id=”home” href=”/index.php” title=”BlackSoxFan.com”></a></dt>
</dl>
<!– End Banner –>
<!– Begin MenuNav –>
<ul id=”menu”>
<li title=”Main”>_Main
<ul>

<li><img src=”../images/art/bsf.gif” alt=”” /><a href=”/index.php”>_Home</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”http://blog.blacksoxfan.com”>_Black Sox Blog</a></li>
</ul>
</li>
<li title=”Black Sox/Redlegs Cards”>_The Black Sox &amp; Red Legs
<ul>
<li><img src=”../images/art/bsf.gif” alt=””/>_Black Sox Cards
<ul>

<li><a title=”Eight Men Out” href=”/blacksox.php”>_Eight Men Out</a></li>
<li><a title=”1919 White Sox” href=”/whitesox.php”>_1919 White Sox</a></li>
<li><a title=”Commy &amp; Gamblers” href=”/gamblers.php”>_Commy &amp; the Gamblers</a></li>
</ul>
</li>
<li><img src=”../images/art/bsf.gif” alt=”” />_Player Profiles
<ul>

<li><a title=”Eddie Cicotte” href=”/cicotte.php”>_Eddie Cicotte</a></li>
<li><a title=”Hap Felsch” href=”/felsch.php”>_Hap Felsch</a></li>
<li><a title=”Chick Gandil” href=”/gandil.php”>_Chick Gandil</a></li>
<li><a title=”Shoeless Joe Jackson” href=”/jackson.php”>_Shoeless Joe Jackson</a></li>
<li><a title=”Fred McMullin” href=”/mcmullin.php”>_Fred McMullin</a></li>
<li><a title=”Swede Risberg” href=”/risberg.php”>_Swede Risberg</a></li>

<li><a title=”Buck Weaver” href=”/weaver.php”>_Buck Weaver</a></li>
<li><a title=”Lefty Williams” href=”/williams.php”>_Lefty Williams</a></li>
</ul>
</li>
<li><img src=”../images/art/reds.gif” alt=”” /><a href=”/reds.php”>_Red Legs Cards</a></li>
</ul>
</li>

<li title=”Type Cards”>_Type Cards
<ul>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/t206.php”>_T206 Cards</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/strip.php”>_W514 Set &amp; Strip Cards</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”./misc.php”>_Miscellaneous Cards</a></li>
</ul>
</li>

<li title=”Player Cards”>_Player Cards
<ul>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/aaron.php”>_Hank Aaron</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/koufax.php”>_Sandy Koufax</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/sanders.php”>_Barry Sanders</a></li>
</ul>
</li>
<li title=”Sale Page &amp; Want List”>_Sale Page &amp; Want List
<ul>

<li><a href=”/trade.php”>_Cards For Sale/Trade</a></li>
<li><a href=”/want.php”>_Want List</a></li>
</ul>
</li>
<li title=”Resources”>_Resources &amp; Tools
<ul>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”./file_center/browse.php”>_File Repository</a></li>

<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/links.php”>_Links</a></li>
<li><img src=”../images/art/bsf.gif” alt=””/><a href=”/map.php”>_Site Map</a></li>
</ul>
</li>
<li title=”Contact Me”><a href=”/contact.php”>_Contact</a>
</li>
</ul>
<!– End MenuNav –>
[/CODE]

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@Logic_AliApr 27.2007 — Hi there,

I have installed dhtml menu from dynarch.com. Unfortunately, they have not been able to give me much help.[/quote]
Help starts at the JS console, which tells us that at line 286 you are calling a function called [I]initMenu[/I] that is not defined. You need to include a script that has that function.
Copy linkTweet thisAlerts:
@wolverinegodauthorApr 28.2007 — Hey Logic Ali,

Thanks for the suggestion. I'm handy with css and xhtml and all that, but i don't know a ton of javascript. Lightbox2 and Dhtml menu are downloaded products. I'll see if i can figure out what that is. If you want me to post anything else here, i will be happy to.
Copy linkTweet thisAlerts:
@mrhooApr 28.2007 — The main trouble with third party javascript libraries is that the people who can figure out how to use them don't need them, and the people who need them, can't figure them out.
Copy linkTweet thisAlerts:
@wolverinegodauthorApr 28.2007 — LOL! That is true....

well does anyone have any suggestions then for one that wouldn't be a problem?
×

Success!

Help @wolverinegod 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 5.27,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...