Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

realy need help on lightbox


nihanshe

Recommended Posts

Posted

Hi all I have installed and re-installed all the files to try to make the light box thing work I have installed this on another site of mine and works just fine but on this new site i'm designing for myself I just cannot get the lightbox to work, I have tried different lightbox mods and they will not work either so I have looked at the product_info.php file and all seams to be ok, i even copied the same product_info file from the site/directory from the one I know works to see if that would help but still the same when you click on the enlarge image it just opens with no transition effect.

 

Please take a look

 

www.turnedpens.co.uk/catalog/

 

site is still in development

 

Best regadrs Mervyn

Posted

I don't know anything about lightbox, but when I open the site in Firefox, and look at the lightbox.css file, this is what I see:

 

<head>
<title></title>
</head>

<body>

<p><font face="Verdana" color="#000000"><big>Sorry, there has been a page error</big></font><font
color="#FF0000" face="Verdana"><strong><br>
</strong></font><br>
</p>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td width="96%"><font face="Verdana" color="#000000"><strong><small>The server could not
complete your request.</small><br>
<br>
</strong></font></td>
 </tr>
 <tr>
<td width="96%"><blockquote>
  <ul>
	<li><small><small><font face="Verdana">The script or file you are trying to call may be
	  incorrectly written.</font></small></small></li>
	<li><small><small><font face="Verdana">The host may be having a problem currently.</font></small></small></li>
	<li><small><small><font face="Verdana">If you typed the page address in the Address bar,
	  make sure that it is spelled correctly.</font></small></small></li>
	<li><small><small><font face="Verdana">Open the <a href="http://turnedpens.co.uk">turnedpens.co.uk</a> home page,
	  and then look for links to the information you want. </font></small></small></li>
	<li><small><small><font face="Verdana">Click <a href="java script:history.back()">Here</a> to
	  try another link. </font></small></small></li>
  </ul>
</blockquote>
</td>
 </tr>
</table>

<p> </p>

<p> </p>

<p><strong><font face="Verdana" color="#000000"><img src="offlinesmall.gif" width="1"
height="1"></font></strong></p>

<p> </p>

<p> </p>

<p><strong><font face="Verdana" color="#000000"><img src="offlinesmall.gif" width="1"
height="1"></font></strong></p>

<p> </p>

<p><strong><font face="Verdana" color="#000000"><img src="offlinesmall.gif" width="1"
height="1"></font></strong></p>

<p> </p>
</body>
</html>

I looked at another site that uses lightbox (successfully), and their version of that file doesn't look like that at all.

 

Maybe this will give you some direction.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Hi all I have installed and re-installed all the files to try to make the light box thing work I have installed this on another site of mine and works just fine but on this new site i'm designing for myself I just cannot get the lightbox to work, I have tried different lightbox mods and they will not work either so I have looked at the product_info.php file and all seams to be ok, i even copied the same product_info file from the site/directory from the one I know works to see if that would help but still the same when you click on the enlarge image it just opens with no transition effect.

 

Please take a look

 

www.turnedpens.co.uk/catalog/

 

site is still in development

 

Best regadrs Mervyn

 

Hi

Had a few problems with lite box as well solved it by trying a couple of different ( includes/modules/additional_images.php) as far as I can remember one did not work at all there are several versions in the contributions can give you my code if you want some display horizontally some display the images vertically

Posted
Hi

Had a few problems with lite box as well solved it by trying a couple of different ( includes/modules/additional_images.php) as far as I can remember one did not work at all there are several versions in the contributions can give you my code if you want some display horizontally some display the images vertically

 

Hi all thanks for the reply's that would be great if you can supply the code and some basic instructions on where to install it and it what directory.

 

Many many thanks Mervyn

Posted
Hi all thanks for the reply's that would be great if you can supply the code and some basic instructions on where to install it and it what directory.

 

Many many thanks Mervyn

Hi sorry I forgot that I also had extra images installed which you do not so the problem must be elsewhere the guy Germ with the post is right you should be getting something like this when you type this address in your browser www.turnedpens.co.uk/catalog/lightbox.css

 

 

lightbox{

position: absolute;

left: 0;

width: 100%;

z-index: 100;

text-align: center;

line-height: 0;

}

 

#lightbox a img{ border: none; }

 

#outerImageContainer{

position: relative;

background-color: #fff;

width: 250px;

height: 250px;

margin: 0 auto;

}

 

#imageContainer{

padding: 10px;

}

 

#loading{

position: absolute;

top: 40%;

left: 0%;

height: 25%;

width: 100%;

text-align: center;

line-height: 0;

}

#hoverNav{

position: absolute;

top: 0;

left: 0;

height: 100%;

width: 100%;

z-index: 10;

}

#imageContainer>#hoverNav{ left: 0;}

#hoverNav a{ outline: none;}

 

#prevLink, #nextLink{

width: 49%;

height: 100%;

background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */

display: block;

}

etc : etc : etc

The above is what I see when I type my website address

When I try with your address I get

Sorry, there has been a page error

 

The server could not complete your request.

 

* The script or file you are trying to call may be incorrectly written.

* The host may be having a problem currently.

* If you typed the page address in the Address bar, make sure that it is spelled correctly.

* Open the turnedpens.co.uk home page, and then look for links to the information you want.

* Click Here to try another link.

 

 

Have you tried this version seems to be the latest

This add-on is register_globals compatible

http://addons.oscommerce.com/info/5532

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...