Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbox by using php?

    Hi,
    I'm wondring if it is possible to code lightbox-like effect by using php? I'm trying to make my pages javascript free. Thanks!

    -Tony

  • #2
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Nope. PHP is server side so anything that happens with PHP happens BEFORE it goes to the browser. Javascript will do this, I guess so will java and flash but you'll need some sort of extension to get them to work. I'd personally stick with the JavaScript method
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #3
    New Coder
    Join Date
    Apr 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Too bad. I still don't fully understand why. Well, I don't understand how lightbox works either =)

    -Tony


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •