The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Possible to link HTML changes?

View previous topic View next topic Go down

Possible to link HTML changes?

Post by RazielBach on May 27th 2015, 5:31 am

Hey there.

I had a question on something that would be more of a quality of life change on my part. For updates to my forum, I have a section on an HTML page saying when the update was, and I also edited the template of the main page to say when the update was. 

I was curious if there was a way to link it so that when I update that section on the HTML page the same section on the template will updated by itself.

Any help would be appreciated, thanks.

RazielBach
Forumember

Posts : 25
Reputation : 1
Language : English

http://eriviyn.forumotion.com

Back to top Go down

Re: Possible to link HTML changes?

Post by Sir. Mayo on May 31st 2015, 7:25 pm

The only way i know of would be to use the <iframe> </iframe> tags.

for example

Code:
 <iframe src="YOUR HTML PAGE" width="XX" height="XX">

Replace YOUR HTML PAGE with the url of the page

then replace the XX with the size for the height and width you would like

Sir. Mayo
Forumember

Male Posts : 960
Reputation : 84
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Possible to link HTML changes?

Post by Mike on June 2nd 2015, 8:03 pm

If you use Javascript Page Management you can create a similar effect. Create a file in the Javascript Management and have it active on all pages. Youll need to copy the link for it. 

In your Javascript page only include the following: 

Code:
document.write('YOUR TEXT HERE');

Wherever you'll want this update message to show, for example on a custom page or at the bottom of your forum, add the code: 

Code:
<script type="text/javascript" src="YOUR LINK"></script>

and then whenever you change the message in your main javscript management file it will update on all the pages that have that script included.

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum