Just I listen rumours about a version of Apple Safari browser in Windows, yeah in Windows!!!, after iTunes, Quicktime and iPod support for non MacOSX, it's the time for Apple Safari, the main web browser of MacOSX. So, I googled a bit, and bingo!.
Download Apple Safari Public Beta for Windows
The Apple info about Safari for Windows promises so much, faster than all the others Windows browsers (the same promises the rest browsers respect the competence). And we go to test. The installation package weights 7,97MB so the download is fast...
Safari loads fast, this is true, but by now, I have shown a few render bugs testing my designs, by example, <strong> tags or font-weight: bold style is not rendered (but if I copy all the test and paste I can see the lost bold text), this is the most important bug that I have shown. After, I can recognize some minimal bugs in the renderer, with CSS box design, by example the footer of the template for this blog, only shows 2 links columns in Safari for Windows, and shows 3 correct columns in the others browsers.
UPDATE: Safari 3.0.2 version repairs the problem of bold typography. ![]()
Finally, I can speak also about good things of this version of Safari. Really Safari render fast, load fast, and works fast with JavaScript (but sadly, crash in some pieces of code). I think that is too soon for make assessment about this software because the beta state, we have wait some release candidate or final version for we can test the real power of this browser.
Note for developers: This safari version has a spider button before the url field for to send feedbacks about the problems with this beta version. Safari is the most used browser in MacOSX, so it is important if we have a Safari version working in Windows for testing our designs. Help you to apple to improve this software ![]()
I have used the occasion for to improve my template, for minimize the render problems with Safari and other with the footer. Because my experience, browsers have difficulties with float layers in many designs yet, althought you respect the standars.
Labels: design
Since the latest design (chinesse template) was broken because the images that I uploaded in ImageShare was removed I want to change the design of this blog. I had a default template of blogger for the transition but finally I have got a completally redesigned blog.
This is the steps that I have done:
1. Vectorize my face
Yes, vector art is funny, tedious but funny. Four hours later I have my face vectorized, I follow a simple and good tutorial, Vector Art with Photoshop. And this is the result:
2. Make the design
This step is the most creative step of the process. I choose Xara Xtreme as the perfect program for web design, it is a vector program like Corel Draw, but very very more simple and fast to use. Six hours later....
3. Make the HTML template
Bored, and difficult step. When you have the image of the new template, the next step is take the Dreamweaver, and div's, id's, classes later and after laught one hundred times "Fucked fucked Internet Explorer", I have the HTML template.
At the first time, I design for Firefox, after, I check my CSS+HTML code in Internet Explorer, some conditional comments here and there... and finally I have my template in real HTML (all CSS, no tables).
4. JavaScripting my template
I have made some tabs panels, for links, profile, archives, previous posts, because I would like a clean center block, without any column, so I can use all the screen width for the test (I would like to write code and I need all the width). So I have the info block in the header and the footer. I based my script in jQuery library.
/*** HEADER (TOP TAB PANELS) ****/
/*** CLEAN CONTENT ****/
/*** FOOTER (BOTTOM TAB PANELS) ****/
Also, thinking in writing code samples I need some for beautifully the code, and I remembered the code viewer sample of Mochikit, that it use Code Syntax Highlighter script and that I like it.
$(document).ready(function(){
$("#tab-archives").click(function(){
$("#profile").fadeOut().hide();
$("#archives").show().fadeIn();
});
$("#tab-profile").click(function(){
$("#archives").fadeOut().hide();;
$("#profile").fadeIn().show();;
});
$("#tab-links").click(function(){
$("#articles").fadeOut().hide();
$("#links").show().fadeIn();
});
$("#tab-articles").click(function(){
$("#links").fadeOut().hide();;
$("#articles").fadeIn().show();;
});
$("#title").click(function(){
document.location.href="http://letmehaveblog.blogspot.com/";
});
$("pre.javascript, pre.html, pre.php, pre.xml").each(function(){
inner_code = $(this).html();
inner_code = inner_code.replace(/
/gi,"\n");
textarea_ins = $("").attr({
"name": "code",
"class": this.className
}).val(inner_code);
$(this).after(textarea_ins);
$(this).remove();
});
dp.SyntaxHighlighter.HighlightAll('code');
});And finally, optimizing the code, for this I have used Dojo ShrinkSafe, compress all Syntax Highlighter related files in one reduced file stripping the lines and without comments.
5. Upload the external files in a web storage server
Blogger service has not external storage features, so I can insert inline the CSS code and all the JavaScript code, but the images is not possible, yes I can upload to flickr but... I have a web storage server in USA with 1TB of capacity so I have uploaded to a folder in my main domain www.sevir.org . And I can use relative url's in the CSS without problems.
6. Convert the HTML template in a Blogger template
I have take the default template that I have used and this good help, Publishing a Blog with Blogger. Then I have need a list of categories (labels in blogger syntax), but I read that there are two differents methods for templates, the old (pseudo tags), and the new (XML expanded namespaces), I have not any sample of the new template syntax and I have not time to read and learn the new template syntax.
The decision is clear, I have used the old method, and I have made the category list manually. Remember update the list regularly...
7. Final retouchs
Finally, I open Windows Live Writer, Tools > Accounts > Editing > Update Style, for download the new style in Windows Live Writer preview mode. Now I can say that I finish. A weekend later
The result, you can see it.
Labels: design
Another website helps us to make collaborative mindmaps. Specially in schools, is more interesting the use by groups of students.
Source: www.mind42.com
Labels: e-learning
YAV is a JavaScript form validation library. Very simple and with many options.
This morning I spent two hours with a dummy error in YAV with my form. Simply, if I have some YAV rule with a id or name of one form component (input, select,...) and this name or id is repeated (if I have array of selects) YAV treats them as checkboxes or radio buttons so the validation not works.
Solution: Makes rules by id's (id's are unique) and never, never use the same text for name and id (better id:id_name name:name). Then I have not any problem
.
This link says all: "Another stupid bug of IE 6".
I can not set the selectedIndex property in document.Domready or window.onload event because doesn't work. Perfect!!!
Please, get Firefox!
Yes, I hate them!!!. So I stand hours and hours designing a website, all standard with CSS, all accesible, and, when the testing time arrive works perfectly in my favourites browsers (Firefox, Opera and IE 7, in this order :-P), but, soon my parners calls me...
- the design is broken with IE 6 for Windows 2000 and Firefox 1.0.0.7.
- what!!!???
Fuck, fuck, fuck.... Grrrr, I hate that old browser from the prehistory. Simply, IE 6 fucks all float layers, and, the tabs, render wrong,... ;-( nooo!!!
And now, the solution? Does it make all again? mmm,... tables...tables....
I hate the standars of the web ;-(
I know, M$, puaj puaj, but, if they have made something good, then I use it. I forgot the latest version because a problem with the new version of blogger was not supported by Windows Live Writer.
Sometimes it is useful to have a desktop program for publish in my blogs (anyway, I don't update any of my blogs), but I allways try it, each certain time.
Mmm, and, Can I try about?.... Let me see, I will test some of plugins that I had installed.
Maybe, source code:
1: //Para los selectores de hora
2: $(".iterator").each(function(){
3: this.options.length = 0;
4: for (var i=0;i<= $(this).attr("tabindex");i++){
5: $(this).append("<option value='"+ i +"'>"+i+"</option>");
6: }7: this.selectedIndex = $(this).attr("title");
8: });Or a Youtube video (Microsoft Surface, sounds a MIT project):
Or an image that I can upload to Flickr directly with a plugin:
Interesting the plugin for upload Flickr images, just it is that I want. Because I can upload images to blogger (that i think).
Now waiting if I can upload this post to blogger... three...two...one...








