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.

Change the code to Adjust to Browser

View previous topic View next topic Go down

Change the code to Adjust to Browser

Post by cougar30 on March 7th 2011, 11:46 pm

Hi all,

I have this code.

</style><div style="position:absolute; Top: 271%; left: 14px;">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/Nine-Elms-Dedication-Forum/174359172589342" show_faces="true" width="200"></fb:like></div><script type=text/javascript></script>

Please can someone advise how i adjust the code to adjust to anyone's Forum Height/Width or even Browser? It is fine on mine as I adjust the 'Top' to what I want.

But with my Laptop it appears half way up the forum page.

Many Thanks

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 10th 2011, 11:35 am

Hi all,

Has anyone any ideas to what the code should be changed to please? I'd like it to show inline with the 'Administration Panel' option to the left hand side at the bottom of the forum.

Many thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by kirk on March 11th 2011, 12:37 am

where do you have this code, and can you provide screen shots.
or link so i can check with different browsers.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

How to train your dragon mobile version?

Post by angeoand on March 11th 2011, 7:11 am

I am in love with the article,it is so excellent~~
I love the style~~Hope author will get more attention~~
Links Removed

angeoand
New Member

Posts : 5
Reputation : 0
Language : englishi

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 11th 2011, 9:34 am

@kirk wrote:where do you have this code, and can you provide screen shots.
or link so i can check with different browsers.

The code is in ACP > Display > Generalities and in the HTML part. This is the code; <style type="text/css">
img {
border:none;
}
</style><div style="position:absolute; Top: 281%; left: 14px;">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/Nine-Elms-Dedication-Forum/174359172589342" show_faces="true" width="200"></fb:like></div><script type=text/javascript></script>

At the bottom of the page it produces the like button. But the issue is that I would like it to remain inline to the left of the Administation Panel regardless of what Browser and Screen Resolution size you have.

Many Thanks

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 16th 2011, 5:03 pm

Hi all,

Is there a piece of code I can use from my previous posts please?

Many thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 22nd 2011, 11:49 am

Any ideas?

Thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 28th 2011, 7:17 pm

Hi Kirk,

Have you had a chance to look at the code?

Many Thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 29th 2011, 12:17 pm

The code is in ACP > Display > Generalities and in the HTML part. This is the code; <style type="text/css">
img {
border:none;
}
</style><div style="position:absolute; Top: 281%; left: 14px;">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/Nine-Elms-Dedication-Forum/174359172589342" show_faces="true" width="200"></fb:like></div><script type=text/javascript></script>

This puts the Facebook Like button at the bottom. But whatever pixel/screen size you use, it puts it a different points on the page. What I need it to do instead is just keep it held beside the Administration Panel without taking into account the above.

I hope this explains things clearly?

Many Thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 31st 2011, 2:46 pm

Rideem3 wrote:Try putting it in your overall_footer located in your template management, under general.

Not sure where you mean? I've had a look in ACP and can't seem to find it. Please can you help point me in the right direction?

Many Thanks.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by Base on March 31st 2011, 8:10 pm

Hi, your templates will only display if you are the founder. It should be under the Display Tab and the templates should be at the bottom. Wink

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 31st 2011, 8:30 pm

I am the founder. This is what I get;

Templates administrationIn this page, you can modify templates and change your forum look.
Modified templates are written in red.
To use the default template again, delete your template by clicking on delete.

Only templates of phpbb2 or PunBB versions will be affected.


cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by Base on March 31st 2011, 8:31 pm

Ah right, your forum version is phpBB 3 and therefore you can't edit templates. :/


Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on March 31st 2011, 8:40 pm

Is there any way around this? I don't want to convert it as I like the style of it.

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on April 14th 2011, 2:43 pm

Hi is there anyway around this with PHPBB3?

Many Thanks

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

Back to top Go down

Re: Change the code to Adjust to Browser

Post by cougar30 on April 16th 2011, 8:34 pm

Is this something that might be incorporated into PHPBB3? Ir maybe I can add some HTML elsewhere or some different HTML coding?

cougar30
Forumember

Male Posts : 244
Reputation : 1
Language : English

http://nineelms.freeforum.me.uk/forum

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