I need an HTML code that will show first 2 posts from certain forum in my anouncment bar (the one on top of the index). How can I achieve this?
5 posters
Code for showing post
Empire_1- Active Poster
- Posts : 1391
Reputation : 125
Language : English, Spanish, Mandarin, C++
Location : Summoner's Rift
- Post n°2
Re: Code for showing post
HTML code? In the Announcements bar? Correct me if I'm wrong, but I think you need Javascript to do this, not HTML.
marc.zenny- New Member
- Posts : 21
Reputation : 0
Language : English
- Post n°3
Re: Code for showing post
Well, I'm completely newb when it comes to this. It's not like recent posts. It's just this post, that will change a lot, and I want everyone to see. It's sort of scoreboard.
idinafig- Forumember
- Posts : 26
Reputation : 5
Language : English, Russian, Css, Html, Gml, Lisp, AS..... :)
- Post n°4
Re: Code for showing post
You can update your announcement bar by yourself or you can put an iframe - it'll look like one page is placed into another.
Could you give me your forum's link?
Could you give me your forum's link?
marc.zenny- New Member
- Posts : 21
Reputation : 0
Language : English
- Post n°6
Re: Code for showing post
bump
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
- Post n°7
Re: Code for showing post
thats what i would suggest, iframe..
and then just put it in the top or bottom center widget.
create a custom widget and place it their.
and then just put it in the top or bottom center widget.
create a custom widget and place it their.
marc.zenny- New Member
- Posts : 21
Reputation : 0
Language : English
- Post n°8
Re: Code for showing post
As I said, I'm newbie to all this. How does Iframe work?
idinafig- Forumember
- Posts : 26
Reputation : 5
Language : English, Russian, Css, Html, Gml, Lisp, AS..... :)
- Post n°9
Re: Code for showing post
it's a page into another page.
Create a widget in adminpanel - modules - widgets or something.
Place this code (or into your greeting):
Create a widget in adminpanel - modules - widgets or something.
Place this code (or into your greeting):
<iframe src="shown page's address" width="100%" height="height">Sorry, but your browser doesn't support iframes.
marc.zenny- New Member
- Posts : 21
Reputation : 0
Language : English
- Post n°10
Re: Code for showing post
And is it possible to define which part of page will be displayed using some "properties"? I understand it's framed and can be scrolled, but I would like specific post displayed at once.
marc.zenny- New Member
- Posts : 21
Reputation : 0
Language : English
- Post n°11
Re: Code for showing post
Figured it out using DIV tag and iframes. Solved.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
- Post n°12
Re: Code for showing post
Solved > Locked