首页 \ 问答 \ 求一套 自己编写的php+mysql的商城系统,方便二次开发的,不要ecshop shopex之类的

求一套 自己编写的php+mysql的商城系统,方便二次开发的,不要ecshop shopex之类的

新手学php想找一个自己来二次开发,比较方便的,有的朋友可以提供一个给我,谢谢了 我要的是那种 代码直接写在html里面的,
更新时间:2022-04-06 11:04

最满意答案

在不了解您的网站结构的情况下,很难解释

从现在开始,你必须将'margin / padding'放到内容栏中以便下推。

因为其他方面,当下拉菜单出现时,您的菜单会变得不稳定。

使用他们的基于事件的api。 见下文

$('#myDropdown').on('show.bs.dropdown', function () {
     // this part will be trigged when dropdown is called

     // add margin / padding to your adsense container
})

要获得动态高度,

$('#myDropdown').on('shown.bs.dropdown', function () {
     // this part will be trigged after dropdown is shown

     // Grab height of dropdown
     var height = $('.dropdown').outerHeight();
})

而且,我实际上没有尝试过上面的任何代码,但它应该可行。 =)


Without knowing your site structure, it's hard to explain

From top of my head right now, you will have to put 'margin/padding' to your content bar to be pushed down.

Because other wise your menu will get wonky when dropdown menu appears.

Use their event based api. see below

$('#myDropdown').on('show.bs.dropdown', function () {
     // this part will be trigged when dropdown is called

     // add margin / padding to your adsense container
})

To get the dynamic height,

$('#myDropdown').on('shown.bs.dropdown', function () {
     // this part will be trigged after dropdown is shown

     // Grab height of dropdown
     var height = $('.dropdown').outerHeight();
})

And again, I haven't actually tried any of the codes above, but it should work. =)

相关问答

更多
  • 在不了解您的网站结构的情况下,很难解释 从现在开始,你必须将'margin / padding'放到内容栏中以便下推。 因为其他方面,当下拉菜单出现时,您的菜单会变得不稳定。 使用他们的基于事件的api。 见下文 $('#myDropdown').on('show.bs.dropdown', function () { // this part will be trigged when dropdown is called // add margin / padding to your ...
  • 你必须在某处覆盖你的bootstrap css。 因为当我点击按钮时,我看到班级open出现在dropdown 。 我添加了以下css来修复下拉菜单: .dropdown > .dropdown-menu { display: none; //hides .dropdown-menu directly inside .dropdown } .dropdown.open > .dropdown-menu { display: block; //shows .dropdown-menu dire ...
  • 通过单击页面触发下拉列表的关闭。 由于iframe不是页面,因此不会关闭。 你必须删除data-toggle="dropdown" ,用javascript $('.dropdown-toggle').dropdown()调用下拉$('.dropdown-toggle').dropdown() 然后在iframe的顶部显示透明div,例如.transparent-mask 并使用javascript(jQuery .open从.dropdown删除.open类,单击.transparent-mask或文档。 ...
  • 删除overflow:hidden从Navbar overflow:hidden ... https://jsfiddle.net/r1k2e4xc/ Remove overflow:hidden from the Navbar... https://jsfiddle.net/r1k2e4xc/
  • 自举导航中的def defiting to nav is push down content ... 你可以使用position: absolute; 到ul ul{ position: absolute; right: 50px; top: 14px; }
  • BlackBerry 10 OS 10.2.1.2102的新更新解决了该问题。 下拉列表,折叠导航栏,模态,弹出窗口,工具提示以及基本上所有JavaScript的工作现在都很好。 The new update of BlackBerry 10 OS 10.2.1.2102 solved the issue. The dropdowns, the collapse-navbar, modals, popups, tooltips and basically everything with JavaScript ...
  • 我之前遇到过同样的问题,我发现如下: 如引导程序布局中所述,html应与引导程序中的类container绑定 下拉列表建立在第三方库Popper.js如Bootstrap Dropdown中所述 据我所知,你没有提到所需的javascript即util.js, bootstrap.js, popper.js或缩小版本。 在这里,我没有做太多,只需在索引文件中引用所需的javascript文件