|
Home > Archive > Microsoft Content Management Server > October 2005 > Dynamic placeholder demensions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Dynamic placeholder demensions
|
|
| Donnie 2005-10-26, 8:50 pm |
| If you wanted to have a placeholders width and height set dynamicaly, how
would you do it?
Example, I have a template that uses <PresentationTemplate> to display flash
files. The problem is that every flash file that is uploaded is not the same
demensions. The placeholder needs to expand or contract depending on the
flash file demensions. Or to be able to set the demensions during edit mode?
help?
| |
| Mei Ying [MVP] 2005-10-27, 2:47 am |
| Hi
One way is to simply not specify the height and width. The image will be
displayed in its actual size.
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Book: http://www.packtpub.com/book/mcms
Contact: meiyinglim@hotmail.com
---
"Donnie" wrote:
> If you wanted to have a placeholders width and height set dynamicaly, how
> would you do it?
>
> Example, I have a template that uses <PresentationTemplate> to display flash
> files. The problem is that every flash file that is uploaded is not the same
> demensions. The placeholder needs to expand or contract depending on the
> flash file demensions. Or to be able to set the demensions during edit mode?
>
> help?
| |
| Stefan [MSFT] 2005-10-28, 4:58 pm |
| Hi Donnie,
actually you would need to store the dimensions somewhere. Check out the
following control which allows an author to define the size:
http://www.gotdotnet.com/Community/...a9-b07305c10cd2
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Mei Ying [MVP]" <MeiYingMVP@discussions.microsoft.com> wrote in message
news:5B8CCBDE-E936-4793-BBD4-1457627CEAAF@microsoft.com...[vbcol=seagreen]
> Hi
>
> One way is to simply not specify the height and width. The image will be
> displayed in its actual size.
>
> --
> regards
> Mei Ying
> ---
> Blog: http://meiyinglim.blogspot.com
> Book: http://www.packtpub.com/book/mcms
> Contact: meiyinglim@hotmail.com
> ---
>
>
> "Donnie" wrote:
>
| |
| Donnie 2005-10-28, 4:58 pm |
| Stefan,
This is exactly what I was looking for. Thank you, as always you have
been a great help.
v/r
Donnie
"Stefan [MSFT]" wrote:
> Hi Donnie,
>
> actually you would need to store the dimensions somewhere. Check out the
> following control which allows an author to define the size:
> http://www.gotdotnet.com/Community/...a9-b07305c10cd2
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Mei Ying [MVP]" <MeiYingMVP@discussions.microsoft.com> wrote in message
> news:5B8CCBDE-E936-4793-BBD4-1457627CEAAF@microsoft.com...
>
>
>
|
|
|
|
|