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

2004-04-26 Thread Jake Badger
I think it's something like echo a href=\$_SERVER['PHP_SELF'].$_SERVER [QUERY_STRING].#top\top/a; but that's off the top of my head (as we don't have an SQL enviroment at work for me to test it with). Jake Hello, I am trying to add a back to top of page link to PHP dynamically generated

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

2004-04-26 Thread Jake Badger
whoops, still haven't been able to test it, but I see I'm, missing a dot, so it should be: echo a href=\.$_SERVER['PHP_SELF'].$_SERVER [QUERY_STRING].#top\top/a; I think it's something like echo a href=\$_SERVER['PHP_SELF'].$_SERVER [QUERY_STRING].#top\top/a; but that's off the top of

[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

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

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

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

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

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

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

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

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