Search found 6 matches

by jlkane
Fri May 26, 2006 12:29 am
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

Take it Literally

Oooo... that's MUCH cleaner ...much more what came to mind when I first saw {ldelim}{rdelim}.

Thanks, Spackler! I think I'll go back and tidy up my code now...

Jim
by jlkane
Thu May 25, 2006 10:35 pm
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

Before and After

Here's a before-and-after that should clear up any confusion I've created.

Before:

/* Function that swaps images. */
function mOver(num) {
if (document.images) {
document.images['button'+ num].src = eval('over' + num).src;}}
function mOut(num) {
if (document.images) {
document.images['button'+ num ...
by jlkane
Thu May 25, 2006 10:27 pm
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

It took me two tries to realize that I wasn't being instructed to "frame" the script code with a pair of {ldelim} {rdelim} bookends (as you would comment out some code).

Rather, we are asked to literally substitute the string "{ldelim}" -- without the quotes, of course -- for each and every ...
by jlkane
Fri May 19, 2006 3:58 pm
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

Re: Adding a Script to index.tpl

Brilliant! I'm back in business!

Thank you, Garvin, for your seemingly limitless patience with our newbie questions. And, as always, for your rapid response!

Deeply in your debt,

Jim
by jlkane
Fri May 19, 2006 12:23 am
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

Re: Adding a Script to index.tpl

Thanks for the rapid reply, Garvin!

I understood the error message, but I'll be darned if I can find any evidence of an unbalanced parenthesis. :(

I hate to ask you troubleshoot script code that has worked flawlessly for me in other contexts for years, but here's what I'm inserting:

<script ...
by jlkane
Thu May 18, 2006 9:05 pm
Forum: Themes
Topic: Adding a Script to index.tpl
Replies: 9
Views: 6759

Adding a Script to index.tpl

I am embedding Serendipity in the framework of a new site I'm designing:
http://gs14.inmotionhosting.com/~public7/

Serendipity will be the engine behind the "Public Musings" page. But as you can see, I have a minor problem:
http://gs14.inmotionhosting.com/~public7/Musings/index.php

I'm embedding ...