Welcome Guest Search | Active Topics | Sign In | Register

ImageZoom & SlideMenu Options
Ted Porter
Posted: Monday, September 21, 2009 7:44:14 AM
Rank: Newbie
Groups: Member

Joined: 9/21/2009
Posts: 1
Hi,

I am considering purchasing the complete ASP.NET tools but I need to have a couple of questions answered.

Please could you tell me if it is possible to control the size that an image is expanded to regardless of its physical XY size. By this I mean that if I have an image that when fully enlarged is 1280 x 1024 and the screen it is being viewed on is only 1024 x 768, I need the image not to enlarge more than the viewable area.

Secondly, with SlideMenu, is it possible to have nested menus that are all vertical in operation without having fly-out drop-down menus. e.g.

PROJECTS (main heading)
- PRODUCTS (sub heading)
-- ALESSI (item)
-- B&B ITALIA (item)
-- BLEND (item
-INTERIORS (sub heading)
-TRANSPORT (sub heading)
-UNIQUE PIECES (sub heading)
-TIMEPIECES (sub heading)
MEDIA (main heading)
ABOUT (main heading)
CONTACT (main heading)

Thank you,


Ted.
eo_support
Posted: Monday, September 21, 2009 8:29:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Thanks for posting in the forum. As to your questions:

1. Currently there is no direct support for this. However there are workarounds. If you only need to set a fixed maximum image size, you can do so with a small piece of code to resize the image on the server side. For example, instead of setting your BigImageUrl to "Foo.gif", you can set it to "ResizeIfNecessary.aspx?img=Foo.gif", you would then resize the image inside your ResizeIfNecessary.aspx.

The above workaround can not dynamically determine the max available viewable area size though. So ideally such feature needs to be implemented on the ImageZoom control and it makes perfect sense to have this feature. It should not be difficult for us to add this because we are already resizing the image anyway. So we will look into this and see if we can add it as soon as possible.

2. The feature is supported, but it is implemented on the TreeView control instead of SlideMenu control. The TreeView control has a SingleExpandMode property that you can use to mimic slide menu behavior. You can set it to TopLevelOnly or AllLevels. Here is a working example demonstrating this feature:

http://demo.essentialobjects.com/Default.aspx?path=TreeView\_i1\_i8

Hope this helps. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.