Remove this Banner Ad

Advanced HTML ... or do I need something else?

  • Thread starter Thread starter Mobbs
  • Start date Start date
  • Tagged users Tagged users None

🥰 Love BigFooty? Join now for free.

Joined
Nov 1, 2000
Posts
85,202
Reaction score
102,744
Location
www.footypedia.com/qooty
Other Teams
Fitzroy FC
Here's a poser, that maybe one of yers can help me with :

Say I want three html docs in the following format :
---
Page1.html
Page 1<br>
Gerday<br>
How yer doin<br>
Thanks for comin'<br>
Catch yer later<br>
End of page 1<br>
---
Page2.html
Page 2<br>
Gerday<br>
How yer doin<br>
Thanks for comin'<br>
Catch yer later<br>
End of page 2<br>
---
Page3.html
Page 3<br>
Gerday<br>
How yer doin<br>
Thanks for comin'<br>
Catch yer later<br>
End of page 3<br>
---

What I'd love to do would be to have the middle four lines in ONE separate file, and load them in to the pages automatically, eg :

---
Page1.html
Page 1<br>
SomeCodeForInsertingTextFrom Insert.html
End of Page 1<br>
---
Page2.html
Page 2<br>
SomeCodeForInsertingTextFrom Insert.html
End of Page 2<br>
---
Page3.html
Page 3<br>
SomeCodeForInsertingTextFrom Insert.html
End of Page 3<br>
---
Insert.html
Gerday<br>
How yer doin<br>
Thanks for comin'<br>
Catch yer later<br>

Can anybody help?
 
you can do that pretty easily using javascript, however, i couldnt tell you of the top of my head, and i would have to look through a few resources to see so right now im not much help.
 
You can do this with iFrames!

I'll go and find a link that to post that talks all about them!

I'll be back! ;)
 

Log in to remove this Banner Ad

CJ ... I have just loaded the page will have a quick squiz before going out to have my foot amputated ... err ... rebandaged. Thanks for that!

iceman, I know, I've learnt nearly everything I needed to know from htmlgoodies ... but it didn't seem to cover this part.

Mind you, back then I didn't know that it might have been under javascript.
 
Okay, the iFrame business seems to be no help at all ... its just a thing about frames (about which I know), repackaged and pretending not to be a thing about frames ...

I have a 'teach yourself javascript' booklet and CD here ... had a look through that, seems totally irrelevant ...

... off with my leg.
 

Remove this Banner Ad

Remove this Banner Ad

🥰 Love BigFooty? Join now for free.

Back
Top Bottom