Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Picture Tool

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
sb Posted - 15 Mar 2004 : 06:08:14
Dynamic HTML Editor is great. What drew me to it is the ability to easily place pictures overlapping each other. My question is:
I want to have a picture that changes based on a button or text link that is clicked. I've created an event "OnClick, SetImage, Picture1, Picture2" that puts Picture2 in the Picture1 picture tool. The problem is that the Picture2 gets scaled and stretched be the size of Picture1. That results in a distorted image. How can I prevent the images from being distorted? I've tried playing with the Proportional Property, but it doesn't seem to help on this case. Thanks.

Cheers.
SB
10   L A T E S T    R E P L I E S    (Newest First)
madzib Posted - 19 Aug 2004 : 16:49:26
Thanks for looking in to it.
s.dav Posted - 16 Aug 2004 : 17:42:43
I've done some tests that I don't remember.
I've locked the dimension of the picture tool when swapping images because it works only for Internet Explorer.
By obmitting dimensions in other browsers (Opera, NS4) the pictures are strected even so.
s.dav Posted - 16 Aug 2004 : 08:41:07
I have to do some tests first, then I can make it in the next version ;-)
madzib Posted - 14 Aug 2004 : 22:28:37
Ok, that's so easy I didn't consider it al the same. I just was looking for a way to keep on using my old trick.
Thanks for your help.

Will the other way be possible in Dynamic HTML Editor 2?
s.dav Posted - 14 Aug 2004 : 11:37:34
The method you have described functions very good but this version of Dynamic HTML Editor gives at images it's own dimension.
If you have to change some images in the screen you can simply hide and show them using events ;-)
madzib Posted - 13 Aug 2004 : 23:17:50
Is there not a way to give no hight and width in the properties from picture1. It always works fine for me when I used this way without Dynamic HTML Editor. Picture2 then uses his own dimensions.
Sorry forgot to tell you picture1 was in a table.
s.dav Posted - 16 Mar 2004 : 08:44:04
Very simple...
You can create a simple page with 2 images and set a rollover effect from the first to the second one.
Preview the page and click the 'view source' from the menu of explorer.
Then simply remove the dimension from the 'div' and 'img' tag.
sb Posted - 16 Mar 2004 : 03:52:05
quote:
Originally posted by s.dav

There is no way to do this.
You may add border to the first picture so it have the same dimensions of the second...



Thanks, Davide. I suspected as much[2 H:.(]. Do you know how to accomplish this outside of Dynamic HTML Editor, for example in HTML or javascript?

Hopefully version 2.0 will provide this capability.
n/a Posted - 15 Mar 2004 : 10:44:05
Welcome SB!
s.dav Posted - 15 Mar 2004 : 08:44:52
There is no way to do this.
You may add border to the first picture so it have the same dimensions of the second...

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