Switching DIV Content & Changing Link Appearence

Yes there is. Adjust the code so that it it doesn’t rely explicitly on those id attributes. Instead, have the script use the link href values to work out which div to use.

See my post from four days ago that guides you through using this technique.

Show/Hide Divs - #6 by Paul_Wilkins