Jump to content

colorbox not working?


CLAR101

Recommended Posts

Hello

 

I have a small issue within the CMS package it appears that colorbox does not want to

work, I have tried the files I created and even the files provided and still no luck the

code is below in case you need it.

 

<link href="<?php echo APP_RESOURCES; ?>css/fp_style.css" media="screen" rel="stylesheet" type="text/css" />

 

<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>

<script type="text/javascript">$.noConflict();</script>

 

<script type="text/javascript" src="<?php echo APP_RESOURCES; ?>javascript/colorbox/colorbox.js"></script>

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

 

<script type="text/javascript">

 

jQuery(document).ready(function($) {

 

$.colorbox({

transition: 'fade',

initialWidth: '50px',

initialHeight: '50px',

overlayClose: false,

escKey: false,

scrolling: false,

opacity: .6,

href: '<?php echo SITE_PATH; ?>app/login.php',

});

 

});

 

</script>

 

Thanks in advance

 

Yours Sincerely

 

Chris Russell

Link to comment
Share on other sites

Got colorbox to work for some reason it wont except local host as APP_RESOURCES so I changed it to my domain name and it works but color box looks like this

 

colorbox_error.jpg

 

I am glad I got it working though :) just need to figure out why it displays it in correctly

 

Yours Sincerely

 

Chris Russell

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...