Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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?

You are here: irt.org | FAQ | JavaScript | Table | Q1546 [ previous next ]

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?'

©2018 Martin Webb