Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Custom Code, adding extra code specific place

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
siemens 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.

8   L A T E S T    R E P L I E S    (Newest First)
siemens 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...
siemens 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...
s.dav Posted - 10 Nov 2009 : 17:16:00
the attribute order is not important...
siemens 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>
s.dav 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.
T00N Posted - 10 Nov 2009 : 08:53:53
Yes
siemens Posted - 10 Nov 2009 : 07:44:33
Do you mean: insert via 'HTML Tool', and then enter the above code for example?
T00N 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.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000