Observable Javascript changes

I want to make a suggestion for future dolphin releases.

I see a lot of this:

<a class="whatever" href="javscript:void(0)">clicky</a>

A practice generally considered better, and one that utilizes jquery to its fullest:

<anyhtmlobject id="myLinkName">clicky</anyhtmlobject>
$('#myLinkName').click(function() {
$(this).html('I was clicked');
});

This is going to eliminate all those ugly "javascript:void(0)" that people see when they hover over links. That direct call to javascript is considered bad also because its not part of javascript, its added by the browser vendors and is not standardized. If anything, use the onclick arguement for the html objects.

I'm not trying to be super criticizing you guys, because dolphin is quite a good peice of work. Just food for thought to help get with "the times". :]

Quote · 14 Sep 2012

and where would that be put?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 14 Sep 2012

The main javascript file.

throw that jquery call into wherever they plug into document.ready

Quote · 14 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.