Author |
Topic |
|
siemens
Master
Netherlands
139 Posts |
Posted - 09 Nov 2009 : 15:27:51
|
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
|
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 |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 10 Nov 2009 : 07:44:33
|
Do you mean: insert via 'HTML Tool', and then enter the above code for example? |
|
|
T00N
Super User
573 Posts |
Posted - 10 Nov 2009 : 08:53:53
|
Yes |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 10 Nov 2009 : 08:57:42
|
>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 |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 10 Nov 2009 : 10:50:32
|
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 |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 10 Nov 2009 : 17:16:00
|
the attribute order is not important...
|
Regards, Davide |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 10 Nov 2009 : 18:41:09
|
That is what I also thought, but really, non of the Tag's is giving the correct result... |
|
|
siemens
Master
Netherlands
139 Posts |
Posted - 11 Nov 2009 : 08:25:06
|
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... |
|
|
|
Topic |
|