josh_lim — 2011-12-04T09:38:14-05:00 — #1
I'm a photographer and my web designer is temporary unreachable at the moment and I need to urgently add hyperlink to my site.
My site is html and currently I can add new things by editing an existing xml such as the following:
<description> Sample description </description>
Now I would like to add a hyperlink to it, maybe on Sample description can be changed to Click to Visit with a link to it.
I think the xml file is connected to a .js file so if it's relevant you can review the code here http://pastebin.com/raw.php?i=D5QrDJv4
Hope you guys can help me out, need to sort this out urgently :mad:
victorinox — 2011-12-04T11:37:57-05:00 — #2
Does replacing <description> Sample description </description> with this do the job?
<description> <a href="link path or URL goes here">Click to Visit</a> </description>
josh_lim — 2011-12-04T18:09:12-05:00 — #3
I forgot to mention, when the image is clicked it will display a bigger preview in lightbox.
The description displays in the enlarged light box however the <description> <a href="link path or URL goes here">Click to Visit</a> </description> does not work, I can see "Click to Visit" but it's not clickable :mad:
victorinox — 2011-12-04T18:52:55-05:00 — #4
Can you provide a link to the site?
josh_lim — 2011-12-05T04:50:50-05:00 — #5
Sorry I'm unable to provide the link to my site because it contains private albums of my client.
So in the xml file I can put <hyperlink> http://google.com </hyperlink> and it'll recognize it as a link
technobear — 2011-12-05T05:10:55-05:00 — #6
There is an "XML and Web Services" section on the forums. You'd probably be better off asking there. (Click the orange flag and ask a moderator to move the thread.)
guido2004 — 2011-12-05T05:25:26-05:00 — #7
Moved the thread to the JS forum
immerse — 2011-12-05T08:00:53-05:00 — #8
Who built this site? Can't you contact them to ask them to add the link?
We'll need to see the HTML too to form an answer yo your question.
josh_lim — 2011-12-05T08:07:02-05:00 — #9
I've been calling my designer for few days now and he's temporary unavailable.
On a side note
How do I add a link to the following image so it opens a new window when it's clicked
<img src="portfolio/art/1.jpg" width="125" height="125" border="0" alt="" />