SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast patawa's Avatar
    Join Date
    Jul 2004
    Location
    Missouri
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making links in text browsers

    Is there a way to make links show up in a text only browser
    but not in a visual browers.ie IE, firefox,etc.I am writing
    this from the lynx text browser and I am trying to make my
    site compatible for text only. I have a java menu on my site
    that does not show up in a text browser. So I want to have
    links that show up only to a text browser.

    Thanks,

  2. #2
    With More ! for your $ maxor's Avatar
    Join Date
    Feb 2004
    Location
    Scottsdale, Arizona
    Posts
    909
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could use some type of user-agent check to determine which stylesheet to serve.

    Off Topic:


    Why not just convert that Java menu into a CSS styled <ul> and save yourself the trouble

  3. #3
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Yep there's a way. Use plain old <a href="">Link</a>

  4. #4
    With More ! for your $ maxor's Avatar
    Join Date
    Feb 2004
    Location
    Scottsdale, Arizona
    Posts
    909
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    Yep there's a way. Use plain old <a href="">Link</a>
    Except those will also show up in a regular browser, which he/she is trying to avoid.

  5. #5
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by maxor
    Except those will also show up in a regular browser, which he/she is trying to avoid.
    And where did I say THOSE couldn't be styled with CSS? In your example, do they not show up in a regular browser or something?

  6. #6
    With More ! for your $ maxor's Avatar
    Join Date
    Feb 2004
    Location
    Scottsdale, Arizona
    Posts
    909
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well he wants some way to create links so that they ONLY show up in a text browser, Lynx, Links, whatever. It doesn't matter how you style them, unless you use a hack, but you can't make them physically NOT present.

  7. #7
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Hmm, if only there was a way to feed separate styles to PDA's all problems would be solved.

  8. #8
    With More ! for your $ maxor's Avatar
    Join Date
    Feb 2004
    Location
    Scottsdale, Arizona
    Posts
    909
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    Hmm, if only there was a way to feed separate styles to PDA's all problems would be solved.

    It's just a matter of figuring out the user agent, hoping it's correct, and serving them the proper content. This whole problem would be solved if people didn't use silly java or javascript based navigation.


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
  •