OK been on this all afternoon and there comes a time when I have to accept that Ive been beat!
I hope someone can help me, I need to add a rel tag to a href in the following code:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript
opupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
essentially it needs to be:
rel="$thumb_slashes"
I have tried all manor of combinations of escaping and nothing seems to be working
for example:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript
opupWindow(\\\'' . $large_link . '\\\')" rel=\"' . $thumb_slashes . '>' . $thumb_slashes . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
Hoping someone with bit more of a code head can provide me the solution.
Thanks.
Phil
Bookmarks