I’m trying to make a WebYep image 100% width and height= " " no height.
Problem is WebYep creates inline styles with a fixed value wight and height. Upside is width can be overridden using your own style so the 100% width is easily achievable.
Downside is how do you remove/override a CSS height value to " " nothing. As adding nothing does not trump the existing value.
Can it be done in CSS? Or only be done with javascript?
David
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Todd1
(Todd)
February 14, 2012, 3:17pm
2
Haven’t tried either but …
jQuery
$(‘your-image’)
.removeAttr(“width”).removeAttr(“height”)
.css({ width: “”, height: “” });
CSS
What about a value of “0” instead of nothing.
Todd
http://www.xiiro.com
Twitter: @ImXiiro
Skype: toddbrilliant
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Joe2
(Joe)
February 14, 2012, 3:30pm
3
On 14 Feb 2012, at 15:17, Todd wrote:
CSS
What about a value of “0” instead of nothing.
Try setting height to “initial”
Joe
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
waltd
(Walter Davis)
February 14, 2012, 4:17pm
4
Or auto.
Walter
On Feb 14, 2012, at 10:30 AM, Joe Billings wrote:
On 14 Feb 2012, at 15:17, Todd wrote:
CSS
What about a value of “0” instead of nothing.
Try setting height to “initial”
Joe
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Thanks all.
Adding a class .fullimage to the WebYep image and using height: auto !important; kicked the inline style into action
David
On 14 Feb 2012, at 16:17, Walter Lee Davis email@hidden wrote:
Or auto.
Walter
On Feb 14, 2012, at 10:30 AM, Joe Billings wrote:
On 14 Feb 2012, at 15:17, Todd wrote:
CSS
What about a value of “0” instead of nothing.
Try setting height to “initial”
Joe
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Erik
(Erik)
November 4, 2012, 9:51am
6
Hi david,
I know this is an old thread but have a question about this.
I am searching for a way to make my webyep image (in a loop) auto scale/size.
So when the owner of the website place an image, webyep auto scale it to fit the frame
Is this be done in this thread?
Erik
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hi Erik
try this
create a loop and instead of using a standard webyep image
insert a normal html box as an inline item, resize it to the size you want
then apply the webyep image action to this div
then in the action palette set the parameter to a fixed width and a fixed height
what this does is insert a div as an inline item within a loop and then the action converts its contents to a webyep image.
I hope that what you were looking for
kind regards max
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Erik
(Erik)
November 4, 2012, 12:11pm
8
Hi Max thank you
I’ll give it a try and let you know
Erik
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Erik
(Erik)
November 4, 2012, 6:56pm
9
Thx Max this works fine!
Erik
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options