Javascript And HTML Question?

Discussion in 'HTML & Website Design' started by geekazoid, Aug 13, 2006.

  1. #1
    I have a .html page its a very loverly page, I am rather proud of it :D

    I wish to display this page on other peoples website.

    I have seen how other people do this kinda thing and it seems .js files are the idea.

    Anyone know how to do this ?

    Can i display my .html page in someone elses web page ?

    *Without The Use Of PHP*
     
    geekazoid, Aug 13, 2006 IP
  2. KC TAN

    KC TAN Well-Known Member

    Messages:
    4,792
    Likes Received:
    353
    Best Answers:
    0
    Trophy Points:
    155
    #2
    KC TAN, Aug 13, 2006 IP
  3. geekazoid

    geekazoid Peon

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanx. Anything a little simpler ?
     
    geekazoid, Aug 13, 2006 IP
  4. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can show your page in other person's page through the use of iframes.

    Source:

    <html>
    <head>
    <title></title>
    </head>
    <body>
    <iframe src="schizoid_page.html" name="myiframe" width="300" height="300"></iframe>
    </body>
    </html>

    Target:

    <html>
    <head>
    <title></title>
    </head>
    <body>
    <p>This Is A Page From Schizoid</p>
    </body>
    </html>
     
    TechnoGeek, Aug 15, 2006 IP
  5. geekazoid

    geekazoid Peon

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Splendid Thankyou

    Allthough i have been told iframes can cause problems... Is this correct ?
     
    geekazoid, Aug 16, 2006 IP
  6. swirl1980

    swirl1980 Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    my opinion is i don't think its actually that they cause problems it was just that a few yrs back it was seen as sometimes (for ppl with little coding knowledge) complicated/confusing to code - which cud then lead to problems. With modern day html editors its far easier........
     
    swirl1980, Aug 16, 2006 IP
  7. swirl1980

    swirl1980 Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    oh, 4got to mention, iframes can suffer indexing problems as some Search Engine do not see the content of the iframe.....
     
    swirl1980, Aug 16, 2006 IP