|
Posted by Rik on 10/18/06 15:24
..:[ ikciu ]:. wrote:
> Hmm Steve <no.one@example.com> wrote:
>> $sLinktext = @$xNode->firstChild->data;
>> $sLinkurl = $xNode->getAttribute('href');
>>
>> if ($sLinktext != '' && $sLinkurl != '')
>
>
> you forgot about something, url can set via js
It can, but people really shouldn't. Always provide a normal working link
without javascript. Javascript is for added functionality, not the normal
workings of a page.
Also, the url can be set by a header (often used for long lists with links,
where the siteowner wants to know which links are clicked to navigate
away).
--
Grtz,
Rik Wasmus
Navigation:
[Reply to this message]
|