Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Flicker Badge! in BoX


tinkerbell46325

Recommended Posts

Posted

Hello, hope everyone has a fun weekend!

i'm trying to add to it to a box but the text' code is javascript ' start <!-- Start of Flickr Badge -->

end <!-- End of Flickr Badge --> i have seen it work in another website but ' i can't get the code to work'

i'm displayin it exachty where the text should go inclu/boxes.php /pictures.php

 

What' is wrong here?

 

 

$info_box_contents[] = array('text' => '<img src="<!-- Start of Flickr Badge --> AND ALL THE CODE HERE');

 

new infoBox($info_box_contents);

?>

 

</td>

</tr>

<!-- pictures_eof //-->

 

 

 

 

It only shows the flicker icon, not the pics ..doesn't work!!!

Posted
What' is wrong here?

It only shows the flicker icon, not the pics ..doesn't work!!!

Since you don't actually post the code or the URL where your page is then it's a bit difficult to say what might be wrong. I don't think there's enough to go on.

 

Could it be that the "AND ALL THE CODE HERE" section contains a ' character perhaps. Shouldn't think so or you'd get a parse error wouldn't you?

Posted

sounds like your javascript code contains an apostrophe ' which will need to be escaped like this \' ... bit hard to explain but if you paste your javascript code I can check it out for you ... also if you can provide a link to your site like Andy suggested that would make it easier to pinpoint the problem

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...