Link to home
Start Free TrialLog in
Avatar of leena42
leena42

asked on

add link to xml jquery gallery

Hello Experts,

I bought a jquery gallery template which uses xml to add the images.  There are default nodes it came with, the xml looks like that attached code.

They are using jquery to put it all together.  If you need more infomration just ask.  I want to know how to add a <a> tag into the <description> tag.

So something like <description>  <a href="www.awesomewebsite.com">Here</a> is an awesome website I designed </description>

I don't code things....so im at your mercy!!!  Please help!
<categories>
		<category id="logo">logos</category>
		<category id="print">print</category>
		<category id="interactive">interactive</category>
		<category id="icon">computer icons</category>
		<category id="webbanner">web banner central</category>
		<category id="personal">personal projects</category>
	</categories>

	<items>
		<item>
			<thumbnail>images/lopSm.jpg</thumbnail>
			<preview>images/lop.jpg</preview>
			<category>logo</category>
			<description>Logo for an online pizza ordering service</description>
		</item>
          </items>

Open in new window

Avatar of Samuel Liew
Samuel Liew
Flag of Australia image

You will probably need to upload the jQuery gallery code, and possibly the gallery page. A link to the live page might be a better option.
Avatar of leena42
leena42

ASKER

Hi there!  Thanks so much for checking out my questions.


Here is a link to the website

http://www.k-mac.ca/kport/

I think you will have access to the files you need there but I've also attached the xml and js files.

Any light you can shed is greatly appreciated.

jquery.colorbox-min.js
portfolio-setter.js
portfolio.xml
ASKER CERTIFIED SOLUTION
Avatar of kadaba
kadaba
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leena42

ASKER

Thanks for help,  it wouldn't work by just putting it in how you suggested.

Had to be done like this.... and I don't think that's valid html


<![CDATA[
          this is the site
]]>

note no "" around url.
Avatar of leena42

ASKER

oops!
<description>
<![CDATA[
          <a href=http://site.com>this is the site</a>
]]></description>

Open in new window