andrew.daniels
New Member
Site in Question
http://www.monique.affordablewebdesignbrisbane.com.au/
Okay. So I decided to do a freebie for a friend as I have no work at the moment. I'm only a first year uni student but I'm always expanding what I know. I salvaged some code that allows me to change the text in a div.
what I am looking to do is be able to load an entire page into that div, similar to php's include function. so I can format the text with break tags, images and the likes.
Not sure if it is a quick and easy fix,
Thanks in advance,
Andrew D.
http://www.monique.affordablewebdesignbrisbane.com.au/
Okay. So I decided to do a freebie for a friend as I have no work at the moment. I'm only a first year uni student but I'm always expanding what I know. I salvaged some code that allows me to change the text in a div.
Code:
<a href="javascript:ReplaceContentInContainer('maincontentdiv',' is now the bio')">
Bio
</a>
what I am looking to do is be able to load an entire page into that div, similar to php's include function. so I can format the text with break tags, images and the likes.
Not sure if it is a quick and easy fix,
Thanks in advance,
Andrew D.