1
ardenb
Re: Javascript collapsible menu in Custom block
  • 2009/10/25 16:11

  • ardenb

  • Just popping in

  • Posts: 2

  • Since: 2009/10/24


Here is the original code from the script:

menu_code[0]="Option 1<br>Option 2<br>Option 3<br>";

Here is the beginning of the code I'm putting in after =:

"<table border="0" cellpadding="0" style="border-collapse: collapse" width="744">
<tr>
<td bgcolor="#E7F0F5">
<p align="center"><font face="Arial" size="5">


Using FrontPage, I click on Preview, and this is the error meesage I get:

An error has occurred in the script on this page.
Line: 55
Char: 30
Error: Expected ';'
Code: 0

When I look on line 55, there is:

<tr>

THANK YOU for your reply!







2
ardenb
Javascript collapsible menu in Custom block
  • 2009/10/24 16:19

  • ardenb

  • Just popping in

  • Posts: 2

  • Since: 2009/10/24


This is the information for the script I'm trying to use:
//Collapsible Menu Script.
//Created by Kyle Edwards.

I was able to take this code and put it in the body of my webpage. It works fine as is. But when I try to edit it, I get a script error message. Here is the code I'm trying to edit:

menu_code[0]="Option 1<br>Option 2<br>Option 3<br>";

What I need to change is

Option 1<br>Option 2<br>Option 3

to put a table with form properties inside it. But when I copy the table, this is when I get an error message. Is there a way to do this?




TopTop



Login

Who's Online

236 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits