change size of a javascript element

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stefan72
    New Member
    • Jun 2008
    • 1

    #1

    change size of a javascript element

    Hello,
    I've been searching the web for a good while but can't find an answer to a simple problem:

    I am calling an object to my CMS-Website using javascript and would like to change its default size:
    Code:
    <script type="text/javascript"
    
    	src="http://www.domain.net/TABLE2/gen.php?lang=en">
    </script>
    <noscript> <a href="http://www.domain.net/dashboard.php?lang=en">sample text</a>
    </noscript>
    How can this be achieved?
    Many thanks for your help.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Where's the code for the object? To change the size, set the style.width/style.height properties.

    Comment

    Working...