Jump to content


hacking lightbox?


2 replies to this topic

#1 DarkSuiyoken

    Young Padawan

  • Members
  • Pip
  • 63 posts

Posted 03 August 2008 - 10:11 AM

Hi,

been a long time since I post, and sadly, it's a question. :popcorn:

have anyone tried to pass strings into lightbox? something like:

<a href="link.jpg" title="this is title" caption="this is caption" class="lightbox" rel="gallery-2">

where the caption tag is something new i want to introduce although it's not part of standard HTML. I want to use the caption data to be displayed inside the lightbox data.

#2 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 03 August 2008 - 04:07 PM

why you cant use the the title tag is a bit beyond me, but yea, as long as u can modify the lightbox code easily there is nothing stopping you placing a few of your own made up attributes and using them.

#3 CoryMathews

    P2L Jedi

  • Members
  • PipPipPip
  • 554 posts
  • Gender:Male
  • Location:Texas

Posted 04 August 2008 - 07:50 PM

Lightwindow already has this build in, as do many others, you might want to look around and save yourself the trouble. On the other hand if you just want to do it then go for it, you should be able to.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users