Lightbox!

classic Classic list List threaded Threaded
11 messages Options
GD
Reply | Threaded
Open this post in threaded view
|

Lightbox!

GD

Hello Nabble!

I was trying to install light'box into the system on nabble. And i can truly say it didn't work... http://lokeshdhakar.com/projects/lightbox2/

I add the :
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/light'box.js"></script>
and the css int the HTML in NAML... 

And i have try on my computer to see if i get it working. And yes it did. But not on in the Forum. Is it possible to make it working please!
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GregChapman
You don't state whether you have set the appropriate permission. See:

Options > Users > Change permissions > Unrestricted_posting

The note for this permission says:
Who can post any content without restriction (including javascript code,  and <style> tags, etc.). Security Warning: Allow this option only for users that you really trust.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

Pedro
In reply to this post by GD
Did you upload the .js files somewhere?
My test forum.
GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GD
Yes, i upload the on nabble. toobar >> more >> ''upload file'' and the i just copy the url and did this:

<link href="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.css" rel="stylesheet" /> 

<script src="MYNABBLESIT.n6.nabble.com/file/n3213/jquery-1.7.2.min.js"></script><script src="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.js"></script>
Namn -->> HTML:

 <macro name="html" parameters="head,body">
    <n.html_impl>
        <head>
<link href="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.css" rel="stylesheet" /> 
            <n.head/>
        </head>
        <body>
            <n.top_bar/>
            <n.body/>
            <n.nabble_footer/>
<script src="MYNABBLESIT.n6.nabble.com/file/n3213/jquery-1.7.2.min.js"></script>
<script src="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.js"></script>
        </body>
    </n.html_impl>
</macro> 

When i try it on my own site, its working fine:

<!doctype html>
<html>
<head>
	<title></title>
	<link href="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.css" rel="stylesheet" /> /> 
</head>
<body>
  <div class="imageRow">
  <div class="set">
  <div class="single first">
  	<a href="jpg" rel="lightbox[plants]" title="Click on the right side of the image to move forward.">
        <img src=".jpg" alt="Plants: image 1 0f 4 thumb" /></a>
  </div>
</div>

<script src="MYNABBLESIT.n6.nabble.com/file/n3213/jquery-1.7.2.min.js"></script>
<script src="MYNABBLESIT.n6.nabble.com/file/n3213/lightbox.js"></script>
</body>
</html>

but i dont get it to work here :(
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

Pedro
Please, give your forum's address.
My test forum.
GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

Pedro
See here:
http://none123.1091176.n5.nabble.com/erc-tp3p5.html
Is this right for you?
My test forum.
GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GD
You fix it  What can i say! Thanx Thanx Thanx Thanx Thanx, Thank you !!!!!!!!!!
I know it just words, But i love the support you have here on nabble. You really made my day better now

Its good to know that i can be given help if it's in need
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

Pedro
You are welcome. Try to understand what I did and let me know if you have any questions.
My test forum.
GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GD
 Well, You added the links in the nabble_javascript_libraries (NAML). I dident add them there. If you made any changes
 in the files, i dont know. But it's workning now and that's what i wanted. But i will try to learn more about this so i can
fix the problems myself. Enyway, thank you for the time doing it.
GD
Reply | Threaded
Open this post in threaded view
|

Re: Lightbox!

GD
Pedro@
This time its a lightbox for youtube videos.

I have try to understand it. But i really dont get it. Why wont it work.
videobox_1.1.zip

It works perfectly on my own computer before uploading on nabble.
I you have some time over please take a look on it for me.