Dynamic placeholder demensions
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Dynamic placeholder demensions

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Donnie
Guest





Posted: Wed Oct 26, 2005 8:51 pm    Post subject: Dynamic placeholder demensions Reply with quote

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?
Back to top
Mei Ying [MVP]
Guest





Posted: Thu Oct 27, 2005 7:52 am    Post subject: RE: Dynamic placeholder demensions Reply with quote

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:

Quote:
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?
Back to top
Stefan [MSFT]
Guest





Posted: Thu Oct 27, 2005 8:51 am    Post subject: Re: Dynamic placeholder demensions Reply with quote

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/UserSamples/Details.aspx?SampleGuid=0ae7cd92-79ec-4f9f-9ba9-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...
Quote:
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?
Back to top
Donnie
Guest





Posted: Thu Oct 27, 2005 4:51 pm    Post subject: Re: Dynamic placeholder demensions Reply with quote

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:

Quote:
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/UserSamples/Details.aspx?SampleGuid=0ae7cd92-79ec-4f9f-9ba9-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...
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?


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

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




New Topics Powered by phpBB