Jump to content
Killersites Community
Domagoj

Colorbox

Recommended Posts

Hello,

i know that iwd tutorials are few years old but im going through them now and in build cms tutorial i can't get colorbox to work. When i press login nothing happens.

<link rel="stylesheet" type="text/css" href="<?php echo APP_RESOURCES;?>css/fp_style.css" media="screen"/>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">$.noConflict();</script>

<script type="text/javascript" src="<?php echo APP_RESOURCES;?>javascript/colorbox/colorbox.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo APP_RESOURCES;?>javascript/colorbox/colorbox.css" media="screen"/>

<script type="text/javascript">
	jQuery(document).ready(function($){
	$.colorbox({
		transition:'fade',
		initialWidth:'50px',
		initialHeight:'50px',
		scrolling:false,
		opacity:.6,
		href:'<?php echo SITE_PATH; ?>app/login.php'
	});
});
</script>

I don't get any errors just redirected to http://localhost/CMS/?Login

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×