IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Html News Ticker

, how do i create an html news ticker?


anwiii
no avatar
Privileged Member
*********
Group: [HOSTED]
Posts: 921
Joined: 5-March 06
From: Warsaw, MO
Member No.: 19,564
myCENT:74.40



Post #1 post Jun 24 2009, 08:56 AM
i don't know if you would call it an html news ticker or not, but what i want to know is how to take a portion of one of my pages, and have it automatically displayed on another page. i am not talking about frames, but html and/or javascript. i want it so when i update one portion of my page, the other page will be updated automattically for the little portion of the page i updated.

is there any easy free program that can do this or maybe someone can write a tutorial and post it? or heck. just explain it here.

now if what i am talking about isn't an html news ticker? what would you call it exactly? i guessed for the title. sorry smile.gif
Go to the top of the page
+Quote Post
rvalkass
no avatar
apt-get moo
****************
Group: [MODERATOR]
Posts: 2,719
Joined: 28-May 05
From: Devon, England
Member No.: 7,593
Spam Patrol
myCENT:71.50



Post #2 post Jul 3 2009, 02:56 PM
What you're talking about is known as an include - taking the contents of one page/file and displaying them within another.

This can be accomplished in HTML with the following code:
HTML
<!--#include virtual="file.html" -->


You will then need to rename the original page with the extension .shtml for the include to work. Hope that helps.
Go to the top of the page
+Quote Post
truefusion
no avatar
Do you want to know?
****************
Group: [MODERATOR]
Posts: 2,680
Joined: 22-June 05
From: 127.0.0.1 — no place like it.
Member No.: 8,528
myCENT:47.40



Post #3 post Jul 3 2009, 05:43 PM
If you're going to be placing this code in an HTML page and your HTML pages can parse PHP, then you can use the include function of PHP. Another way is to use AJAX. The only downside to AJAX is that it requires the user to have JavaScript enabled on their browser. But with AJAX you can have that little part of the site update without leaving or refreshing the page. Server-side includes require refreshing or entering a page with it to update the content.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 illnet 6,158 20th June 2004 - 04:50 PM
Last post by: ultrasmad
No new   108 chelcy 83,271 18th September 2009 - 09:07 PM
Last post by: domguan
No New Posts   3 -Sky- 631 12th June 2009 - 08:48 PM
Last post by: -Sky-
No new 40 EricDrinkard 39,556 1st November 2009 - 01:34 PM
Last post by: Www.AnthonyLazaroni.Com
No New Posts   3 Shackman 3,129 30th July 2004 - 11:01 AM
Last post by: Shackman
No New Posts   11 football123213 8,611 30th July 2004 - 03:34 PM
Last post by: templest
No new   125 djleli 40,365 5th November 2009 - 10:02 AM
Last post by: Ho-oh'sRealm
No New Posts   10 Saint_Michael 8,896 7th May 2009 - 07:13 AM
Last post by: contactskn
No New Posts   2 CodeName_88 3,472 5th September 2004 - 03:28 PM
Last post by: serverph
No new   54 habbovalley 3,845 5th November 2009 - 09:59 AM
Last post by: Ho-oh'sRealm
No New Posts   0 deedee2003 3,721 5th September 2004 - 09:11 PM
Last post by: deedee2003
No New Posts   9 Liquid Fire 3,817 18th September 2009 - 09:17 PM
Last post by: domguan
No New Posts 12 Saint_Michael 6,945 18th December 2004 - 05:28 AM
Last post by: s243a
No New Posts   1 JaVe 3,098 6th October 2004 - 05:38 AM
Last post by: sanweikui
No New Posts   1 hansley 7,676 11th October 2004 - 03:54 AM
Last post by: Trystim


 



RSS Open Discussion Time is now: 9th November 2009 - 04:06 PM

Web Hosting Powered by ComputingHost.com.