Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

javascript


Guest

Recommended Posts

Can someone help mee add this javascript to my column_right.php?

 

<!-- Begin Volusion Live Chat -->

<div align="center" id="VolusionLiveChat"><a href="http://www.volusion.com">Free Live Chat Software</a></div>

<script defer type="text/javascript" src="https://livechat.volusion.com/script.aspx?id=95854"></script>

<!-- End Volusion Live Chat -->

 

I have only gotten as far as the link showing up. but no pictue. Any help would be greatly appreciated :)

Link to comment
Share on other sites

Can someone help mee add this javascript to my column_right.php?

 

<!-- Begin Volusion Live Chat -->

<div align="center" id="VolusionLiveChat"><a href="http://www.volusion.com">Free Live Chat Software</a></div>

<script defer type="text/javascript" src="https://livechat.volusion.com/script.aspx?id=95854"></script>

<!-- End Volusion Live Chat -->

 

I have only gotten as far as the link showing up. but no pictue. Any help would be greatly appreciated :)

OK i seemed to have figured it out.

 

I used :

 

echo "<!-- Begin Volusion Live Chat -->\n";

echo "<div align=\"center\" id=\"VolusionLiveChat\"><a href=\"http://www.volusion.com\">Free Live Chat Software</a></div>\n";

echo "<script defer type=\"text/javascript\" src=\"https://livechat.volusion.com/script.aspx?id=95854\"></script>\n";

echo "<!-- End Volusion Live Chat -->\n";

 

It works fine on firefox but nothing is showing up except the link on IE.

 

Any suggestions?

Link to comment
Share on other sites

OK i seemed to have figured it out.

 

I used :

 

echo "<!-- Begin Volusion Live Chat -->\n";

echo "<div align=\"center\" id=\"VolusionLiveChat\"><a href=\"http://www.volusion.com\">Free Live Chat Software</a></div>\n";

echo "<script defer type=\"text/javascript\" src=\"https://livechat.volusion.com/script.aspx?id=95854\"></script>\n";'>https://livechat.volusion.com/script.aspx?id=95854\"></script>\n";

echo "<!-- End Volusion Live Chat -->\n";

 

It works fine on firefox but nothing is showing up except the link on IE.

 

Any suggestions?

Well, for some retarded reason, it sounds as if the script you're importing there (https://livechat.volusion.com/script.aspx?id=95854) just doesn't work with the IE version you're using, since javascript can be so picky about cross-browser compatibility... The reason I use the word retarded is that A) the people who provide this should have tested it cross-browser like that, and B) the file that's generating the output is an aspx file, with is asp.net, which is microsoft's own web development language, so it's retarded that the output script that generates the javascript is written in microsoft's asp.net language, but the javascript isn't working in microsoft's internet browser :) Have you tried it in different versions of IE? Which one are you running?

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Hello Richard,

 

Thanks for the reply. I am using IE7. I have also tried with IE6 and its still not working.

 

I was thinking maybe there was something with the code that might be causing this problem. I have contacted the people that host this free chat and they dont know of any IE compatibility errors. I have even reinstalled JRE 6 just to make sure that was not the problem.

Link to comment
Share on other sites

It looks as if IE is interpreting the modified code differently then firefox. the apsx works in IE fine when the code is unchanged. But i cannot put plain javascript in oscommerce as far as i know.

 

Can any expert coders help me out here?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...