I am using Nodebb as a chess forum and user can use "ifrmae" to embed a chessboard into a post. Now I fix the width of the iframe , it's good in PC's browser, but obviously the size is much bigger than the most mobile browser.
So any suggestion to set autosize for the iframe in Nodebb?
BTW I can also change the chessboard code if needed

Best posts made by LLLRH
-
Iframe autosize for Mobile/PC browser
-
RE: Plugin request: Relay a post to see the post content
Sure, I will submit this plugin as open source if I finish it. However this is the first plug-in I write and took me times to learn it.
-
RE: Iframe autosize for Mobile/PC browser
@a_5mith if you go to Shanghai , I am happy to buy you some delicious food and coffee !
Latest posts made by LLLRH
-
RE: [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
@PitaJ , this is a quite good plug-in, does it support newest version 0.9.x ?
-
RE: Iframe autosize for Mobile/PC browser
@a_5mith if you go to Shanghai , I am happy to buy you some delicious food and coffee !
-
RE: Iframe autosize for Mobile/PC browser
http://www.lychess.net/topic/164/daily-puzzle
the post content:
<iframe width=100% height=420px src="http://www.lychess.net:3001/p/1442924321333" frameborder=0></iframe>
-
Iframe autosize for Mobile/PC browser
I am using Nodebb as a chess forum and user can use "ifrmae" to embed a chessboard into a post. Now I fix the width of the iframe , it's good in PC's browser, but obviously the size is much bigger than the most mobile browser.
So any suggestion to set autosize for the iframe in Nodebb?
BTW I can also change the chessboard code if needed -
RE: Need a working example of grabbing post data
@yariplus,Your guide is simple but very helpful to write plugin, thanks
-
Guest can not see "Image"
I upgraded to NodeBB 8.1 and re-install all npm modules. All seems OK.
But now the Guest can not see "image" and click the "broken link" , then "not-allowed" message is shown. -
RE: Like the new ACP? Check out what's next...
Look forward to new ACP
@flag Nice! -
RE: Plugin request: Relay a post to see the post content
Sure, I will submit this plugin as open source if I finish it. However this is the first plug-in I write and took me times to learn it.
-
RE: Plugin request: Relay a post to see the post content
I finished part of this plugin and need help for :
- after replying the topic, I have to refresh the web page to see content, any hook can automatically refresh whole page and how to refresh?
- Need a "reply to see" selector to set the topic with this feature , is it possible to put this selector in " Discard and submit" button group? or somewhere?