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
 Custom Code, adding extra code specific place
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

siemens
Master

Netherlands
139 Posts

Posted - 09 Nov 2009 :  15:27:51  Show Profile  Visit siemens's Homepage  Reply with Quote
I have an image on a page, de 'Custom Code' is standard and looks for example like :<div id="ldhePicture3" style="position: absolute; left: 1px; top: 33px;" align="left">
<img id="Picture3" name="Picture3" src="10018037.jpg" width="500" height="354" border="0" alt=""></div>

Now I want to add some specific code like:
<div id="ldhePicture3" style="position: absolute; left: 547px; top: 33px;" align="left">
<img id="Picture3" name="Picture3" class="revealcontent" pausesec="2" displayorder="3" src="files/10018037.jpg" width="500" height="354" border="0" alt=""></div>

How can I manage this?, when i use Custom Code; 'Before Tag' or 'Into Tag' the extra (green) code is not positioned in the correct way and is not working, the extra code must be direct before the 'src=files...' part.


Edited by - siemens on 09 Nov 2009 15:29:33

T00N
Super User

573 Posts

Posted - 09 Nov 2009 :  21:26:07  Show Profile  Visit T00N's Homepage  Reply with Quote
Why don't you insert the image using the Custom Code box?
Then you can change the code to what you want.

Edited by - T00N on 09 Nov 2009 21:38:51
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 10 Nov 2009 :  07:44:33  Show Profile  Visit siemens's Homepage  Reply with Quote
Do you mean: insert via 'HTML Tool', and then enter the above code for example?
Go to Top of Page

T00N
Super User

573 Posts

Posted - 10 Nov 2009 :  08:53:53  Show Profile  Visit T00N's Homepage  Reply with Quote
Yes
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Nov 2009 :  08:57:42  Show Profile  Visit s.dav's Homepage  Reply with Quote
>way and is not working, the extra code must be direct before the 'src=files...' part.

I don't know what type of javascript code is managing your extra attributes but their order is not important.
Just use the "Into Tag" section to add your code and you are done.

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 10 Nov 2009 :  10:50:32  Show Profile  Visit siemens's Homepage  Reply with Quote
No, the 'Into Tag' is placing the extra code in the wrong place...not before the src=..part

<div id="ldhePicture4" style="position: absolute; left: 1px; top: 33px;" align="left">
<img id="Picture4" name="Picture4" src="10018040.jpg" width="500" height="354" border="0" alt="" class="revealcontent" pausesec="2" displayorder="4"></div>

Edited by - siemens on 10 Nov 2009 10:51:37
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Nov 2009 :  17:16:00  Show Profile  Visit s.dav's Homepage  Reply with Quote
the attribute order is not important...

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 10 Nov 2009 :  18:41:09  Show Profile  Visit siemens's Homepage  Reply with Quote
That is what I also thought, but really, non of the Tag's is giving the correct result...
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 11 Nov 2009 :  08:25:06  Show Profile  Visit siemens's Homepage  Reply with Quote
Sorry, "the attribute order is not important..." Davide you are right, is correct and it is working now!, I do not know why it was not working yesterday...
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