Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help integrating Javascript game


aspiringarts

Recommended Posts

Hi all,

 

I'm really hoping some kind soul will take on the challenge of helping me with this frivolous but frustrating issue. I'm integrating my HTML pages into my osc site, and some of them include php and Javascript. I integrated the code for the Javascript in the Head section of the catalog/poet.php file and the rest into the catalog/includes/languages/english/poet.php file. While everything *looks* good, the file doesn't actually work. If you look at the code for the two files, perhaps this kind soul can tell me what I need to do to make it work?

 

The working file is here, and the broken file is here. Viewing the source on each file should tell you what you need, but I'll post any other code here if requested. Thank you so much to any helpful person!

 

Susan

Link to comment
Share on other sites

Hi all,

 

I'm really hoping some kind soul will take on the challenge of helping me with this frivolous but frustrating issue. I'm integrating my HTML pages into my osc site, and some of them include php and Javascript. I integrated the code for the Javascript in the Head section of the catalog/poet.php file and the rest into the catalog/includes/languages/english/poet.php file. While everything *looks* good, the file doesn't actually work. If you look at the code for the two files, perhaps this kind soul can tell me what I need to do to make it work?

 

The working file is here, and the broken file is here. Viewing the source on each file should tell you what you need, but I'll post any other code here if requested. Thank you so much to any helpful person!

 

Susan

 

Try to browse http://oscommerce.info

or visit http://oscommerce.info/kb/osCommerce/Catalog_Area/Boxes/49

 

If you think you still need a detailed assistance just email this guy

 

Maybe he can help

Link to comment
Share on other sites

Thanks, but if you look at my website, you can see I'm pretty much past the basic assistance those sites can offer. I did the whole site myself. I think there's something simple I'm missing by not really knowing PHP to be able to integrate the javascript into the OSC page. As you can see if you look, the page appears completely fine, but it doesn't function. Am I just putting the javascript in the wrong place? It appears in the head, like it should... but somehow it won't work.

 

Thanks much for any assistance in fixing this probably simple (but not basic and not covered in other osc topics, that I can find) issue.

 

Susan

Link to comment
Share on other sites

fixing this probably simple (but not basic and not covered in other osc topics, that I can find) issue.
IMHO the error is caused because the function start1 is not loaded like in poet.html:

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="start1()">

Link to comment
Share on other sites

IMHO the error is caused because the function start1 is not loaded like in poet.html:

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="start1()">

 

You're a genius!!! Thank you so much... I knew it had to be something simple!!!

 

Susan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...