I've spent the last half hour googling for an answer to this with no luck. I need to be able to disable some html anchors, but due to CSS markup issues can't simple display them as text. I've tried, but with unsatisfactory results.

Would I'd like to do is filter the anchor click by using some Javascript that would function much like 4D's FILTER EVENT command does.

For example (note: angle brackets replaced w/ square brackets so html doesn't get clobbered by various email programs)

   [a href=""]label[/a]

is a partial solution but clicking on it usually reloads the current page. That isn't desirable in my situation.

what I'd like is something like

   [a href="" onClick="ignoreClick()"]label[/a]

I don't have a clue how to write ignoreClick, or if it is even possible using Javascript? If anyone has done this would you mind sharing how?

Thanks,

Brad Perkins
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to