Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Netscape: Changing the hyperlink text?

Netscape: Changing the hyperlink text?

Scheduled Pinned Locked Moved Web Development
javascriptquestion
5 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Riley
    wrote on last edited by
    #1

    In Javascript, I can change the .innerText property of a hyperlink to adjust the visible text of said hyperlink in IE. For Netscape, we seem to have a .text property which can be read but when I try to amend it, the whole thing falls over. Does anyone have any idea how this can be done? Paul

    P 1 Reply Last reply
    0
    • P Paul Riley

      In Javascript, I can change the .innerText property of a hyperlink to adjust the visible text of said hyperlink in IE. For Netscape, we seem to have a .text property which can be read but when I try to amend it, the whole thing falls over. Does anyone have any idea how this can be done? Paul

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      If you mean Netscape 6 and above then .innerText is supported. Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?

      P 1 Reply Last reply
      0
      • P Paul Watson

        If you mean Netscape 6 and above then .innerText is supported. Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?

        P Offline
        P Offline
        Paul Riley
        wrote on last edited by
        #3

        Paul Watson wrote: If you mean Netscape 6 and above then .innerText is supported. :confused: Hmmm... it's not working for me in NS7. Paul Watson wrote: Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. Thanks Paul, but "no" would have sufficed :laugh: Paul

        P 1 Reply Last reply
        0
        • P Paul Riley

          Paul Watson wrote: If you mean Netscape 6 and above then .innerText is supported. :confused: Hmmm... it's not working for me in NS7. Paul Watson wrote: Below Netscape 6 (i.e. 4.x) good luck, hope you have lots of cows to sacrifice. Thanks Paul, but "no" would have sufficed :laugh: Paul

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #4

          My apologies, I should have said innerHTML, not innerText. I just tested that and it works. Strangely innerText is valid, but it does not refresh the display in Netscape 7 or Firebird 0.6.1. Yet when I query the innerText it says it has been changed. Anyway, innerHTML does work. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?

          P 1 Reply Last reply
          0
          • P Paul Watson

            My apologies, I should have said innerHTML, not innerText. I just tested that and it works. Strangely innerText is valid, but it does not refresh the display in Netscape 7 or Firebird 0.6.1. Yet when I query the innerText it says it has been changed. Anyway, innerHTML does work. regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?

            P Offline
            P Offline
            Paul Riley
            wrote on last edited by
            #5

            Thanks Paul. I never cease to be amused how often I hear the word "Strangely" in conjunction with Netscape? :) P Paul

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups