Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 How do I add htm code to an image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy
Expert

United Kingdom
83 Posts

Posted - 06 Dec 2007 :  20:24:52  Show Profile  Visit Andy's Homepage  Reply with Quote
Hi,

I want to link a thumbnail to a bigger picture (not pre loaded as there will be a few of them), and was going to use lightbox js. This required I add the following line around the thumbnail htm code
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

My question is, can I do it in DHTM or do I export the page and then edit the exported htm page?

Andy

T00N
Super User

573 Posts

Posted - 06 Dec 2007 :  20:41:21  Show Profile  Visit T00N's Homepage  Reply with Quote
I used lightbox on a site and as far as I know there is no possibility to do this in dhe, you'll have to insert the code in an exported html page.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 07 Dec 2007 :  11:18:00  Show Profile  Visit s.dav's Homepage  Reply with Quote
You are right, after the new version will be released I'll create a set of Extensions for making things like these.

Regards, Davide
Go to Top of Page

richinri
Expert

78 Posts

Posted - 08 Dec 2007 :  07:18:07  Show Profile  Visit richinri's Homepage  Reply with Quote
I haven't worked with Lightbox but I am curious why this wouldn't work if the entire code - image and special tags - were input into a HTML box?

Richard
Go to Top of Page

T00N
Super User

573 Posts

Posted - 08 Dec 2007 :  08:10:46  Show Profile  Visit T00N's Homepage  Reply with Quote
No don't start, please let Davide make some extensions :)

To be able to put some code before and after the inserted object can be very usefull. With most of the small Content Management Systems you have to put code around the text so there's antother example of way it would be usefull to be able to do this.

Edited by - T00N on 08 Dec 2007 08:17:38
Go to Top of Page

w.korsten
Novice

Netherlands
14 Posts

Posted - 11 Feb 2008 :  15:36:39  Show Profile  Visit w.korsten's Homepage  Reply with Quote
Is there a way to do it in the new version already, have been sniffing in it but don't see any option or way to do it?
Go to Top of Page

Edigital
Master

107 Posts

Posted - 12 Feb 2008 :  02:00:05  Show Profile  Visit Edigital's Homepage  Reply with Quote
Hi LorenZi!

Fantastic Editor

Why not try with script.aculo.us and DHE 4?

Try with this link -> http://www.callehost.com/templates/01/test.htm
Download DHE file -> http://www.callehost.com/templates/01/Test.zip
Download neccesary files here -> http://www.callehost.com/templates/01/scripts.zip

Enjoy!!


Edited by - Edigital on 12 Feb 2008 02:22:56
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Feb 2008 :  09:03:36  Show Profile  Visit s.dav's Homepage  Reply with Quote
Fantastic! Can I pubish it on my site?

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Feb 2008 :  09:04:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
the link http://www.callehost.com/templates/01/Test.zip is invalid ;-)

Regards, Davide
Go to Top of Page

Edigital
Master

107 Posts

Posted - 12 Feb 2008 :  10:41:16  Show Profile  Visit Edigital's Homepage  Reply with Quote
Ok Davide,

The wrong link, is now fixed!
You can publish!!

Best regards!
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Feb 2008 :  09:16:50  Show Profile  Visit s.dav's Homepage  Reply with Quote
Good!

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000