dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Need help with setting Window size

Hybrid View

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    10

    Need help with setting Window size

    My site is www.eternal-rhythms.com and I would like to make my main page window my movie size. I have been through all the toutorials and none will work. Can someone please help me.

    Regards,
    Bryan aka dj beenie
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  2. #2
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Can anyone help me please.
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  3. #3
    Senior Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    100
    so you want the browser window holding your popUp site to be the exact size of your movie.

    this is a fairly simple bit of javascript attached to the "entersite" button on your index page

    check out this neat tool... a custom popUp window generator

    http://javascript.internet.com/gener...up-window.html

  4. #4
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Thank you so much two3rdswater. I will give it a try.
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  5. #5
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Ok that did the trick, but 1 million of my main page opens up and locks up my pc. Why is it doing that. Can someone help, please.


    Regards,
    Bryan
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Where'd you put the code?
    It should be called from your "Enter site" button.

  7. #7
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Well there is code for automatically. And there is a button, and link code. I tried the link and auto. They both do the same.
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  8. #8
    Senior Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    100
    could you post your html code here pls?

  9. #9
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    <!-- TWO STEPS TO INSTALL POPUP WINDOW:

    1. Paste the first into the HEAD of your HTML document
    2. Use the code to open the popup page on your site -->

    <!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Idea by: Nic Wolfe (Nic@TimelapseProductions.com) -->
    <!-- Web URL: http://fineline.xs.mw -->

    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->

    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=800,height=450,left = 112,top = 159');");
    }
    // End -->
    </script>


    <!-- STEP TWO: Use the following link to open the new window -->

    <A HREF="javascriptopUp('main.html')">Open the Popup Window</A>

    <!-- Script Size: 0.73 KB -->

    Thats what I got, and it opens a million pages. Is there a problem with it?
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  10. #10
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Well I guesss ill have to attach it. Here it is.
    Attached Files Attached Files
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

  11. #11
    Senior Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    100
    i think you need to stick that between

    Code:
    
    
    brackets

  12. #12
    Junior Member
    Join Date
    Feb 2002
    Posts
    10
    Where do I put the brackets? I didn't get you. Put the brackets in my code?
    dj_beenie
    djbeeniednb@hotmail.com
    Eternal Rhythms

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

HTML5 Development Center