SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Location
    Tehran - Iran
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question lightbox without anchor tag

    Hi all and happy new year
    I want to know if its possible to create something like lightbox effect without pressing anchor link ?
    I have a serach box which return a true or false value and its written with php and ajax, all i want is when user search for value the result shown with image in lightbox effect(or something simillar), but lightbox is activated when press a link...
    thnx for your help

  2. #2
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most lightbox scripts pick up anchors with a class and assign an event handler on the click event. You would need to modify those to change the event in which the event handler gets assigned to whenever the ajax callback is returned.
    Cross browser css bugs

    Dan Schulz you will be missed


Tags for this Thread

Bookmarks

Posting Permissions

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