Re: [WSG] A discussion leads to an idea - Dynamic CSS!

2004-04-24 Thread Justin French
On 23/04/2004, at 7:20 PM, theGrafixGuy wrote:

I met with a programmer today to actually discuss the idea of a 
Portland,
Oregon based WSG - he likes the idea and will talk to others about the 
idea.

However, during our ongoing 3 hour conversation over a few pints, the
discussion eventually moved from WSG to web design and then to 
experimental
design.

Then an interesting idea hit the table, what is to prevent a person 
from
creating a dynamic stylesheet.

Has anyone ever toyed with this idea before and if so what were the
results???
It depends on your definition of dynamic... I've built PHP-driven 
stylesheets to serve a stylesheet customised to the browser or user, 
but I was concerned about the caching which:

- if it cached, wouldn't be dynamic
- if it didn't cache, would cost bandwidth and performance
It enabled me to do really simple stuff, like store my colour pallet in 
PHP variables, allowing for hassle free redesigns and tweaking (body { 
background-color: ?=$col1?; ? for example).  And more complicated 
stuff like testing for certain user-agent strings for tweaking, or even 
user-preference based style-sheets and style-sheets to reflect the time 
of day, or the weather, or whatever else... the guts of the problem 
(which I haven't properly investigated) was caching...

I think a more realistic option would be using PHP to dynamically 
*link* to an appropriate STATIC style-sheet (eg ie6.css, or 
nighttime.css or winter.css), which would still allow full caching by 
the browser.

Now, since I just had my wisdom teeth out last night, I should go back 
to the couch :)

---
Justin French
http://indent.com.au
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



[WSG] Trying to add a back to top link

2004-04-24 Thread theGrafixGuy
Hello,

I am trying to add a back to top of page link to PHP dynamically generated
pages. The header and footers for these page never change so the anchor is
in the header and the link in the footer.

Header Anchor:

a name=top/a

HARD CODE link used in the body of the static pages (which I want to pull
out to place in the footer!)

a href=index.php?main_page=index#top title=Back to Topimg
src=images/button_top.gif alt=Back to top width=86 height=20
border=0 class=rollover //a

Now my PHP skills are weak but growing stronger, which is why I am asking
for the help here. As the pages are long in many cases (requiring two or
more page-downs), I desperately want to improve accessibility by including
the back to top link on all pages.

So what I want to make happen is to is have the a href= tag
index.php?main_page=index (or whatever page this happens to be on) filled in
by the php and then add the #top at the end so that is it all autonomous and
I can put this on ANY and all pages)

While I have it working in some pages as a hard coded link, I can't figure
out what to place where in regards to the PHP. I am trying
basename($PHP_SELF) but am lost now as I am over my head here.

Thanks

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] A discussion leads to an idea - Dynamic CSS!

2004-04-24 Thread Lachlan Hardy
  Then an interesting idea hit the table, what is to prevent a person
  from
  creating a dynamic stylesheet.
 
  Has anyone ever toyed with this idea before and if so what were the
  results???


I use code to rewrite my CSS. That way a site admin can choose a different
option for layout or colours or whatever. The code rewrites the relevant CSS
file(s) and the site changes as per the admin's intent.

Whilst it is a limited system, the benefits are good and it doesn't have any
of the downsides that others have mentioned so far.

Works well for me!

Cheers,
Lachlan Hardy

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Trying to add a back to top link

2004-04-24 Thread Ben Bishop
Have you considered using a href=#top.../a ?

--Ben
http://www.daemon.com.au/
theGrafixGuy wrote:

I am trying to add a back to top of page link to PHP dynamically generated
pages. The header and footers for these page never change so the anchor is
in the header and the link in the footer.
a href=index.php?main_page=index#top title=Back to Topimg
src=images/button_top.gif alt=Back to top width=86 height=20
border=0 class=rollover //a
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Trying to add a back to top link

2004-04-24 Thread theGrafixGuy
Yes and that goes back to the root index page - as mentioned these pages are
dynamic!

Brian

