This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > June 2007 > OT - Ping Suz
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
|
|
| Spandex Rutabaga <SpRu@agabatur.xednaps> wrote in news:466FFFAE.42D056E7
@agabatur.xednaps:
> While trying to find a link for Joske I encountered a problem
> with the HTML on your site. I started with the PSP X tips and
> tricks index:
> http://users.adelphia.net/~suzshook...ndexanchors.htm
>
> Then I clicked the link to tip or trick 195 (text consistency),
> which took me here:
> http://users.adelphia.net/~suzshook...s181200.htm#195
>
> This actually left me at the top of this page and not at the
> anchor for tip 195, as if I had used the link:
> http://users.adelphia.net/~suzshook/10tips181200.htm
>
> The reason for this is that the page source shows the anchor
> for tip 195 to be <a name=#195> and not <a name=195> so that
> the anchor as it exists actually has to be referenced as:
> http://users.adelphia.net/~suzshook...181200.htm##195
> (Note the doubled # sign.)
>
> This is not a problem with IE, which seems to ignore the extra
> # sign. In IE the following two links give the identical result:
> http://users.adelphia.net/~suzshook...s181200.htm#195
> http://users.adelphia.net/~suzshook...181200.htm##195
> However this isn't true of other browsers.
>
> I haven't checked the rest of the site but other anchors in the
> 10tips181200.htm file have anchor names with a leading # sign
> so I suspect this is consistent across the site or parts of it.
> Since you've managed to come up with so many good tips it might
> be a good idea to clean this up some time to improve the access
> to the tips. Probably the importance is relatively minor because
> most people access the site with IE, but still .... :)
Having seen what you posted about the v.X Tips and Tricks I took a quick
peek at the v.XI Tips and Tricks and it has the same issue. Simple
enough to fix, however, with a quick Search/Replace All (or equivalent
in whatever editor is being used) of "name=#" with "name=" (without the
quotes, of course).
Regards,
JoeB
| |
|
|
"JoeB" <mymail@myserver.com> wrote in message
news:Xns994E7386D28EFJoeB@207.107.16.194...
> Spandex Rutabaga <SpRu@agabatur.xednaps> wrote in news:466FFFAE.42D056E7
> @agabatur.xednaps:
>
>
> Having seen what you posted about the v.X Tips and Tricks I took a quick
> peek at the v.XI Tips and Tricks and it has the same issue. Simple
> enough to fix, however, with a quick Search/Replace All (or equivalent
> in whatever editor is being used) of "name=#" with "name=" (without the
> quotes, of course).
>
> Regards,
>
> JoeB
Ha oh yes. I had to change all examples of IT to Information Technology
as the last step in a web design exam. I was so chuffed to have finished
with over a hour to spear till I noticed "With " was now Winformation
Technologyh" and so for any word with it in it.
| |
|
| "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in
news:466ee281$1_3@cnews:
>
> "JoeB" <mymail@myserver.com> wrote in message
> news:Xns994E7386D28EFJoeB@207.107.16.194...
>
> Ha oh yes. I had to change all examples of IT to Information
> Technology
> as the last step in a web design exam. I was so chuffed to have
> finished with over a hour to spear till I noticed "With " was now
> Winformation Technologyh" and so for any word with it in it.
>
Yes, you do have to be careful with global search and replace. In Suz'
case there will be no other instances of name=# except those in the
anchors so there won't be a problem. In your example the chances of IT
being used as adjacent upper case letters in any context except as a
short form for Information Technology would likely have been slim. In
that case I would have selected the space before IT, IT itself, and the
space after IT, and replaced with Information Technology, also with a
space placed before and after, and selected the Case Sensitive option
before applying the replace.
I admit I've been caught in the past when not careful, and I always
check the Create Backup option when I do this using Homesite so I have a
backup of the original html file in case I mess up :-)
Regards,
JoeB
| |
|
|
"JoeB" <mymail@myserver.com> wrote in message
news:Xns994E81D375B9FJoeB@207.107.16.194...[color=darkred]
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in
> news:466ee281$1_3@cnews:
>
I just forgot to insist on upper case only
| |
| SuzShook 2007-06-13, 6:25 pm |
| Spandex Rutabaga wrote:
> While trying to find a link for Joske I encountered a problem
> with the HTML on your site. I started with the PSP X tips and
> tricks index:
> http://users.adelphia.net/~suzshook...ndexanchors.htm
>
> Then I clicked the link to tip or trick 195 (text consistency),
> which took me here:
> http://users.adelphia.net/~suzshook...s181200.htm#195
>
> This actually left me at the top of this page and not at the
> anchor for tip 195, as if I had used the link:
> http://users.adelphia.net/~suzshook/10tips181200.htm
>
> The reason for this is that the page source shows the anchor
> for tip 195 to be <a name=#195> and not <a name=195> so that
> the anchor as it exists actually has to be referenced as:
> http://users.adelphia.net/~suzshook...181200.htm##195
> (Note the doubled # sign.)
>
> This is not a problem with IE, which seems to ignore the extra
> # sign. In IE the following two links give the identical result:
> http://users.adelphia.net/~suzshook...s181200.htm#195
> http://users.adelphia.net/~suzshook...181200.htm##195
> However this isn't true of other browsers.
>
> I haven't checked the rest of the site but other anchors in the
> 10tips181200.htm file have anchor names with a leading # sign
> so I suspect this is consistent across the site or parts of it.
> Since you've managed to come up with so many good tips it might
> be a good idea to clean this up some time to improve the access
> to the tips. Probably the importance is relatively minor because
> most people access the site with IE, but still .... :)
Thanks, Spandex - I've fixed both the PSP X and PSP XI tips pages. Let me
know if you find any other anomalies. Suz
| |
| rtfm-impaired 2007-06-13, 6:25 pm |
| > Thanks, Spandex - I've fixed both the PSP X and PSP XI tips pages. Let me
> know if you find any other anomalies. Suz
And thank YOU very much Suz, for all you do.
Not worthy but grateful.
Daņado
| |
| Spandex Rutabaga 2007-06-13, 6:25 pm |
| SuzShook wrote:
> Thanks, Spandex - I've fixed both the PSP X and PSP XI tips pages.
Yep, it's working great for me now. Thanks.
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|