-
auto resize
I have a web site that is half swish and half html and I have designed it so it looks good on a 1024X768 format and i have no scrollbars or menu buttons because I want it self contained.
It there any code that can be added to my site to make everything shrink in size for those who are on 800x600 format.
I don't want them to have to scroll.
www.destinyfaire.com
gary roberts
-
Hope this Helps
<SCRIPT language=JavaScript>
<!--
self.moveTo(0,0)
self.resizeTo(screen.availWIdth,screen.availHeight )
-->
</SCRIPT>
-
Flashkit historian
That script wont help.
If you place a movie into a page
the object embed is the actual decider of how large
or small the movie is.
You could set those dimensions to percentages however,,,,,,,
Once you do that your bitmap images will look distored.
If the swf is not being displayed in the res that it was
originally designed for.
There is also a rather complicated method
of res detect and browser redirect available thru
javascritping
However,,,,,,
Once again if an swf is not embedded to it's
original dimensions once again the bitmap images will look
distorted.
You could also open your swi group everything as a group
resize the group then ungroup and resize your movie.
However once again you would need to go in and edit your
images externally and re-import them because they will look
distorted.
Frets
-
didn't work
that particular code resized the brower to nothing only the address bar and top of browser showed up. after I could resize it by pulling it down but the content didn't change size.
Is there a particular place you should put the code?
I tried the head and then the body both didn't work.
do you have another idea? I would really appreciate it.
gary
www.destinyfaire.com
-
Harmony & Justice
You can resize the SWF part by changing
the embed code from a set pixel size to
a percentage.
However, it will be impossible (without
the use of COMPLEX js) to resize the
html text dynamically.
Flash Kit Moderator . Duke University
Thomas Jefferson High School for Science and Technology
-
Flashkit historian
we posted close to the same time
look up
-
thanks frets
although what you said has kind of gone over my head to a bit
gary
-
how bout this
would be be best just to have two versions of the site.
one designed to fit each resolution?
gary roberts
www.destinyfaire.com
-
Flashkit historian
That's really about you.
And where you see your audience.
It took me a long time to move
away from 800 x 600 site design.
but looking back I'm glad I did.
And if some user want's to increase
the display size they can.
-
thanks
thanks for your feedback. If it were up to me I would keep it
1024x768 however the guy I am designing it for uses the smaller format and that is the way he wants it.
thanks
gary
www.reelediting.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|