You have posted test versions of other pages, and I find it hard to believe that somebody working in web development has no access to a testing server or the money to pay for cheap hosting for the purpose.
However, if this is really the case, then @chrisofarabia has alreadfy suggested alternatives:
Well, the bottom line is still that you need to put the page up somewhere so that we can all see exactly the same code under exactly the same conditions. As Iâve explained, your project does not work for me on localhost.
The problem is that zoombox is using jquery 1.5 and using the deprecated msie variable while bootstrap is using version 1.9+ so you are getting an error in the console.
Uncaught TypeError: Cannot read property âmsieâ of undefined
You would probably need to install the migrate plugin if you want to use msie.
I did see a quick fix to stop the error and that was setting the following line before calling the zoombox.
<script type="text/javascript">
$(function() {
$.browser={ msie: ( navigator.appName == 'Microsoft Internet Explorer') ? true : false }
$('a.zoombox').zoombox({
theme : 'zoombox', //available themes : zoombox,lightbox, prettyphoto, darkprettyphoto, simple
opacity : 0.8, // Black overlay opacity
duration : 800, // Animation duration
animation : true, // Do we have to animate the box ?
width : 600, // Default width
height : 400, // Default height
gallery : true, // Allow gallery thumb view
autoplay : false // Autoplay for video
});
});
</script>
The lightbox will now open on top and not on a new page. Whether the fix breaks the functionality is another question for the JS experts.
The links to jquery wonât run locally as they were without the http prefix. e.g. // instead of http:// or https://. Its done like that so that the appropriate format is called automatically depending on whether it should be http or https.
I tried with just one of yours - budweiser.png and it reduced the size from 43.8K to just 16.9K. If you do that with all your images that could be some savingâŚ
It doesnât appear in the right place at smaller sizes at all. (Although as I mentioned before, hover wonât work on touchscreens, so any content which is relying on hover to show it will be inaccessible.)
This is never going to work properly as it is full of magic numbers and you should never use relative positioning in that way anyway.
I would have scaled the image (section) in stages with media queries rather than constantly scaling it.
If you create a stacking context around the item you want the icon to appear above (use position:relative but no co-ordinates) and then place the icon overlay absolutely in relation to that target element. Then you wonât ever need to change those co-ordinates as the overlay is bound to the target,