H2O: Bookmark mit automatischer Domainerkennung

Beitrag lesen

Hallo.

var bookmarktitle=window.location.host; funktionert beim Titel,
jedoch nicht bei var bookmarkurl=window.location.host; (???)

location.host liefert dir auch nur den Host aus und nicht "http://".
Wenn du aber bookmarkurl="http://"+window.location.host; notierst sollte es klappen.

Ich hoffe ich konnte helfen, H2O

--
#*~!:     Endlich Ferien.
Selfcode: ie:% fl:| br:^ va:| ls:# fo:) rl:? n4:| ss:{ de:] js:) ch:? sh:( mo:? zu:|
Infos:    http://emmanuel.dammerer.at/selfcode.html