Results 1 to 5 of 5

Thread: Resize with Javascript

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation Resize with Javascript

    How can i resize the contents of 3 forms to fit different screen resolutions? I need to be able to resize 2 flash movies, one is in the top frame, and the other is in the left frame so that they would fit a screen resolution less than 1024 X 768. if you would like to see my site, and know what i'm talking about, go to The site and check it out with a lower screen resolution, if you can help thanks alot.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Try setting the HEIGHT and WIDTH parameters of the flash movies to "100%" instead of using absolute values
    Mark
    -------------------

  3. #3
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    Set your width as % in the OBJECT & EMBED tag:
    Code:
    <!--Flash Movie --!>
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="100%" HEIGHT="100%" >
    <PARAM NAME=movie VALUE="Title.swf">
    <PARAM NAME=menu VALUE=false>
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=salign VALUE=T>
    <PARAM NAME=bgcolor VALUE=#CCCCCC>
    <EMBED src="Title.swf" menu=false quality=high salign=T bgcolor=#CCCCCC WIDTH="100%" HEIGHT="100%" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  4. #4
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    Mark,

    Beat me to it!
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation well....

    I tried and it didnt do much good, I still got the same results, the frames cut off the movies when the site was veiwed in a lower resolution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width