Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

tommo77funk

Fortgeschrittener

  • »tommo77funk« ist der Autor dieses Themas

Beiträge: 159

Wohnort: London

Beruf: Photographer

  • Nachricht senden

1

Freitag, 9. Juli 2010, 18:05

HTML data links

Hi,

I got a weird problem,that i'd be really grateful for some help, i am using a textfield and need to have 2 links in my html data

Quellcode

1
2
3
   	<data name="intro_text">
          <p>Explore the house to find out more about what we do at <a href="http://www.website.co.uk" target='_blank'> website </a>  and our See the <a href="event:action(shs-link);">other website</a></p>
   </data>		


An ordinary hyperlink will not work, so am looking for other ways. I know I can set onclick openurl on the textfield plugin, but I cant in this case because i have 2 links, and I really dont want to split the text into 4 textfields just to make 2 links to other html webpages, but afriad that is my only option left.

SO far i have tried

Quellcode

1
2
3
4
5
<a href="event:action(shs-link);">website</a>

<action name="shs-link">
openurl(http://www.mywebsite.org.uk,_blank);
 </action>


as well as using a js function linked to my html page to open it

Quellcode

1
2
3
	 <action name="shs-link">
js( dontate() );
	 </action>


have also tried this

Quellcode

1
 <a href="event:openurl(http://www.website.org.uk,_blank);">website</a>


and this

Quellcode

1
<a href="htnl:http://www.website.co.uk">website</a>


and many other ways. Any ideas how i can use an onclick event on the links in html data I have searched the forum also and cant find an answer.


Any advice, very appreciated *thumbup*

best wishes,

tom

2

Dienstag, 13. Juli 2010, 16:01

Hi,

have you maybe set - children="false" - in the <plugin> definition of your textfield?
this would explain that behavior, the links are in Flash internally children objects,
and with children="false" they can't be clicked,

best regards,
Klaus

tommo77funk

Fortgeschrittener

  • »tommo77funk« ist der Autor dieses Themas

Beiträge: 159

Wohnort: London

Beruf: Photographer

  • Nachricht senden

3

Dienstag, 13. Juli 2010, 19:01

Ah ha, ha ha ha thanks Klaus !!! works perfectly now :)


Best wishes,

tom