Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1546 How can I resize a table through a link, for example: I want to zoom in or zoom out the table when click on a link (zoomIn or ZoomOut). and it would zoom 5 pixels per click?

irt.org | Knowledge Base | JavaScript | Table | Q1546 [ previous next ]

Q1546 How can I resize a table through a link, for example: I want to zoom in or zoom out the table when click on a link (zoomIn or ZoomOut). and it would zoom 5 pixels per click?

With Internet Explorer 4+:

<a href="javascript:;" onClick="document.all.myTable.width+=5">zoom in</a>
<a href="javascript:;" onClick="document.all.myTable.width-=5">zoom out</a>

Feedback on 'Q1546 How can I resize a table through a link, for example: I want to zoom in or zoom out the table when click on a link (zoomIn or ZoomOut). and it would zoom 5 pixels per click?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.