php Include and Java script on a page
-
Hello,
Here is my link in question:
https://www.cgcookie.com/articles/using-the-bridge-modifier-3ds-maxThe main flash player is using java script, and in the bottom right empty space I am attempting to pull a PHP include that includes another java script.
I am 3D artist for the day job and working to tackle the web stuff at night.
Here is my PHP Code:
<?php include (TEMPLATEPATH . ‘/advert_inc.php’); ?>
Here is the java I am attempting to show up on the page. This java is contained inside of the advert_inc.php
<script type=”text/javascript”>
Vertical2260 = false;
ShowAdHereBanner2260 = true;
RepeatAll2260 = false;
NoFollowAll2260 = false;
BannerStyles2260 = new Array(
“a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}”,
“img{border:0;clear:right;}”,
“a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}”,
“a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}”
);document.write(unescape(“%3Cscript src='”+document.location.protocol+”//s3.buysellads.com/2260/2260.js?v=”+Date.parse(new Date())+”‘ type=’text/javascript’%3E%3C/script%3E”));
</script>Am I just missing something?
cheers,
W
- The topic ‘php Include and Java script on a page’ is closed to new replies.