Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 01-13-2012, 11:45 PM   #1
New Member
 
Join Date: Jan 2012
Posts: 2
Default Script Type problems

Hey, I'm creating a website and I have a script type which is a panel slider and other script types for a light box. Depending one where I put my script type lines only one plugin will work. If i put the first three script type lines last, it will work but if i put it first only the slider will work. Is there a way to initiate both features at the same time. Please and thank you

Code:
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Untitled Document</title>
	<link href="style.css" rel="stylesheet" type="text/css" />
	<link href="dropdown-nav.css" media="screen" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="css/style1.css" type="text/css" media="screen"/>
        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

	<script type="text/javascript" src="js/prototype.js"></script>
	<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
	<script type="text/javascript" src="js/lightbox.js"></script>
    
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	<script src="js/cufon-yui.js" type="text/javascript"></script>
	<script src="js/Liberation_Sans.font.js" type="text/javascript"></script>
	<script type="text/javascript">
			Cufon.replace('span');
			Cufon.replace('li');
			Cufon.replace('h1');
			Cufon.replace('p');
	</script>


</html>
brownnips is offline   Reply With Quote


Old 01-13-2012, 11:54 PM   #2
Gold Member
 
conor's Avatar
 
Join Date: Oct 2008
Location: Ireland
Posts: 349
Default

try this:

Code:
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>

	<script type="text/javascript" src="js/prototype.js"></script>
	<script type="text/javascript" src="js/lightbox.js"></script>

	<script src="js/cufon-yui.js" type="text/javascript"></script>
	<script src="js/Liberation_Sans.font.js" type="text/javascript"></script>
	<script type="text/javascript">
			Cufon.replace('span');
			Cufon.replace('li');
			Cufon.replace('h1');
			Cufon.replace('p');
	</script>
__________________
Conor
conor is offline   Reply With Quote
Old 01-14-2012, 12:01 AM   #3
New Member
 
Join Date: Jan 2012
Posts: 2
Default

neither of them work now
brownnips is offline   Reply With Quote
Old 01-14-2012, 01:25 AM   #4
Gold Member
 
conor's Avatar
 
Join Date: Oct 2008
Location: Ireland
Posts: 349
Default

you could try installing firebug for firefox, or if you use chrome then no need to install anything. Left click on the page and click inspect element then go to the console tab, enable it, reload the page and it should give some sort of javascript error. Post the error here and it'll give a better idea of why the script isn't working
__________________
Conor
conor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:33 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.