SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru sowen's Avatar
    Join Date
    Feb 2001
    Location
    Stockport, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to use SVG (scalable vector Graphics) on my site but the plugin is not widely available (yet) first is it possible to detect the presence of the plug in and the feed the right file extention to link, sort of

    if plugin svg is present extension = svg
    if not extension = gif


    <img src="pic.{extension}">

    javascript newbie so be gentle

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why don't you use flash?


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
  •