Jump to content

javascript malfunctions after readfile?


justravis

Recommended Posts

i'm trying to import my print-on-demand shop without using frames.

 

pg i'm importing - http://byuhonorcode.spreadshirt.com/

my site - http://byuhonorcode.com/index2.php

<?php

$pg=file_get_contents('http://byuhonorcode.spreadshirt.com/');
echo $pg;

?>

 

the page appears, but the these features no longer function:

- switchColor javascript changes shirt color onClick of swatch (located @ http://cache.spreadshirt.com/Public/Shop/Js-packaged/shop_de23789016327809b00d204c6add79ba.js)

- the arrows that change the color swatches

- the size option box

 

any ideas?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/230931-javascript-malfunctions-after-readfile/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.