Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

HEUSS

Inserir link

Recommended Posts

Boa noite, sou novo por aqui e não entendo nada de XML.

 

Baixei um slide show para incluir no meu site. Estou com um problema... O sistema chama um arquivo de configuração: sample.xml

 

Eis o seu conteúdo:

 

<SlideshowBox>
<items>
	<item>
		<thumbnailPath>images/image01.jpg</thumbnailPath>
		<largeImagePath>images/image01.jpg</largeImagePath>
		<fullScreenImagePath>images/image01.jpg</fullScreenImagePath>
		<title><![CDATA[Image 1]]></title>
		<description><![CDATA[Description for image 1]]></description>
	</item>
	<item>
		<thumbnailPath>images/image02.jpg</thumbnailPath>
		<largeImagePath>images/image02.jpg</largeImagePath>
		<fullScreenImagePath>images/image02.jpg</fullScreenImagePath>
		<title><![CDATA[Image 2]]></title>
		<description><![CDATA[Description for image 2]]></description>
	</item>
	<item>
		<thumbnailPath>images/image03.jpg</thumbnailPath>
		<largeImagePath>images/image03.jpg</largeImagePath>
		<fullScreenImagePath>images/image03.jpg</fullScreenImagePath>
		<title><![CDATA[Image 3]]></title>
		<description><![CDATA[Description for image 3]]></description>
	</item>
	<item>
		<thumbnailPath>images/image04.jpg</thumbnailPath>
		<largeImagePath>images/image04.jpg</largeImagePath>
		<fullScreenImagePath>images/image04.jpg</fullScreenImagePath>
		<title><![CDATA[Image 4]]></title>
		<description><![CDATA[Description for image 4]]></description>
	</item>
	<item>
		<thumbnailPath>images/image05.jpg</thumbnailPath>
		<largeImagePath>images/image05.jpg</largeImagePath>
		<fullScreenImagePath>images/image05.jpg</fullScreenImagePath>
		<title><![CDATA[Image 5]]></title>
		<description><![CDATA[Description for image 5]]></description>
	</item>
	</items>
</SlideshowBox>

 

 

Gostaria de saber se é possível "linkar" a descrição ou o título para quando o internauta clicar, abrir uma nova página.

É possível? Alguém pode me ajudar?

Valeu!

Compartilhar este post


Link para o post
Compartilhar em outros sites

"o sistema".

 

Que sistema? O que o sistema faz? Como ele lê e interpreta as informações? XML é uma linguagem para portabilidade de dados. Não tem como fazer um arquivo XML exibir um link. Depende das configurações do "sistema".

Compartilhar este post


Link para o post
Compartilhar em outros sites

"o sistema".

 

Que sistema? O que o sistema faz? Como ele lê e interpreta as informações? XML é uma linguagem para portabilidade de dados. Não tem como fazer um arquivo XML exibir um link. Depende das configurações do "sistema".

 

É um slideshow. Ele pega um arquivo SWF e "puxa" as informações do sample.xml

Compartilhar este post


Link para o post
Compartilhar em outros sites

Olha

 

Se o código no flash for htmlText que to achando que é por conter CDATA

Use o seguinte código html na sua descrição para linkar:

 

<description><![CDATA[ <a href="http://www.google.com">Google IT!!!</a>]]></description>

Se for só text normal a tag A vai aparecer no campo em vez de linkar

 

Abraços

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.