- Posts: 24
- Thank you received: 0
No lightbox... image appears at bottom of page.
-
mcasner
Inactive member - Topic Author
- Member
Less
More
13 years 2 months ago #11484
by mcasner
Replied by mcasner on topic Re: No lightbox... image appears at bottom of page.
OK, I've added the script code. It is there now.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 2 months ago #11493
by ivan.milic
Replied by ivan.milic on topic Re: No lightbox... image appears at bottom of page.
Hi,
This one left, add this style ref above those two:
This one left, add this style ref above those two:
Code:
<link rel="stylesheet" href="http://www.redlogic.com/~relevant/plugins/content/photogallery/css/jquery.lightbox-0.5.css" type="text/css" />
Please Log in to join the conversation.
-
mcasner
Inactive member - Topic Author
- Member
Less
More
- Posts: 24
- Thank you received: 0
13 years 2 months ago #11496
by mcasner
Replied by mcasner on topic Re: No lightbox... image appears at bottom of page.
Ok... looks like we're getting a little closer. I added the stylesheet link. Now, the photo still loads at the bottom of the page, but now there is a close button and < image # of # >.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 2 months ago #11511
by ivan.milic
Replied by ivan.milic on topic Re: No lightbox... image appears at bottom of page.
But just now I checked your page and there it's not present in source??? Check that.
put it exactly above this line:
put it exactly above this line:
Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js" ></script>
Please Log in to join the conversation.
-
mcasner
Inactive member - Topic Author
- Member
Less
More
- Posts: 24
- Thank you received: 0
13 years 2 months ago #11525
by mcasner
Replied by mcasner on topic Re: No lightbox... image appears at bottom of page.
Here is the current segment of code right before the closing head tag.
Code:
<link rel="stylesheet" href="http://www.redlogic.com/~relevant/plugins/content/photogallery/css/jquery.lightbox-0.5.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js" ></script>
<script type="text/javascript" src="http://www.redlogic.com/~relevant/plugins/content/photogallery/js/jquery.lightbox-0.5.min.js" ></script>
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 2 months ago - 13 years 2 months ago #11539
by ivan.milic
Replied by ivan.milic on topic Re: No lightbox... image appears at bottom of page.
that is ok, but i get this as an user of your site (in source):
so maybe your templates or some plugin does something with page's header , so that may be the reason photo-gallery did't start as usual without all this manual changes. You use some Gantry based template, try to ask template provider for help. You need to ask them is there anything that can remove script/style references from pages header in their products.
Code:
....
});
window.addEvent('domready', function() {
});
window.addEvent('load', function() {
});
</script>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js" ></script>
<script type="text/javascript" src="http://www.redlogic.com/~relevant/plugins/content/photogallery/js/jquery.lightbox-0.5.min.js" ></script>
</head>
....
so maybe your templates or some plugin does something with page's header , so that may be the reason photo-gallery did't start as usual without all this manual changes. You use some Gantry based template, try to ask template provider for help. You need to ask them is there anything that can remove script/style references from pages header in their products.
Last edit: 13 years 2 months ago by ivan.milic.
Please Log in to join the conversation.
Time to create page: 0.094 seconds