Page Index Toggle Pages: 1 2 [3]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Now on HTML5 (Read 17742 times)
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Now on HTML5
Reply #30 - Oct 23rd, 2014 at 4:45pm
Mark & QuoteQuote  
Looks like a few of the "divs" are too wide... SlimBrowser uses Trident engine, which uses implicit padding of elements, and that creates weird effects when you assume the whole width of screen or outer element is 100%, when it actually is slightly less, somewhere around 99.4% depending on number of elements in a horizontal row and width of the window.

Sometimes using spans instead of divs makes things look better, especially if everything is supposed to be fit and align on same physical horizontal row.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Now on HTML5
Reply #31 - Oct 23rd, 2014 at 5:28pm
Mark & QuoteQuote  
I think the html5 version may be offered as an add-on template rather than main-line code for some time. However, working on it has pointed out some interesting issues in terms of things being hard-coded in Mods.

There are a lot of unexpected things that have shown up in this particular exercise.
It's also been pointed out that I may have been moving too fast on this. So expect some changes as I rearrange things like templates and do some work in the AdminCenter.

Monni wrote on Oct 23rd, 2014 at 4:45pm:
Sometimes using spans instead of divs makes things look better, especially if everything is supposed to be fit and align on same physical horizontal row.
                     

Good advice.  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Now on HTML5
Reply #32 - Oct 23rd, 2014 at 6:59pm
Mark & QuoteQuote  
Dandello wrote on Oct 23rd, 2014 at 5:28pm:
Good advice.  Smiley


Eh... I used to be member of the IE beta team Wink IE is the main browser using Trident engine Smiley
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Now on HTML5
Reply #33 - Oct 23rd, 2014 at 9:57pm
Mark & QuoteQuote  
I was playing with the top stuff using spans...

Code
Select All
 <div class="menutop">
             <span class="small" style="display: inline-block; padding-left:1%; width: 20%; line-height:2.6em; vertical-align: top;" id="yabbclock">23. lokakuuta 2014 klo 00:52<script type="text/javascript">
 WriteClock('yabbclock','23. lokakuuta 2014 klo ',' ');
 </script></span>
             <span class="small center" style="display: inline-block; width: 57%; line-height:2.6em; vertical-align: top;">Change Template:&nbsp;
             <form name="styleswitcher" action="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl" method="post">
             <input type="hidden" name="redir" value="">
             <select name="template" onchange="submit()">
         <option value="Forum default" selected="selected">Forum default</option>
 <option value="New Fall">New Fall</option>

             </select>
              <input type="hidden" name="formsession" value="477F5C5C3E5A7B687B72716E737B706A3E387F736E253E53717A6D5377757F521E0">
                     </form>
         </span>
   <span style="display: inline-block; width: 20%; padding-right: 1%">
 <span class="yabb_searchbox">
                     <form action="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl?action=search2" method="post" accept-charset="UTF-8">
                         <input type="hidden" name="searchtype" value="allwords">
                         <input type="hidden" name="userkind" value="any">
                         <input type="hidden" name="subfield" value="on">
                         <input type="hidden" name="msgfield" value="on">
                         <input type="hidden" name="age" value="31">
                         <input type="hidden" name="oneperthread" value="1">
                         <input type="hidden" name="searchboards" value="!all">
                         <input type="text" name="search" size="16" id="search1" value="Haku" style="font-size: 11px;" onfocus="txtInFields(this, 'Haku');" onblur="txtInFields(this, 'Haku')">
                         <input type="image" src="http://yabbforumsoftware.com/yabbfiles/Templates/Forum/default/search.png" alt="Viestit ei vanhempia kuin  31 päivää" title="Viestit ei vanhempia kuin 31 päivää" style="background-color: transparent; margin-right: 5px; vertical-align: middle;">
                      <input type="hidden" name="formsession" value="477F5C5C3E5A7B687B72716E737B706A3E387F736E253E53717A6D5377757F521E0">
                     </form></span><span class="yabb_rss"><a href="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl?action=RSSrecent" target="_blank"><img src="http://yabbforumsoftware.com/yabbfiles/Templates/Forum/default/rss.png" alt="RSS-syöte" title="RSS-syöte"></a></span>


   </span>
             <div class="clear"></div>
         </div>
  



This is uncleaned raw html straight from debugger session Smiley

20%+57%+20% = 97%, which was few pixels too small.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Now on HTML5
Reply #34 - Oct 28th, 2014 at 2:03pm
Mark & QuoteQuote  
The Calendar XHTML rollup doesn't work in in HTML5 - probably a tag mismatch. However the Marquee rollup does work.  Go figure, the better one is the one that's deprecated.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Now on HTML5
Reply #35 - Oct 28th, 2014 at 3:38pm
Mark & QuoteQuote  
Dandello wrote on Oct 28th, 2014 at 2:03pm:
The Calendar XHTML rollup doesn't work in in HTML5 - probably a tag mismatch. However the Marquee rollup does work.  Go figure, the better one is the one that's deprecated.


It obviously needs complete redesign as it is using single column table and we already decided that was bad design idea...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Now on HTML5
Reply #36 - Oct 28th, 2014 at 8:32pm
Mark & QuoteQuote  
I found the tag mismatch - I had moved the table-display styling into a class in the css file - but for the Calendar roll-up it needed to remain as a style rather than a class.  Huh
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Now on HTML5
Reply #37 - Oct 28th, 2014 at 10:26pm
Mark & QuoteQuote  
Dandello wrote on Oct 28th, 2014 at 8:32pm:
I found the tag mismatch - I had moved the table-display styling into a class in the css file - but for the Calendar roll-up it needed to remain as a style rather than a class.  Huh


We always learn something new by making mistakes...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Now on HTML5
Reply #38 - Oct 31st, 2014 at 4:55am
Mark & QuoteQuote  
The XHTML default template is back and the HTML5 is now an optional template. I still have some tweaking to do.

The UBBC folders have been moved out of Templates/Forum/ and into yabbfiles/UBBCbuttons so there only needs to be one copy of the UBBC buttons.
I think the 'new message' button can be styled using just css.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Now on HTML5

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry