Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to place that?

Asked Modified Viewed 2,212 times
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi everyone. Do you know where to get and how to place the advert like that? : http://wasclan.tk/ . In the bottom of the site it slides together with slider.
0 replies

13 posts

A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Quote

artasas wrote:
Hi everyone. Do you know where to get and how to place the advert like that? : http://wasclan.tk/ . In the bottom of the site it slides together with slider.


Dude,

This is nowhere related to PHP Fusion !

So, I am not going to Help you Totally but can Give you a Hint for that !

Just create an Element on the Page and Put the Ad Image in it. And apply the CSS Property to it as :
[syntaxhighlighter brush=css,first-line=1,highlight=0,collapse=false,html-script=false]position: fixed;[/syntaxhighlighter]

This will make the Element, i.e the Ad stable on the page and will move with the browser !
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Where to add that element?
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Quote

artasas wrote:
Where to add that element?


In the HTML Source of the Main Page !
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

In index.php?
But there is only two lines:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once "maincore.php";

redirect($settings['opening_page']);
?>[/syntaxhighlighter]
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Quote

artasas wrote:
In index.php?
But there is only two lines:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once "maincore.php";

redirect($settings['opening_page']);
?>[/syntaxhighlighter]


Oh ! So you want to implement it in Fusion ! I thought that you want it for phpBB ! LOL me pfft

Anyways, open themes/templates/header.php and Search for :

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "</head>\n<body>\n";[/syntaxhighlighter]

After This Line, add the given Line :

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "<div style='width: 200px; height: 100px; background: #4d4d4d; position: fixed; margin-top: 80%; margin-left: 50%;'></div>\n";[/syntaxhighlighter]

This is the example of a Division ! Adjust the properties in the given Code for width, height, background, margin-top, margin-left (in % only) according to your website !
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

I don't see any changes..

Thanks, now i see it :DD

PolarFox:
use edit button , Luke!
http://www.php-fusion.co.uk/coc.php#12x
Edited by PolarFox on 15-02-2011 16:55,
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Hi again. I want to insert advert code in that place to be in the center, bottom of the page.

Code: <DIV align="center"><script charset="utf-8" src="http://www.exclusive.lt/show.php?id=455"></script><a href="http://www.exclusive.lt"><small>Exclusive.LT - interneto reklamos tinklas</small></a></DIV>

But it's not showing. Size of the advert image is 120x60 pixels.
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

set margin-left in between 25% to 30% for that !
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Can you write me whole code that i need to insert? because dreamweaver shows me syntax error.
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Please help me, i can't insert this advert :(
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

In a panel paste this...

echo" <div style='text-align: center;'><script charset='utf-8' src='http://www.exclusive.lt/show.php?id=455'></script><a href='http://www.exclusive.lt'><small>Exclusive.LT - interneto reklamos tinklas</small></a></div>";


Enable as lower center panel on all pages.
0 replies
A
artasas
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

And finally i need images to show in horizontal way, not vertical. How to do that?

I found how, i need to change 'center' to 'inline-block'. Thanks for help.
Edited by artasas on 16-02-2011 18:41,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Em show me an example what you mean? Let me see what you got now so I can understand?
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 13 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
A
A
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet