2 Replies - 253 Views - Last Post: 02 May 2012 - 07:20 AM

#1 rjclancy  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 56
  • Joined: 18-March 11

script link problem

Posted 02 May 2012 - 07:03 AM

hi guys...

i have a bit of a problem when i link two scripts to the head of my document....i cant get the two of them to work. if i take one of them out the other one will work , vis versa...i cant figure it out

here are the two scripts

      <script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>

      <script type="text/javascript">
      var flashvars = {};
      flashvars.cssSource = "piecemaker.css";
      flashvars.xmlSource = "piecemaker.xml";
		
      var params = {};
      params.play = "true";
      params.menu = "false";
      params.scale = "showall";
      params.wmode = "transparent";
      params.allowfullscreen = "true";
      params.allowscriptaccess = "always";
      params.allownetworking = "all";
	  
      swfobject.embedSWF('piecemaker.swf', 'piecemaker', '1000', '600', '10', null, flashvars,    
      params, null);
    
    </script>






and here is my complete header


<link rel="stylesheet" type="text/css" href="style.css" />  
<link rel="stylesheet" type="text/css" href="shadowbox-3.0.3/shadowbox.css">
<link rel="stylesheet" type="text/css" href="Navstyle.css" />
<script type="text/javascript" src="jquery.js"></script>  
<script type="text/javascript" src="jquery.easing.1.3.js"></script>  
<script type="text/javascript" src="sprite.js"></script> 
<script type="text/javascript" src="shadowbox-3.0.3/shadowbox.js"></script>
<script type="text/javascript">
	Shadowbox.init();
</script>
<script src="peel/peel.js" type="text/javascript"></script>
<script type="text/xml" src="piecemaker.xml"></script>
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
<script type="text/javascript" src="scripts/swfobject/swfobject.js"></script>
<script type="text/javascript" src="scripts/portfolioBounce.js"></script>

    <script type="text/javascript">
      var flashvars = {};
      flashvars.cssSource = "piecemaker.css";
      flashvars.xmlSource = "piecemaker.xml";
		
      var params = {};
      params.play = "true";
      params.menu = "false";
      params.scale = "showall";
      params.wmode = "transparent";
      params.allowfullscreen = "true";
      params.allowscriptaccess = "always";
      params.allownetworking = "all";
	  
      swfobject.embedSWF('piecemaker.swf', 'piecemaker', '1000', '600', '10', null, flashvars,    
      params, null);
    
    </script>




hope ye can help...

Thanks

Ronan

Is This A Good Question/Topic? 0
  • +

Replies To: script link problem

#2 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 341
  • View blog
  • Posts: 1,281
  • Joined: 06-December 09

Re: script link problem

Posted 02 May 2012 - 07:18 AM

There is a lot of scripts there, so it is not surprising there is some incompatibility. Have you tried swapping the two scripts around?
Was This Post Helpful? 0
  • +
  • -

#3 rjclancy  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 56
  • Joined: 18-March 11

Re: script link problem

Posted 02 May 2012 - 07:20 AM

View PostShane Hudson, on 02 May 2012 - 07:18 AM, said:

There is a lot of scripts there, so it is not surprising there is some incompatibility. Have you tried swapping the two scripts around?


hey thanks for the reply...i have tryed swapping them around every way possible...but still no joy:(
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1