se7enet purgatorio

Page 2 of 3 <123>
Topic Options
Rate This Topic
#17801 - 07/09/08 11:22 PM Re: body background in the middle panel [Re: AnmanIndustries]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Evilman you can't say it's not possible. Everything is possible with programming. You have over 30 programming languages out there, which almost all can be used with another one. Just because it doesn't work the first few times doesn't mean it is impossible.

Edit: except trying to format a <br> tag into a table. Some idiot wanted to use break as a leading table tag or some crap. That is what you call WTF


Edited by masterofollies (07/09/08 11:25 PM)
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17811 - 07/12/08 09:22 AM Re: body background in the middle panel [Re: Fayt]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
Oh, this is easy.

In /templates/primary.php, change
 Code:
      <div style="width: 475px; height: 405px; overflow: auto;">
      <div class="big"><b>{{pagetitle}}</b></div>
      {{content}}
      </div>

to
 Code:
      <div id="maincontent" style="width: 475px; height: 405px; overflow: auto;">
      <div class="big"><b>{{pagetitle}}</b></div>
      {{content}}
      </div>


Then, in any template where you want to use a custom background, add to the top of the template:
 Code:
<style type="text/css">
#maincontent { background-image: url(blah/blah.gif); }
</style>
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
#17814 - 07/12/08 04:09 PM Re: body background in the middle panel [Re: Jamin]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Exactly what I was trying to say, make a unique css tag and call on it for the page. But Jamin took the time to write the code. *high five*
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17818 - 07/13/08 11:43 PM Re: body background in the middle panel [Re: Fayt]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Hangon. Will that actually work? Can you specify CSS in the middle of a page?
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17821 - 07/14/08 08:46 AM Re: body background in the middle panel [Re: AnmanIndustries]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Yes
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17822 - 07/14/08 11:01 AM Re: body background in the middle panel [Re: Fayt]
Dragonking
Grape Nuts


Registered: 12/09/06
Posts: 39

Offline
And how do you change the colour of the copyright bar? I want a blue layout with white links. The current copyright bar it white too, so you can't see the links, and that is the same as removing them, I think. It isn't in templates/primary.php, is it? It has to be in lib.php. So is there a way to change the colour of the copyright bar? I don't want to be illegal.


Sorry if this is in the wrong topic, I thaught it is related so oppening a second topic is "spamming" the forums.

Top
#17823 - 07/14/08 11:33 AM Re: body background in the middle panel [Re: Dragonking]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
I don't know how it works in DS, but in DK it's im a template file. Just change the RGB code.
Top
#17824 - 07/14/08 12:34 PM Re: body background in the middle panel [Re: Fayt]
Dragonking
Grape Nuts


Registered: 12/09/06
Posts: 39

Offline
I think the copyright bar is handled in lib.php and that file is encrypted. All other panels are handled by the panels file and panels tamplate, but to prevent copyright removers... Yeah, that's why I think you can't change the colours of the copyright bar. Unless Jamin or Anman knows a way to change the colour. =/
Top
#17825 - 07/14/08 04:04 PM Re: body background in the middle panel [Re: Dragonking]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Ha good job Jamin on the encryption you out done yourself this time. This will stop violators to a point.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17827 - 07/14/08 09:55 PM Re: body background in the middle panel [Re: Fayt]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
You cant change the colour. But hold on, Im going to ask Jamin something about that.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17846 - 07/22/08 04:00 PM Re: body background in the middle panel [Re: Dragonking]
Whiz
Cheerios


Registered: 10/28/07
Posts: 129

Offline
 Originally Posted By: Dragonking
And how do you change the colour of the copyright bar?


You change this by going into the CSS and adapting the color of the TD property. Then, so that the copyright bar is unique, you have to go and assign a different value to every other table used. The copyright bar is hard-coded to use the TD value in the CSS file. You cannot point it at another value. You can point every other table at other values, though.

It's time consuming, but possible.
_________________________
View my mod "index" at

http://timedg.freehostia.com/forum/download.php

Visit my writing workshop site at http://slushpile.freehostia.com

Top
#17847 - 07/22/08 06:25 PM Re: body background in the middle panel [Re: Whiz]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
If you change the primary TD tag in the CSS it will change it that color for every single TD table tag there is.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17850 - 07/23/08 07:06 AM Re: body background in the middle panel [Re: Fayt]
Whiz
Cheerios


Registered: 10/28/07
Posts: 129

Offline
 Originally Posted By: masterofollies
If you change the primary TD tag in the CSS it will change it that color for every single TD table tag there is.


Right. That's what I said, had you taken the time to read my post. I then said that, because all tables are then changed, to make your copyright unique, you need to point the rest of your tables at OTHER CSS classes.

Example:
css/primary.css

 PHP:
td { vertical-align: top; background-color: #dddddd; } td2 { vertical-align: top; background-color: #ffffff; }


Then you just go through and add 'class="TD2"' to all the TD tags you don't want to be #dddddd.
_________________________
View my mod "index" at

http://timedg.freehostia.com/forum/download.php

Visit my writing workshop site at http://slushpile.freehostia.com

Top
#17851 - 07/23/08 07:30 AM Re: body background in the middle panel [Re: Whiz]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
I only read the important parts. But naming it td2 is infact correct, which is what I said in an earlier post.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#17865 - 08/02/08 07:26 PM Re: body background in the middle panel [Re: Evilman]
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
Sorry for my late reply back to this thread. I moved so I was without an internet access for 3 weeks \:\(

Thanks to everyone who helped reply to this thread. I did exactly as Jamin posted and the background worked like a charm. Thanks Jamin \:D

One question though, the background image appears dispoportionate partly because of the image size and also the middle frame is relatively small, is there a command I could use that I can force it to shink the image so the whole background image fits nicely in that small middle frame \:\/



Edited by Evilman (08/02/08 07:30 PM)

Top
Page 2 of 3 <123>


Hop to:

se7enet

Barack Obama Logo