I have in the module "Hello World"a fixed webpage, but it shows on the whole mirror.
What code must i have so that it shows in a smaller fixed frame?
Try something like this…
< iframe src=" " name="myIframe" style="border:none;height:600px;width:500px;">
Hope this helps!
edit by yawns
< iframe src=" " name="myIframe" style="border:none;height:600px;width:500px;" >;< /iframe >
remove space around
I didn’t have spaces. that is weird that it pasted that way.
had a storm here and literally lost connection, electricity , and everything just moments after clicking submit. just came back on.
That code is being used in a module I’m working on, and that is not how it is typed in!!!
@justjim1220 Don’t worry. this nodeBB forum software seems not to be able to parse HTML entities like
>. so it might be disappeared. to display
<, ppl need to add extra space around
@sean the first time i tried, it didn’t even show up that I had typed anything.
I was actually gonna take a screen shot of it if this didn’t post.
But, loss of electricity, tends to put a damper on things like this.
Any chance you know the best way to convert a program from HTML, CSS, & jQuery to a module for MM2??
@justjim1220 I think it could be case-by-case.
If the result you expect is just simply showing some contents, iFrame is enough.
But, more than that, it depends on what you expect.