PDA

View Full Version : Cant work out how to fix a broken link


Luddite
17-Apr-2008, 09:32 AM
Hi,

On this page (http://www.theperfectpad.co.uk/acatalog/Normann_Copenhagen.html) the link works when you click in the image, but not on the text underneath. It looks like its something to do with '%22' being added to the end of the url - but I can't work out where this is being generated from.
Any ideas?

Thanks,

Nick

TraceyHand
17-Apr-2008, 09:34 AM
you have a " in there at the end.
check you haven't accidentally added an extra one around your text/variable

[edit]ok, guilty of not checking which forum I'm in but theory is still the same. There's a superfluous " at the end of the URL which must be coming from your template/code somewhere

Luddite
17-Apr-2008, 09:47 AM
Hi Tracey,

Thanks for answering so quickly - Can't see the rogue " you are referring to - where are you seeing it?

Nick

TraceyHand
17-Apr-2008, 09:58 AM
it's visible in the status bar when you hover over the text.
I think it's in your actual <a href> code, have you coded it yourself?

Luddite
17-Apr-2008, 10:10 AM
Very strange. For me when I hover over the image I get:
http://www.theperfectpad.co.uk/acatalog/Small_Norm_03_Pendant_Light_Shade_by_Normann_Copenhagen.html
And when i hover over the text I get:
http://www.theperfectpad.co.uk/acatalog/Small_Norm_03_Pendant_Light_Shade_by_Normann_Copenhagen.html%22

Its sort of coded myself - with the help of p25 of 'getting started with design in actinic'.

TraceyHand
17-Apr-2008, 10:14 AM
well the %22 is just a 'translation' of the "
It'll probably be " that is in your code.
Post the code you have here, in code tags.
I'm sure someone will spot the problem.

Luddite
17-Apr-2008, 10:20 AM
Found it! You're right - I had a rogue %22 in the template that I hadn't spotted first time round.

Thanks for your help Tracey.

Nick