pop up pictures on visual designer? -...

User 187934 Photo


Senior Advisor
20,271 posts
Online Now

In your code there's a space missing.
This should be
<script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript"src="colorbox/jquery.colorbox.js"></script>


this.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="colorbox/jquery.colorbox.js"></script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 511100 Photo


Registered User
16 posts

I made the change but still not working, I copied the text from the example page at first but now with the spaces in, it seems to be worse! http://www.naturesbodycare.ca/Products.html
Thank you for helping :D
User 511100 Photo


Registered User
16 posts

<link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" /> <script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript"src="colorbox/jquery.colorbox.js"></script> <script type="text/javascript"> $(document).ready(function(){ //Examples of how to assign the ColorBox event to elements $("a[rel='example1']").colorbox(); $(".colorbox").colorbox(); }); </script>

this is the code I've pasted into the header exactly as it is on the clipboard!
User 38401 Photo


Senior Advisor
10,951 posts

you didn't put the spaces between the locations that Eric mentioned I highlighted the 2 characters that need a space between them below:

<link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" /> <script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript"src="colorbox/jquery.colorbox.js"></script> <script type="text/javascript"> $(document).ready(function(){ //Examples of how to assign the ColorBox event to elements $("a[rel='example1']").colorbox(); $(".colorbox").colorbox(); }); </script>
User 511100 Photo


Registered User
16 posts

oh well back to the drawing board lol
User 511100 Photo


Registered User
16 posts

yes I did but it didn't work Jo :( I can try again but it just makes it turn to text on the web page check the code at http://www.naturesbodycare.ca/Products.html
I copied the code Eric posted and replaced what I had in the header!
User 511100 Photo


Registered User
16 posts

Ahh well, I'll probably just go with regular links to the pictures I want displayed!
User 38401 Photo


Senior Advisor
10,951 posts

Ah I see, well either way it needs that in there regardless of whether it's just regular links or color box, that isn't what broke it if you put the space in there, just means something else is still messed up unfortunately :)
User 511100 Photo


Registered User
16 posts

Yes, I think the problem stems from the fact that I'm copy/pasting it into my header html tab, It does not appear as code text but rather as a single line of text. When I copy past the code directly from the source code of the page it appears differently in the header html tab, Now the text has color and its much tidier!
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Let me take a look at your page.:) For some reason when we copy and paste from some of my pages extra spaces appear and then some get removed. Your not the first one to have this happen. It happened to me when I copied my own code form a page.:lol:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.