52 users online (0 members and 52 guests)  


  Results 1 to 7 of 7

Related

  1. Replies: 2
  2. Replies: 2
  3. Insert a wav file    Forum: HTML Forum
    Replies: 3
  4. Insert page in a table?    Forum: HTML Forum
    Replies: 5
  1. #1
    jan_vega's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    1

    insert pages into a table?

    I am rather new about creating websites, but I'm learning...

    Here's where I get stuck:

    My page has a JavaScript that fills my screen with floating stars. On that same page, I want somewhere on the left side a kind of a stroke where I can put a navigation-system. On the right side I want to get the pages where you could link to in the navigator-system.
    Now, a normal frameset would do this job, but I can't use it because I need the stars on the WHOLE page. How do I do it?

    Can I use iFrames? Or do I have to create a table where I can put my left and right document?
    The pages I want to insert in the right stroke will be written outside dreamweaver.

    I hope someone takes the time to help me out...

    thx

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi, welcome to the forums.

    Yes, iframes sound good for what you wish to achieve. If your not sure of the coding for them, check out http://www.samisite.com/test-csb2nf/id43.htm]this iframes tutorial for a good intro.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    the syntax is as below.

    <iFrame src=file.html' frameborder=0 width=100 height='100%' name='Name' marginheight=0 marginwidth=0 scrolling=auto></iFrame>

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Doorknob,

    The tutorial does cover that. However, your code is flawed.

    the src only has one ' symbol, width, marginheight and marginwidth and scrolling dont have any at all. This would probably not work as intended.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    Oops. Sorry, I just cut and paste. It's 3am, so I've got an excuse

    Anyway, the src needs to be enclosed, but the width, marginheight and marginwidth don't, as long as the values are integers and not percentages or the values are not separated by a space

    <iFrame src='file.html' frameborder=0 width=100 height='100%' name='Name' marginheight=0 marginwidth=0 scrolling=auto></iFrame>

    This works fine in IE and Netscape. Not sure about the other browsers though

  6. #6
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    good to go for Mozilla nice one.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  7. #7
    b.squires317's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2003
    Location
    Connecticut
    Posts
    10
    Quote Originally Posted by Doorknob
    the syntax is as below.

    <iFrame src=file.html' frameborder=0 width=100 height='100%' name='Name' marginheight=0 marginwidth=0 scrolling=auto></iFrame>

    Be careful about using % in the width and height because IE6 flips out with that when using inline frames.



Tags for this Thread