Poptrox-popup + Net.Core 6. How do I create my own itemlist under the picture (div or iframe)?

Volk Volk 571 Reputation points
2023-03-22T14:18:52.74+00:00

Hi!

I use a free Parallelism template (you can download and see the code) for the site:
https://html5up.net/parallelism

Poptrox:
https://www.jqueryscript.net/demo/Highly-Configurable-Responsive-Content-Lightbox-Plugin-For-jQuery-poptrox/
https://www.jqueryscript.net/lightbox/Highly-Configurable-Responsive-Content-Lightbox-Plugin-For-jQuery-poptrox.html

I'm trying to adapt it for my purposes...

When you click on the picture, poptrox-popup appears there and shows it:
Everything suits me, but I need to add a list of blocks with themes at the bottom:
poptrox

The fact is that I need to add my div to poptrox-popup with a list below the image (with scrolling)...

I couldn't do it, but I managed to put an IFrame, but it always appears above the picture and I can't move it down in any way...

I can use an IFrame under the picture with a transparent background (with scrolling), but it is better, of course, to somehow input my div with a list into the div class=poptrox-popup and shift it below...
poptrox_code

poptrox_elements

poptrox_need

I also ran into such a problem that the IFrame exists as if separately from NET.Core 6 environment and I have to load all styles and js into it again in Theme.html (IFrame page)...

Theme.txt (.html)

I tried to return the Theme page via the return View() controller, but the full page of the site with the header is returned there:

<a href='@Url.Action("Theme", "Home", new { id = 0 })' data-poptrox="iframe,600x400" class="image">

Is it possible to somehow put a Theme.html page in an IFrame, but so that it continues to be in the Net.Core influence field, like all other pages, are returned from controllers?

Is it possible for me to somehow push my div with a list of themes (with scrolling) into the div class=poptrox-popup?

If I can only use an IFrame in div class=poptrox-popup, then how do I move it down (with the Net.Core influence so as not to re-load styles and everything else in it)?

Can I realize this in any specified variant?

Does anyone have experience with poptrox-popup in Net.Core?

I didn't find anything intelligible on forums.

Thanks!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
867 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Volk Volk 571 Reputation points
    2023-03-22T18:26:48.56+00:00

    I solved the problem myself (html layout). Also solved the issue with html-->cshtml via return PartialView("_Themes"); The question is closed!
    Result

    0 comments No comments