Edoropolis Emporium
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2010, 04:29:54 pm

Login with username, password and session length
Search:     Advanced search
10/24/06: Newest Torrent Release By Tsuneko
SPC 11-15 Batch Get it here!
39841 Posts in 1567 Topics by 1218 Members
Latest Member: Cynac4
* Home Help Search Calendar Login Register
+  Edoropolis Emporium
|-+  Samurai Pizza Cats
| |-+  Edoropolis.org Hosting Support Board
| | |-+  Common Sidebars.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Common Sidebars.  (Read 2936 times)
Harmonex
Under bad influence.
Nyanki
***
Offline Offline

Gender: Male
Posts: 1359


I see you judging me.

448005966 harmonex@live.com Master+Harmonex master_harmonex
View Profile WWW Email
« on: December 19, 2009, 02:05:47 pm »

Because we don't have a section for website management...

I want to make a sidebar for my site, BUT I don't want to have to go to every single page to edit it when I add a new page or just want to change the way the sidebar looks.  I figured it would work in a .css document, but I can't figure out how to put it in there (I don't know how to get text or links in a .css to display on the main page).  Maybe I'll need a javascript.

Googling hasn't turned up anything, but maybe I just don't know what terms to search.  Does anyone have any kind of experience with this?
Logged

I want to take a walk along a still lake under the pale moonlight.
Teyandee
KNT/SPC Wikia Author
Nyanki
***
Offline Offline

Gender: Male
Posts: 412



View Profile WWW
« Reply #1 on: December 19, 2009, 02:31:27 pm »

Look at this: http://css-tricks.com/scrollfollow-sidebar/
But still, you have to edit every html file for them to begin using CSS. Easiest way is to put
Code:
<link REL="StyleSheet" HREF="file.css" TYPE="text/css">
in each file and define all parameters in the css file..
Also a DIV container with the links has to be inserted in HTML files.
Logged

28th March 2010

KNT Wikia Update
Details
Harmonex
Under bad influence.
Nyanki
***
Offline Offline

Gender: Male
Posts: 1359


I see you judging me.

448005966 harmonex@live.com Master+Harmonex master_harmonex
View Profile WWW Email
« Reply #2 on: December 19, 2009, 02:45:36 pm »

I already keep the parameters in a .css, it's just the links I'm worried about.  I plan to expand my site in the future, and the less individual editing needed the better.
Logged

I want to take a walk along a still lake under the pale moonlight.
Teyandee
KNT/SPC Wikia Author
Nyanki
***
Offline Offline

Gender: Male
Posts: 412



View Profile WWW
« Reply #3 on: December 19, 2009, 06:49:53 pm »

Then, perhaps, SSI would help. SSI=Server Side Includes

I don`t know much about, but it should work like this:

Pages will have floating DIV container. Inside DIV, you wil have
Code:
<!--#include virtual="menu.html" -->
where menu.html = menu file with links to other pages. If you change the menu.html it should automatically shown into a DIV when the pages is opened.

Notes:
Server (EE) must have SSI support. Contact Purrcat and ask for inclusion support enabling.
Logged

28th March 2010

KNT Wikia Update
Details
Harmonex
Under bad influence.
Nyanki
***
Offline Offline

Gender: Male
Posts: 1359


I see you judging me.

448005966 harmonex@live.com Master+Harmonex master_harmonex
View Profile WWW Email
« Reply #4 on: December 23, 2009, 05:52:43 pm »

Don't worry, I figured out how to do it with PHP.
Logged

I want to take a walk along a still lake under the pale moonlight.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!