-Original Message-
From: Ben Bishop [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 24, 2004 2:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Trying to add a back to top link

Have you considered using a href=#top.../a ?

--Ben
http://www.daemon.com.au/


theGrafixGuy wrote:

I am trying to add a back to top of page link to PHP dynamically generated
pages. The header and footers for these page never change so the anchor is
in the header and the link in the footer.

a href=index.php?main_page=index#top title=Back to Topimg
src=images/button_top.gif alt=Back to top width=86 height=20
border=0 class=rollover //a

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Trying to add a back to top link

2004-04-24 Thread Anders Ebdrup
Hi Brian

I think this subject is OT, but I think Ben is right; I have a dynamic
php-side, and I am using Ben's solution.

Regards
Anders

- Original Message - 
From: theGrafixGuy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 24, 2004 1:03 PM
Subject: RE: [WSG] Trying to add a back to top link


 Yes and that goes back to the root index page - as mentioned these pages
are
 dynamic!

 Brian

 -Original Message-
 From: Ben Bishop [mailto:[EMAIL PROTECTED]
 Sent: Saturday, April 24, 2004 2:50 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [WSG] Trying to add a back to top link

 Have you considered using a href=#top.../a ?

 --Ben
 http://www.daemon.com.au/


 theGrafixGuy wrote:

 I am trying to add a back to top of page link to PHP dynamically
generated
 pages. The header and footers for these page never change so the anchor
is
 in the header and the link in the footer.
 
 a href=index.php?main_page=index#top title=Back to Topimg
 src=images/button_top.gif alt=Back to top width=86 height=20
 border=0 class=rollover //a
 
 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *



 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *


*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Trying to add a back to top link

2004-04-24 Thread theGrafixGuy
I think I have the right track here if I can figure out how to write it??? I
know that one can't stick php in a tag like that:-/

a href=? $_SERVER['PHP_SELF'] ?#top

-Original Message-
From: Anders Ebdrup [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 24, 2004 4:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Trying to add a back to top link

Hi Brian

I think this subject is OT, but I think Ben is right; I have a dynamic
php-side, and I am using Ben's solution.

Regards
Anders

- Original Message - 
From: theGrafixGuy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 24, 2004 1:03 PM
Subject: RE: [WSG] Trying to add a back to top link


 Yes and that goes back to the root index page - as mentioned these pages
are
 dynamic!

 Brian

 -Original Message-
 From: Ben Bishop [mailto:[EMAIL PROTECTED]
 Sent: Saturday, April 24, 2004 2:50 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [WSG] Trying to add a back to top link

 Have you considered using a href=#top.../a ?

 --Ben
 http://www.daemon.com.au/


 theGrafixGuy wrote:

 I am trying to add a back to top of page link to PHP dynamically
generated
 pages. The header and footers for these page never change so the anchor
is
 in the header and the link in the footer.
 
 a href=index.php?main_page=index#top title=Back to Topimg
 src=images/button_top.gif alt=Back to top width=86 height=20
 border=0 class=rollover //a
 
 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *



 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *


*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Trying to add a back to top link

2004-04-24 Thread Lea de Groot
On Sat, 24 Apr 2004 04:03:41 -0700, theGrafixGuy wrote:
 Yes and that goes back to the root index page - as mentioned these pages are
 dynamic!

(This is really OT, but it should be quick and easy -)
Have you put a base statement in your HTML?
That'll point the #... to the wrong page. 

If you really want to specify the current page, have you tried 
$_SERVER['REQUEST_URI'] ?

Lea
-- 
Lea de Groot
Elysian Systems - http://elysiansystems.com/
Brisbane, Australia
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Trying to add a back to top link

2004-04-24 Thread Manuel González Noriega
El sáb, 24-04-2004 a las 13:41, theGrafixGuy escribió:
 I think I have the right track here if I can figure out how to write it??? I
 know that one can't stick php in a tag like that:-/
 
 a href=? $_SERVER['PHP_SELF'] ?#top

Yes, you can. You are only lacking the echo part
a href=? echo $_SERVER['PHP_SELF'] ?#top

or the shortcut notation

a href=?=$_SERVER['PHP_SELF'] ?#top
-- 
Manuel González Noriega
Simplelógica, construcción web  
URL: http://simplelogica.net
EMAIL: [EMAIL PROTECTED]
TELEFONO: (+34) 985 22 12 65
   
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/
/pThat's right. We said Frontpage./p

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*



Re: [WSG] Trying to add... THREAD CLOSED

2004-04-24 Thread russ - maxdesign

THIS THREAD IS CLOSED - OFFTOPIC

The mail list does not cover:
Discussion of server-side scripting beyond that directly involved with Web
Standards
http://webstandardsgroup.org/mail/guidelines.cfm

If you wish to help further, answer Brian (therGaphixGuy) offlist.

Thanks
Russ

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Trying to add a back to top link

2004-04-24 Thread theGrafixGuy
Yes there is a base statement built in to the system.

And sorry if it is OT, as I am trying very hard to add accessibility in
steps as I can, but I am really stuck here and grasping at straws

Essentially, I am trying to figure out how to wrap the URL the PHP or vice
versa - as this ain't working casue it ain't written right ;-/

 a href=? $_SERVER['PHP_SELF'] ?#top

Brian

-Original Message-
From: Lea de Groot [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 24, 2004 4:46 AM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] Trying to add a back to top link

On Sat, 24 Apr 2004 04:03:41 -0700, theGrafixGuy wrote:
 Yes and that goes back to the root index page - as mentioned these pages
are
 dynamic!

(This is really OT, but it should be quick and easy -)
Have you put a base statement in your HTML?
That'll point the #... to the wrong page. 

If you really want to specify the current page, have you tried 
$_SERVER['REQUEST_URI'] ?

Lea
-- 
Lea de Groot
Elysian Systems - http://elysiansystems.com/
Brisbane, Australia
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Trying to add a back to top link

2004-04-24 Thread Chris Bentley

Have you considered using a href=#top.../a ?
Yes and that goes back to the root index page - as mentioned these 
pages are
dynamic!
Are you using the BASE element?
 #top is a reference to a local fragment,  the page shouldn't reload 
or load another page unless you have set a base URI.

...or am I missing something?

chris

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] marquee text

2004-04-24 Thread ByteDreams










Dont know if this will help you  Im new
to web standards stuff, but Project VII makes extensions for Dreamweaver, and
one of them animates layers. I think the extension is free. What I dont know
is if the _javascript_, for which this extension produces is also considered
accessible or within web standards



The extension can be found on Macromedia
Exchange site.








RE: [WSG] MovableType books or tutorials

2004-04-24 Thread ByteDreams
Movabletype.org has links to tutorials and a link to a webring about it...

ByteDreams

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Clarke
Sent: Friday, April 23, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: [WSG] MovableType books or tutorials

Comrades

Can anyone point me in the direction of decent MT reference material?
Tutorials, tips etc.

I'm just playing with the application for the first time, looks like I'm in
for a few late nights...

Malarkey

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re:[WSG] MovableType books or tutorials

2004-04-24 Thread Andy King
I've found http://www.mediatinker.com/blog/archives/007806.html to be a
helpful tutorial on figuring out what is what with the default MT
Templates, graphically.
ByteDreams [EMAIL PROTECTED] wrote:
Movabletype.org has links to tutorials and a link to a webring about
it...
ByteDreams

-Original Message- From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Clarke Sent:
Friday, April 23, 2004 1:19 PM To: [EMAIL PROTECTED] Subject:
[WSG] MovableType books or tutorials
Comrades

Can anyone point me in the direction of decent MT reference material?
 Tutorials, tips etc.
I'm just playing with the application for the first time, looks like
I'm in for a few late nights...
Malarkey

* The discussion
list for http://webstandardsgroup.org/ See
http://webstandardsgroup.org/mail/guidelines.cfm for some hints on
posting to the list  getting help 
*

* The discussion
list for http://webstandardsgroup.org/ See
http://webstandardsgroup.org/mail/guidelines.cfm for some hints on
posting to the list  getting help 
*




--
Andy King
Eggs create chickens so there can be more eggs.
http://normlife.com/
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



[WSG] Some light reading...

2004-04-24 Thread russ - maxdesign
Fear of web standards
...caused by fear of the unknown, and the feeling of not having enough time
and energy to spend on relearning how to do your job
http://www.456bereastreet.com/archive/200404/fear_of_web_standards/

CSS Drop shadows 2
http://www.alistapart.com/articles/cssdrop2/

Stylin' forms:
http://meryl.net/informit/

SimpleQuiz ð Part XV: Numbered List Pairs
http://www.simplebits.com/archives/2004/04/20/sq.html

Lift and separate
... have you ever changed the look of a (commercial) site without touching
the HTML?
http://www.themaninblue.com/writing/perspective/2004/04/15/

Selling usability by design
http://www.7nights.com/asterisk/archives/selling_usability_by_design.php

SEO and Web Accessibility
http://www.bigmouthmedia.com/search_engine_information/optimisation_accessil
ility/
Mark Stanton's comments on this SEO article:
Does he have anything decent to say in the article? Yes - lots of good
stuff  the overall message is one more reason to support standards, which
is cool with me. Is the main thrust of the article correct? Not really. I
think he is stretching the point a little bit  using a bit of positive
thinking to demonstrate a relationship that doesn't actually exist.

Read for yourself and decide...

Russ

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*