PDA

View Full Version : Popup information box III (fade-in) some links dnt work.



tkd1987
08-04-2006, 09:36 PM
1) Script Title: Popup information box III (fade-in)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/popinfo3.htm

3) Describe problem:
my site is database driven, and some parts do not work but others do..
www.berkshiretkd.co.uk/calender.php a fine example is august. the colour belt grading works but the Mr Bannister-s Preliminary does not.

the same code is used for every cell...
please help.

Many thanks in advance

Aaron

jscheuer1
08-05-2006, 07:22 AM
Here is the error as reported in the FF javascript console:


Error: missing ) after argument list
Source File: http://www.berkshiretkd.co.uk/calender.php?month=August
Line: 1, Column: 38
Source Code:
writetxt(' <b>Event:</b> Mr Bannister's Preliminary <BR> <b>Date:</b> 13 * August <br> <b>Venue:</b> Yiewsley <br> <b>Start Time:</b> 11 <br><b> Decription:</b> Part 1 of Test to Become 3rd Degree Black Belt')

In javascript, that would be corrected by escaping the apostrophe:


writetxt(' <b>Event:</b> Mr Bannister\'s Preliminary <BR> <b>Date:</b> 13 * August <br> <b>Venue:</b> Yiewsley <br> <b>Start Time:</b> 11 <br><b> Decription:</b> Part 1 of Test to Become 3rd Degree Black Belt')

I'm not sure how this will play out with the PHP involved.