Yeah, that's good. Wish my head were clearer the other
day.  But it would be cool if the user could modify
the TableTag.properties file.  For example, what if
the user wants to have an image in place of <a> or
[next].  I know it's doable with JS or even CSS, but 
it would be much easier/faster to be able to
modify the properties file.  I guess it would really
break things, eh:).

Thanks!

"Matt Raible" <[EMAIL PROTECTED]> wrote:

>It's not *that* hard ;-), just do something like this after the table
>tags:
>
><script type="text/javascript">
> var table = document.getElementById("idvariableontable");
> var head = table.getElementsByTagName("thead");
> var links = head.getElementsByTagName("a");
> for (i=0; i < links.length; i++) {
>     links[i].onclick = function() {
>       // put javascript or call functions here
>     }
> }
></script>
>
>You could also look up th's instead of a's and set onclick handler's on
>the whole cell.
>
>HTH,
>
>Matt
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On 
>> Behalf Of [EMAIL PROTECTED]
>> Sent: Thursday, February 12, 2004 4:38 PM
>> To: [EMAIL PROTECTED]
>> Subject: RE: [displaytag-user] Javascript onClick() in Column Href
>> 
>> 
>> I would like to be able to fire some event when the user 
>> pages through the pages.  As of now, it's really hard to 
>> attach an onclick event to the <a> links.
>> 
>> Thanks!
>> 
>> "Matt Raible" <[EMAIL PROTECTED]> wrote:
>> 
>> >The browser's progress bar (in the status bar at the bottom of the
>> >browser) has nothing to do with the displaytag.  What are you not 
>> >seeing that you'd like to see?
>> >
>> >Matt
>> >
>> >> -----Original Message-----
>> >> From: [EMAIL PROTECTED]
>> >> [mailto:[EMAIL PROTECTED] On 
>> >> Behalf Of [EMAIL PROTECTED]
>> >> Sent: Tuesday, February 10, 2004 1:23 PM
>> >> To: [EMAIL PROTECTED]
>> >> Subject: RE: [displaytag-user] Javascript onClick() in Column Href
>> >> 
>> >> 
>> >> I need to display a progress bar when the page links is
>> >> clicked.  How do I go about doing that?  Is it possible 
>> >> without hacking into the source?
>> >> 
>> >> Thanks!
>> >> 
>> >> "Thompson, Mike (ETW)" <[EMAIL PROTECTED]> wrote:
>> >> 
>> >> >
>> >> >
>> >> >-----Original Message-----
>> >> >From: [EMAIL PROTECTED]
>> >> >[mailto:[EMAIL PROTECTED]
>> >> Behalf Of Sean
>> >> >Radford
>> >> >Sent: Saturday, February 07, 2004 4:34 PM
>> >> >To: [EMAIL PROTECTED]
>> >> >Subject: RE: [displaytag-user] Javascript onClick() in Column Href
>> >> >
>> >> >
>> >> >My 'hack' is to use a TableDecorator to put a <TBODY> around
>> >> each <TR>
>> >> >with the relevant javascript on it.
>> >> >
>> >> >Regards,
>> >> >
>> >> >Sean
>> >> >
>> >> >On Fri, 2004-02-06 at 03:19, [EMAIL PROTECTED] wrote:
>> >> >> Hi,
>> >> >>
>> >> >> Even I want to know the same.
>> >> >> Has anyone used the JavaScript with display column tag?
>> >> >>
>> >> >> Thanks & Regards,
>> >> >> Imphaa
>> >> >> Wipro Technologies.
>> >> >> Off Tel # 8520408 Extn # 2024
>> >> >>
>> >> >> "If anyone speaks badly of you, live so none will believe it."
>> >> >>
>> >> >>
>> >> >>         -----Original Message-----
>> >> >>         From: [EMAIL PROTECTED]
>> >> >>         
>> >> [mailto:[EMAIL PROTECTED] On Behalf
>> >> >>         Of sj sweng
>> >> >>         Sent: Friday, February 06, 2004 3:33 AM
>> >> >>         To: [EMAIL PROTECTED]
>> >> >>         Subject: [displaytag-user] Javascript onClick() 
>> in Column
>> >> >> Href
>> >> >>
>> >> >>
>> >> >>
>> >> >>         Hi There,
>> >> >>
>> >> >>         Has anyone actually gotten the column tag to work with
>> >> >>         JavaScript such that we can have
>> >> onClick="somemethod()" type
>> >> >>         of urls genereated by DispalyTag?
>> >> >>
>> >> >>         Regards,
>> >> >>
>> >> >>         S. Weng
>> >> >>
>> >> >>
>> >> >>         
>> >> ______________________________________________________________
>> >> >>          Do you Yahoo!?
>> >> >>         Yahoo! Finance: Get your refund fast by filing online
>> >> >--
>> >> >Dr. Sean Radford, MBBS, MSc
>> >> >[EMAIL PROTECTED]
>> >> >http://bladesys.demon.co.uk/
>> >> >
>> >> >
>> >> >
>> >> >-------------------------------------------------------
>> >> >The SF.Net email is sponsored by EclipseCon 2004
>> >> >Premiere Conference on Open Tools Development and
>> >> Integration See the
>> >> >breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>> >> >http://www.eclipsecon.org/osdn 
>> >> >_______________________________________________
>> >> >displaytag-user mailing list [EMAIL PROTECTED]
>> >> >https://lists.sourceforge.net/lists/listinfo/displaytag-user
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >-------------------------------------------------------
>> >> >The SF.Net email is sponsored by EclipseCon 2004
>> >> >Premiere Conference on Open Tools Development and
>> >> Integration See the
>> >> >breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>> >> >http://www.eclipsecon.org/osdn 
>> >> >_______________________________________________
>> >> >displaytag-user mailing list [EMAIL PROTECTED]
>> >> >https://lists.sourceforge.net/lists/listinfo/displaytag-user
>> >> >
>> >> 
>> >> __________________________________________________________________
>> >> New! Unlimited Netscape Internet Service.
>> >> Only $9.95 a month -- Sign up today at
>> >> http://isp.netscape.com/register Act now to > get a 
>> >> personalized email address!
>> >> 
>> >> Netscape. Just the Net You Need.
>> >> 
>> >> 
>> >> -------------------------------------------------------
>> >> The SF.Net email is sponsored by EclipseCon 2004
>> >> Premiere Conference on Open Tools Development and Integration
>> >> See the breadth of Eclipse activity. February 3-5 in Anaheim, 
>> >> CA. http://www.eclipsecon.org/osdn 
>> >> _______________________________________________
>> >> displaytag-user mailing list [EMAIL PROTECTED]
>> >> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>> >> 
>> >
>> >
>> >
>> >
>> >-------------------------------------------------------
>> >The SF.Net email is sponsored by EclipseCon 2004
>> >Premiere Conference on Open Tools Development and 
>> Integration See the 
>> >breadth of Eclipse activity. February 3-5 in Anaheim, CA. 
>> >http://www.eclipsecon.org/osdn 
>> >_______________________________________________
>> >displaytag-user mailing list [EMAIL PROTECTED]
>> >https://lists.sourceforge.net/lists/listinfo/displaytag-user
>> >
>> 
>> __________________________________________________________________
>> New! Unlimited Netscape Internet Service.
>> Only $9.95 a month -- Sign up today at 
>> http://isp.netscape.com/register Act now to > get a 
>> personalized email address!
>> 
>> Netscape. Just the Net You Need.
>> 
>> 
>> -------------------------------------------------------
>> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>> Build and deploy apps & Web services for Linux with
>> a free DVD software kit from IBM. Click Now! 
>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click
>> 
>> _______________________________________________
>> 
>> displaytag-user mailing list [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>> 
>
>
>
>
>-------------------------------------------------------
>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>Build and deploy apps & Web services for Linux with
>a free DVD software kit from IBM. Click Now!
>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>_______________________________________________
>displaytag-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/displaytag-user
>

__________________________________________________________________
New! Unlimited Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!

Netscape. Just the Net You Need.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to