Warning: Please include a link to the DD script in question in your post. See
this thread for the proper posting format when asking a question.
I think you just need to learn proper technique for escaping nested quotes.
Like I see you have this:
Code:
<a href="javascript:loadTwo('picture9trio.htm','picture9.htm')">Link1</a>
that works. You just need to get it into this:
Code:
leftrightslide[0]='<a href="mother_of_the_bride_1.shtml"><img src="images/mother1/small1.jpg" style="border:1px solid white;"></a>'
But you will notice that the second bit of code already has single quotes around it, so if you do this:
Code:
leftrightslide[0]='<a href="javascript:loadTwo('picture9trio.htm','picture9.htm')"><img src="images/mother1/small1.jpg" style="border:1px solid white;"></a>'
you are ending the string at wo('picture
This can be fixed by escaping the nested delimiters:
Code:
leftrightslide[0]='<a href="javascript:loadTwo(\'picture9trio.htm\',\'picture9.htm\')"><img src="images/mother1/small1.jpg" style="border:1px solid white;"></a>'
Bookmarks