Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

createElement vs. createElementNS ??? DOM2, SVG

[es] :: Javascript i AJAX :: createElement vs. createElementNS ??? DOM2, SVG

[ Pregleda: 1128 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

MilosDj
Milos Djuric
Belgrade

Član broj: 14174
Poruke: 307
*.dynamic.isp.telekom.rs.



+4 Profil

icon createElement vs. createElementNS ??? DOM2, SVG24.10.2011. u 15:01 - pre 152 meseci
U cemu je zaista razlika i sta buducnost nosi obicnom createElement-u?

Zasto svg mora da koristi createElementNS(ns_string, 'svg') i onda setAttributeNS(null,,)?
Ok, setAttributeNS(null,,) jer ne baguje na nekim browserima kad ima i nema name spejsa, ali sto onda ne koristimo isti ns_string u setAttributeNS?

Koja je svrha ns u obicnom html-u? Moram li da menjam postojeci kod iz createElement u createElementNS?

Citam DOM2 specifikaciju i googlam, ali mi i dalje izmice sustina...
I'm not in this world to live up to your expectations and you're not in this world to live up to mine.
 
Odgovor na temu

[es] :: Javascript i AJAX :: createElement vs. createElementNS ??? DOM2, SVG

[ Pregleda: 1128 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.