WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 JQuery lightbox problem on Thu Dec 09, 2010 5:25 pm

Guest


Guest
Hey,

i downloaded the files from http://leandrovieira.com/projects/jquery/lightbox/ to put the lightbox to my site.Everythings ok,however i dont get the lightbox effect!just like there is nothing Sad

2 Re: JQuery lightbox problem on Thu Dec 09, 2010 9:01 pm

ankillien

avatar
Administrator
Administrator
Hi,

Can I see the page where you added the codes?

3 Re: JQuery lightbox problem on Thu Dec 09, 2010 9:13 pm

Guest


Guest
http://freshydesigns.forumotion.com/lightboxtest-h11.htm

it aint work Sad

i can see you are using it at the shop so i think you can help me.

4 Re: JQuery lightbox problem on Thu Dec 09, 2010 10:01 pm

ankillien

avatar
Administrator
Administrator
Try adding this code in the head tags.

Code:
<script type="text/javascript">$(function() {$('a').lightBox();});</script>

5 Re: JQuery lightbox problem on Thu Dec 09, 2010 10:03 pm

Emilio

avatar
Registered Member
Registered Member
Nick we neeed that to for RL Very Happy

http://www.graphilicious.forumotion.Com

6 Re: JQuery lightbox problem on Thu Dec 09, 2010 11:37 pm

sean

avatar
Registered Member
Registered Member
kool we all need this

http://www.witalent.net

7 Re: JQuery lightbox problem on Fri Dec 10, 2010 12:43 am

Guest


Guest
@Emilio yes we do Wink

@ankillien sorry that isnt working Sad Thats why i am asking you for help cause i cant get it to work.

8 Re: JQuery lightbox problem on Fri Dec 10, 2010 12:56 am

Guest


Guest
Use this scripts,:
Code:

<script type="text/javascript" src="http://world-dezign.webs.com/lightbox.js"></script> 
  <link rel="stylesheet" href="http://world-dezign.webs.com/lightbox.css" type="text/css" media="screen" />

Code:
<a href='http://cdn5.iconfinder.com/data/icons/REALVISTA/graphics/png/128/airbrush.png' rel='lightbox[angels]'  target='_blank'>
 
           <img src=http://cdn4.iconfinder.com/data/icons/fatcow/32x32_0700/painbrush.png alt=an001.jpg>

You can save them and host them in your own host (:

9 Re: JQuery lightbox problem on Fri Dec 10, 2010 3:24 am

Guest


Guest
still nothing Sad

10 Re: JQuery lightbox problem on Fri Dec 10, 2010 3:49 am

Guest


Guest
Works for me...

http://agendalabs3.forumotion.com/-h1.htm

Everything is default, so there's no prev/next buttons, and no image for the close button. Feel free to copy the HTML source and modify to fit your needs.

Among other things, you were loading the lightbox plugin before you loaded jQuery. That will cause the page to crash because the plugin is looking for jQuery but can't find it.

11 Re: JQuery lightbox problem on Fri Dec 10, 2010 4:00 am

Guest


Guest
Thanks for the reply dion Wink

Where exactly can i add the next and close buttons? :/

12 Re: JQuery lightbox problem on Fri Dec 10, 2010 4:05 am

Guest


Guest
Well...here's your original link.

http://leandrovieira.com/projects/jquery/lightbox

Click the Extend tab. Very Happy

13 Re: JQuery lightbox problem on Fri Dec 10, 2010 7:46 pm

Guest


Guest
placed the source code to my html pages and doesnt work Sad

14 Re: JQuery lightbox problem on Fri Dec 10, 2010 9:05 pm

ankillien

avatar
Administrator
Administrator
The only problem I see is that you are not calling the lightbox function.
You must call it using this code...

Code:
<script type="text/javascript">
$(function() {
$('a').lightBox();
});
</script>

I don't see this code in your page source.

15 Re: JQuery lightbox problem on Sat Dec 11, 2010 2:15 am

Guest


Guest
okay,that works now Smile

thanks

16 Re: JQuery lightbox problem on Sat Dec 11, 2010 8:40 am

Jophy

avatar
Registered Member
Registered Member
Solved => Closed

http://www.socialtechforum.com/

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum