ok1 Posted November 23, 2006 Report Share Posted November 23, 2006 (edited) Ir href tags: <a class="unactive" href="viena_lapa.php" name="contacts">Kontakti</a> un vajadzētu, lai kad uzklikšķina "class" vertība nomainās uz "active". Respektīvi, kas ir uzspiest jābūt: <a class="active" href="viena_lapa.php" name="contacts">Kontakti</a> To visu vajadzētu izdarīt ar javascript, jo lapas mainās ar ajax konkrētā divā Edited November 23, 2006 by ok1 Link to comment Share on other sites More sharing options...
v3rb0 Posted November 23, 2006 Report Share Posted November 23, 2006 this.className="active" Link to comment Share on other sites More sharing options...
andrisp Posted November 23, 2006 Report Share Posted November 23, 2006 element.className = 'active'; Link to comment Share on other sites More sharing options...
ok1 Posted November 23, 2006 Author Report Share Posted November 23, 2006 Paldies Link to comment Share on other sites More sharing options...
Recommended Posts