why my java script codes doesn't work for modal? - modal-dialog

Hello ı tried and made this modal everything ı do java script its not working ı even trıed w3 school method for making modals that didn't work can someone help me what code should ı use
modal
https://codepen.io/george2020/pen/OJzprqd

Related

One click, event called twice

I have developed a mobile application. Most of the functions are inside, but I have some very strange behaviour inside the app on iOs (not tested on android yet).
When I click on an item: the event after the click is called twice. This isn't happening the whole time, but happens now and then. This is a problem for when I try to go to the next slide (he things he should move twice to a next slide), but also when I try to open the gallery for selecting photos, he opens the gallery twice, login for facebook happens twice etc... The strange thing is, that this isn't the whole time the case.
I have normal buttons like
<button ion-button color="black" class="skip-button"
(click)="nextStep()" [hidden]="lastSlide">Next</button>
so I don't think that the coding is wrong (or is it wrong).
I use this version:
ionic --version
2.1.18
In the beginning of the development I hadn't this issue. I think that I was using an older version of ionic2 then. Is there a way to go back perhaps?
I was in the meantime working on another project without having this issue (in that project). My last try was to copy the other project and copy pages and providers from the project with the error. The error is now gone, but still no clue why there was such an error.

WxPerl make modal Frame

I'm trying create modal window (wxFrame) in perl with xwPerl library (and WxWidget 3.0.2). Reason is, that is important for me to code will interrupt after window will be showed, until user close it. I found https://stackoverflow.com/a/2573660/5746693.
I would like use this code in in WxPerl library, but I have problem with using Wx::EventLoop class. It seems there is problem with loading this library. I didn't even find this class in WxWidget documentation. Sorry for probably stupid question.
Or is here some possibility to implement custom (with own controls in there) modal frame based on WxDialog class?
Thank for reply
If you need a modal window, use a wxDialog, not a wxFrame. Using the latter just doesn't make sense, the main difference between the two is that a dialog can be (and usually is) modal while the frame can't. Otherwise they are almost exactly the same.

Ionic slidebox inside tabs

I'm having trouble getting a slidebox to work with the ionic framework.
I used the tabs seed project, changed some code and just inserted the demo code from the documentation for a slide-box.
Here is a plunker of the app:
http://plnkr.co/edit/FxRyJ62sCtSiJdGUPzAz?p=preview
The slide-box is in the data tab (tab-data.html).
It looks like everything works right: The directive is recognized etc. but the slide-box does not work?
It's perfectly fine. Just that the slide-box is very small.
Add a
style="margin:100px 0px;text-align:center;"
to the <h1> and you'll see, it works.

My app is changing the way it looks

I'm pretty new to objective-c and I am working on my first app, I changed the design a little bit on it to make it look more nice and it was working fine, but then it started crashing every time i pushed a button. And now when i run it it looks like the way i had designed it before. but it still looks normal in my storyboard. This has happened to me before so i just made a new project and copy and pasted the old files and storyboard into the new one and it worked fine until now. Can anyone help me?

Fancybox display error

Ey people
i recently designed a popup html file that's being called through fancybox inside my magento-template.
It works fine for all the pages except the homepage where it appears dislocated at the end of the page instead of appearing in the center of the window.
Firebug isnt having any errors for me and i,being a newbie, dont know where to look.
Some pointings,anyone?
Thanks
You are loading 3 instances of Fancybox :
http://www.tapet-online.ro/skin/frontend/default/acumen/js/jquery.fancybox-1.2.5.pack.js
http://www.tapet-online.ro/skin/frontend/default/acumen/fancybox/jquery.fancybox-1.3.4.pack.js
http://www.tapet-online.ro/skin/frontend/default/acumen/fancybox/jquery.fancybox-1.3.4.js
you only need a single one, may be this:
http://www.tapet-online.ro/skin/frontend/default/acumen/fancybox/jquery.fancybox-1.3.4.pack.js