changing thestyle

Results 1 to 2 of 2

Thread: changing thestyle

  1. #1
    Join Date
    Dec 1969

    Default changing thestyle

    can i dynamically change the css class or style assigned to alink using javascript if so please help

  2. #2
    Join Date
    Dec 1969

    Default If you mean an individual link...

    ...then the answer is yes, provided the link has a name:<BR><BR>&#060;a href="thelink" id="Link1"&#062;This is a link!&#060;/a&#062;<BR><BR>The JavaScript would be:<BR><BR>document.getElementById("Link1").style = "&#060;thestyle&#062;";<BR><BR>Oliver.

Posting Permissions

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