JS form working in FF not Explorer?

Status
Not open for further replies.

jerxs

New member
Jun 24, 2006
1,804
24
0
North East PA
Im having a problem getting a JS powered menu to work on a forum, It works great in forefox, but is getting an error on page in Explorer? I have the same menu on a static page within the site and it works well in both browsers. Any ideas?

here the URL; its the metal detecting clubs, drop down menu, just below the header on the left side of the page.

Metal Detecting Forum | Treasure Hunting Forum | Metal Detecting

thanks in advance, Jer
 


I don't have it working in FF or IE. It is trying to call a javascript function 'jumpBox()' during an 'onClick', but there is no embedded or linked javascript code with that function in there.
 
I don't have it working in FF or IE. It is trying to call a javascript function 'jumpBox()' during an 'onClick', but there is no embedded or linked javascript code with that function in there.
yep, function doesn't exist
I looked at your code.. you're not even including the javascript file?
it doesn't work because there's no function.. and there's no function because there's no javascript on the page other than google's adsense

ps: cool avatar shaggz
 
Jerxs, that page has the js in it, so it works:

Code:
    <script type="text/JavaScript">
<!--- Hide from tired old browsers
function jumpBox(list) {location.href =
list.options[list.selectedIndex].value}
// end hiding --->
    </script>

Make sure your other pages (or main template), contain that same bit of code
 
  • Like
Reactions: jerxs
They do;

Code:
<script language="Javascript" type="text/javascript">
<!--
    if ( 0 )
    {
        window.open('privmsg.php?mode=newpm', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->

[COLOR=Yellow] <!--- Hide from tired old browsers
function jumpBox(list) {location.href =
list.options[list.selectedIndex].value}
// end hiding --->[/COLOR]
</script>
</head>
<body>
<a name="top"></a>
<table width="860" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td background="templates/ndesign/images/bgforum.jpg" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
For some reason its working fine for me in FF, but does nothing in Explorer :? odd, maybe if I put it in an external file.
 
LOL... jer .. you sure you are not repeating the old HTML coder trick?
Looking at code that is not uploaded yet?

:D:D:D

::emp::
PS: No, I am not gonna tell you how often that happened.
 
Thats very odd? Heres a screen shot, im mind fucked now! :)

js.jpg
 
Actually, good idea, that.

Then I'll get back to my totally over -engineered arbi pagebuilder. :bowdown:

::emp::
 
you hit the nail right on the head, See I was logged in FF and it worked, logged off Explorer no work, I think it has something to do with an SEO mod I installed a while back. The mod will show static pages if your not logged in.
 
Status
Not open for further replies.