SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2011
    0 Post(s)
    0 Thread(s)

    Alternative to greybox or fix?

    Hi guys,

    I'm new here so forgive me if this has been posted in the wrong place ^_^
    Anyway, I'm having a rather weird problem with Greybox. For whatever reason, it seems to only work properly on the second attempt in Firefox. Google Chrome, Safari, IE, etc. all seem to be not opening the image at all.

    Here is the URL where this is occurring:
    KJC Comics

    When you click the strip, it tries to load and fails. You are left with a white box. Sometimes after refreshing the page once and trying again, the image will come up, but most of the time this works in Firefox and rarely Chrome. All other browsers aren't opening the image at all.

    Here is the page code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> 
    <html xmlns=""> 
    <head><meta name="description" content="The official website for KJC Comics! " /> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>KJC Comics</title> 
    <style type="text/css"> 
    body,td,th {
    	font-family: Arial, Helvetica, sans-serif;
    	color: #FFF;
    body {
    	background-color: #000;
    	margin-top: 0px;
    	margin-right: 0px;
    <link href="public/css/kjcc_fp_css.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript" src="scripts/jquery-1.4.2.min"></script> 
    <script type="text/javascript"> 
        var GB_ROOT_DIR = "scripts/greybox/";
    <script type="text/javascript" src="scripts/greybox/AJS.js"></script> 
    <script type="text/javascript" src="scripts/greybox/gb_scripts.js"></script> 
    <link href="scripts/greybox/gb_styles.css" rel="stylesheet" type="text/css" /> 
    <div id="Main_Table"> 
    	<div id="Main_Wrapper"> 
        	<div id="Comic_Wrapper"> 
            <h4>Drift: Get a REAL Guitar!</h4> 
            <h5>By: Jamaal Ephriam and Kathan Chai</h5> 
            <a href="public/images/drift/large/DRIFT_01L.jpg" rel="gb_imageset[nice_pics]" title="Drift"><img src="public/images/drift/DRIFT_01.jpg" alt="DRIFT 01" name="" width="897" height="293" border="0" /></a> 
            The transition between has never been kind XD.<br /> 
            <br /> 
            <div id="InfoText">[Website Coming Soon!]</div> 
        <div id="HTML_Bar"> 
        <a href="">Home</a> | <a href="">Info</a> | <a href="">News Archive</a> | <a href="">Events</a> | <a href="">Discography</a> | <a href="">Blog</a> | <a href="">Samples</a> | <a href="">Forum</a> | <a href="">Services</a> | Store | KJC Comics | <a href="">Gallery</a> | <a href="">Affiliates</a> | <a href="">Projects</a> | <a href="">Contact</a> | <a href="">RSS</a> 
    | <a href="">Newsletter</a><br /> 
    Copyright &copy; Enigma Studios 2003 - 2009 , Jamaal Ephriam 2008- 2012 All Rights Reserved
    A simple page but an odd problem. If you guys have any idea of what might be going on, or have a nice better alternative to greybox, then please let me know.

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2009
    0 Post(s)
    0 Thread(s)
    one thing i see is your missing .js at the end of the jquery script.
    MYCFMX (Under Construction)

    More from me - coming soon

  3. #3
    SitePoint Member
    Join Date
    Sep 2011
    0 Post(s)
    0 Thread(s)


    Corrected, but unfortunately the problem is still there. Could it be in regards to which script is being imported first?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts