Javascript annoyance

javascript “assistance” for topic links - a very bad idea.

this violates browser interface conventions big time.
when something (such as a topic title) is displayed as a link, underlined and there’s a “hand” cursor over it, provides a strong hint that it is a link and one can click it. that’s how users open topics and any links out there.

the idea to extend the clickable area to the whole table cell is misguided; no one (other than those used to this particular “feature”) will expect it to work that way. i’ve never seen such perversion anywhere else. is it so hard to hit the topic title with the mouse? and clicking it can only open the topic in the same window/tab.

furthermore, the way tabbed browsing works is, i ctrl+click (in mozilla) the link to open it in a new tab. so what your “feature” does is break even this behaviour, because when i ctrl+click it, not only does it open in a new tab, but in the old tab as well (which i intended to keep in the forum index). so i have to open a context menu and choose “open in new tab”. not to mention it VIOLATES my habit. argh!

therefore, i recommend that you remove this javascript heresy.

Quote:
<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#F3F7FA';" onmouseout="this.style.backgroundColor='#ECF0F4';" onclick="window.location.href='viewtopic.php?t=194'"><span class="topictitle"><a href="viewtopic.php?t=194" class="topictitle">http://haiku-os.org/statcvs/ is down, monday ( aug 30)</a></span><span class="gensmall"><br /> </span></td>
hua wrote:
javascript "assistance" for topic links - a very bad idea.

this violates browser interface conventions big time.
when something (such as a topic title) is displayed as a link, underlined and there’s a “hand” cursor over it, provides a strong hint that it is a link and one can click it. that’s how users open topics and any links out there.

the idea to extend the clickable area to the whole table cell is misguided; no one (other than those used to this particular “feature”) will expect it to work that way. i’ve never seen such perversion anywhere else. is it so hard to hit the topic title with the mouse? and clicking it can only open the topic in the same window/tab.

furthermore, the way tabbed browsing works is, i ctrl+click (in mozilla) the link to open it in a new tab. so what your “feature” does is break even this behaviour, because when i ctrl+click it, not only does it open in a new tab, but in the old tab as well (which i intended to keep in the forum index). so i have to open a context menu and choose “open in new tab”. not to mention it VIOLATES my habit. argh!

therefore, i recommend that you remove this javascript heresy.

As you can see at the bottom of the page, the forums are powered by phpBB - which is an extremely common forum software (I’m pretty sure i’ve seen other BeOS sites using it in fact) - in any case, you should probably re-iterate your complaint in their support/bug forums as it is ultimately up to them to fix their page logic… I doubt Kurtis wants to hack up their scripts.

On the other hand, I also use tabbed browsing (via Mozilla FireFox) - and while I agree that it is annoying that clicking anywhere else in the cell causes it to open in the same window, I generally ctrl-click (or middle-button click) on the text which does in fact open in a separate tab and leaves the old tab alone… - maybe something was fixed in FireFox?

first off, let me just say that i think javascript is the most evil thing ever invented

second, i didn’t write the code for it =)

third, someone was working on an xhtml / css translation of the site and I had planned to integrate it into the current templates when I had time…

unfortunately, I haven’t found the time yet, but I’ll keep your hatred for javascript in mind

umccullough

Quote:
As you can see at the bottom of the page, the forums are powered by phpBB - which is an extremely common forum software (I'm pretty sure i've seen other BeOS sites using it in fact) - in any case, you should probably re-iterate your complaint in their support/bug forums as it is ultimately up to them to fix their page logic... I doubt Kurtis wants to hack up their scripts.
i don't recall encountering this feature anywhere else, starting with phpBB site. this makes me think that this comes from the theme:
Quote:
Theme created by Vjacheslav Trushkin.
as for hacking up scripts - if it were me, i would just grep the whole thing for that 'location.href' piece and eradicate it mercilessly. it should only matter in a few places anyway - forum list and thread list. i'm not telling anyone what to do, of course :) i don't know how it works by them.
Quote:
On the other hand, I also use tabbed browsing (via Mozilla FireFox) - and while I agree that it is annoying that clicking anywhere else in the cell causes it to open in the same window, I generally ctrl-click (or middle-button click) on the text which does in fact open in a separate tab and leaves the old tab alone... - maybe something was fixed in FireFox?
i just downloaded Firefox 1.0PR. middle-click works correctly, but ctrl+click still replaces old tab, triggers onClick.

what OS do you use? maybe this is really a Mozilla-on-Linux issue…

kurtis

Quote:
first off, let me just say that i think javascript is the most evil thing ever invented
frequently misused, rarely put to good use and inadequate, with compatibility issues for dessert. :twisted:

oh well. at least there’s the middle-click as a workaround, or i’ll just disable javascript.

hua wrote:
Quote:
On the other hand, I also use tabbed browsing (via Mozilla FireFox) - and while I agree that it is annoying that clicking anywhere else in the cell causes it to open in the same window, I generally ctrl-click (or middle-button click) on the text which does in fact open in a separate tab and leaves the old tab alone... - maybe something was fixed in FireFox?
i just downloaded Firefox 1.0PR. middle-click works correctly, but ctrl+click still replaces old tab, triggers onClick.

what OS do you use? maybe this is really a Mozilla-on-Linux issue…

Whoops, you’re correct - I guess I’m so used to using the middle-clicking that I didn’t notice ctl-click had different behavior…

Most of the time I end up using W2K/Firefox (yeah, i know W2k is evil and all) - but this appears to be a problem with my environment as well, so it is not specific to Linux. I wonder if there’s a mozilla bug filed for that difference in behavior…

As for it being specific to a theme - you are probably correct - and I’m not terribly fond of the theme either - other than the colors are somewhat pleasant :slight_smile: