Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

text in Jquery Lightbox 0.5?

Featured Replies

Hi guys

 

Now i have Jquery lightbox done and set up, i was wondering if anybody here has by any chance managed to get text into lightbox rather than just images. Issue being, you cant optimize jpegs in any way can you?

 

Cheers

  • Author

I had a feeling that it wasnt possible. What i have been doing is making images in photoshop with a paragraph in them but as far as i know, unless my 'alt' tags are full of key words or the actual paragraph. Optimisation for wording in the image isnt possible, seeing as its just an image lol

 

Thanks

most lightbox plugins let you add a title tag with a comment about the photo which then shows up under the photo. if you mess around with the CSS you should be able to make the caption area bigger and just add the paragraph to your title tag?

 

just an idea :)

  • Author

most lightbox plugins let you add a title tag with a comment about the photo which then shows up under the photo. if you mess around with the CSS you should be able to make the caption area bigger and just add the paragraph to your title tag?

 

just an idea :)

 

 

After a bit of tinkering, i did it :D there was no need to even go near the style sheet at all. Basically what i did, made a jpeg about 600px wide, and 10px high. Made that as the refernce lightbox image, then threw in a caption with the paragraph.

 

Light box altered to whatever size the caption was :good:

 

awesome thanks for the help guys.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.