SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Having trouble passing long descriptions in alt tags to PrettyPhoto

    Short sentences work fine but longer descriptions passed through the alt tag turn the script unresponsive. Any ideas?http://goo.gl/eh4pk

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    100 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by extravaganza View Post
    Short sentences work fine but longer descriptions passed through the alt tag turn the script unresponsive. Any ideas?http://goo.gl/eh4pk
    The longdesc attribute can be used for longer descriptions.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •