foxhound |
|
---|---|
I have a weird problem with the message.tpl and than specifically the pop-up it generates to confirm for example when you want to delete a page. When you use the nemesis or the symisun-03 themes and you choose to delete a page a pop-up comes in the middle of the screen asking if you are sure you want to do this.
I am making a new skin reworking all those tpl's and with this one I am stuck and I can not see how to fix it. Instead of a popup I get a screenwide screwed up streched popup at the top of my screen (so it pushes the header down) with a missing yes button and a not working no button. <!-- BEGIN: MAIN --> <div class="col first"> <div class="block"> <h2 class="warning">{MESSAGE_TITLE}</h2> <div class="warning"> {MESSAGE_BODY} <!-- BEGIN: MESSAGE_CONFIRM --> <table class="inline" style="width:80%"> <tr> <td><a id="confirmYes" href="{MESSAGE_CONFIRM_YES}" class="confirmButton">{PHP.L.Yes}</a></td> <td><a id="confirmNo" href="{MESSAGE_CONFIRM_NO}" class="confirmButton">{PHP.L.No}</a></td> </tr> </table> <!-- END: MESSAGE_CONFIRM --> </div> </div> </div> <!-- END: MAIN -->
Any help is very much appreciated. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
Do you have the following in your stylesheet? .jqmWindow { display: none; position: fixed; top: 50%; left: 50%; overflow: auto; background-color: #EEE; color: #333; border: 3px solid white; padding: 7px; text-align: center; z-index: 9999; } .jqmWindow h4 { border-bottom: 1px dotted #b0c4de; font-size: 14px; margin: 0 0 7px 0; padding: 0 0 5px 0; text-align: left; color: #3E606F; } .jqmWindow p{ text-align: right; margin: 15px 0 0 0; font-size: x-small; text-transform: lowercase; } .jqmOverlay { background-color: #000; } /* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */ * iframe.jqm { position:absolute; top:0; left:0; z-index:-1; width: expression(this.parentNode.offsetWidth+'px'); height: expression(this.parentNode.offsetHeight+'px'); } /* Fixed posistioning emulation for IE6 Star selector used to hide definition from browsers other than IE6 For valid CSS, use a conditional include instead */ * html .jqmWindow { position: absolute; top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); }
|
foxhound |
|
---|---|
Thank you very much for your reply.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Kingsley |
|
---|---|
^^ this is why there should be a no nonsense basic skin which contains all most/all used tags without 'hidden' things like this.. modelbox.css was the first file I threw out when creating a skin. No offence to the Nemesis creator off course.. |
Kort |
|
---|---|
#35442 Kingsley: No offence, but why would anyone want to through out anything thoughtlessly just like you did? Since adding all / most tags makes absolutely no sense for a normal / above average developer, I cannot think of anything to help you with in such situations. As regards reset.css, try cross-browser HTML-coding without it and see what happens. If it works for you, just remove the string from the resource file & delete reset.css. Nemesis is the basic theme that you are supposed to use as a startup. But if you start with throughing away stuff, you guys are in trouble. SED.by - создание сайтов, разработка плагинов и тем для Котонти
|
Twiebie |
|
---|---|
I do agree with most of what Kort just said.
If you build on the Nemesis theme but already start deleting stuff at the start, you will end up missings bits and bobs. #35442 Kingsley: What exactly is hidden about any of this? The modelbox.css file is included through the resource file, it isn't there for no reason. ;) |
foxhound |
|
---|---|
But, I did not delete a thing. And may i be so free to tell you symisan does not contain the above mentioned css neither? But it does have a working popup, even using the classes which I was looking for which are also not in the css of symisan.
Call me stupid as much as you want, I simply never assumed I needed that file when not seeing any reference to it.
#35443 Kort: Thanks, I will triple check (I am working with 3 browsers by standard).
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
#35445 foxhound: Nobody is calling you stupid. ;)
By default the JS file in the Nemesis theme actually doesn't really do anything. Symisun-03 does have the above mentioned CSS rules. Look in symisun-03.css at line 963. |
|
This post was edited by Twiebie (2012-09-13 20:35, 12 years ago) |
Kingsley |
|
---|---|
Pardon me for doing a suggestion.. it's perfectly clear that you, kort, couldnt care less about hobbyist.. you never said it out loud, but you can always read it between the lines
... |
foxhound |
|
---|---|
#35446 Twiebie: By default the JS file in the Nemesis theme actually doesn't really do anything.
Thanks for both infos, that was very helpfull!
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
#35448 foxhound: According to the poll most Cotonti users are using it for hobby projects. ;)
There's absolutely nothing wrong with asking questions like these, guys. That's what these forums are for, regardless of what knowledge you have. |
Kingsley |
|
---|---|
Sure, but in the mean time I kinda am getting fed up with his additude towards us. Although I personally use Cotonti for private projects, over the years I have recommended it to dozens of people, including companies. If he feels that we do not have a place in this project, just say so, and he should refrain himself from reacting on such forumposts. I mean I can imagine that trust/hengeveld sometimes get nuts from us too, but they dont act like we're any less than normal/above average programmers. The man doesnt seem to understand that not every one in the freaking world is a full time programmer. Look at his reaction at the slimbox plugin a while back. reacting with a superior additude, but not realizing that you cant say a without mentioning b. After multiple people (me included) gave him 'hell' about that he reluctantly came with an article. Serious man, I would never, ever act like that to some one that is learning/working in my profession. We are all human, but he somehow thinks he's better. |
diablo |
|
---|---|
Geef een rust hij is viertig jaars oud :) hij lijdt aan middelbare leeftijd crisis no need to freak out when people point out mistakes and lack of info or usefullness instead try to fix and and learn from it. "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|