How to embed an HTML code in composer ?
-
@meetdilip said:
Disable Adblock plus
That did it, I'll look at the size issue now.
You can solve the width by adding
.flipkart { width:100%; } to your CSS, the height however may be slightly trickier. If anyone had any ideas for that, I'm all ears, CSS wouldn't work, as setting CSS to 600px would make the width ones 600px high too.
-
@a_5mith As of the author knows the height each frame should have (@meetdilip does he? does the affrIDs link to a static content?) I'd allow the author to set the height via hashtag of the link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046#90
/<a href="(?:https?:\/\/)?(?:www\.)flipkart\.com\/affiliate\/displayWidget\?(?:[^"]*&)?affrid=([\w\-_]+)(?:&[^"#]*)?(?:#(\d+))?.+<\/a>/ig
-
@frissdiegurke said:
(@meetdilip does he? does the affrIDs link to a static content?)
Not clear about this part Friss . Not sure what the question is. :sorry:
-
@meetdilip If you have a link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046, does it always refer to the same image, or may it change without changing the link (maybe dayly, weekly,...)?
-
Cheers @frissdiegurke testing it now.
-
Right @meetdilip
Follow the instructions I gave earlier to do another git pull, I've made some changes, to specify a height add #600 or any number in pixels to the end of your link. You only need the height, width is auto 100%.