15 coolest firefox tricks ever to make browsing better
December 15, 2007 at 9:30 pm | In 05 + Tackling Things | No CommentsAre you a pro-Firefox? If you are and would like to enjoy the Firefox usage benefits further, check out this link posted in Free PDF Ebooks Download forum.
Seriously, cool stuff to maximise your Firefox capabilities!
11 images you might want to avoid in your designs
December 14, 2007 at 4:03 pm | In 07 + Titbit Theory | No CommentsAny designers would prefer to be different on their own sake. To be unique. However, at times when it comes to corporate clients, especially when it comes to designing a site, designers just tend to stick to certain cliché ideas without knowing. Results eventually become dull and common.
How to avoid that? Read this article from snap2objects.com. It does not provides a direct guidelines to strengthen your creative skills, but it does give a list of common ideas that poor designs have been using for ages. Worth to read, and sure to make you smile and think twice before you use it again.
Form does not work in Firefox 2, but works in IE
December 13, 2007 at 4:44 pm | In 05 + Tackling Things | No CommentsThere was a time when website development for multi-version of browser can be quite a headache. As for the issue highlighted here, there seem to be mulitiple reasons to cause it. According to various forums I have been through for solution (yes, I had the same problem before), the most likely reason to cause this would have been Javascript. Some even claimed to be their CSS coding! Which I do believe to be highly unlikely.
Anyway, in case you happens to develop an HTML page with forms and with the following javascript, be careful:
|
<script language="Javascript"> <!– Begin function disableselect(e){ return false } function reEnable(){ return true } document.onselectstart=new Function ("return false" if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } // End –> </script> |
In details, what the code does is, whenever there is a mousedown event to occur on a document for browsers that support sidebar property, the mouse event will be cancelled. Most of the time, the usage of the coding snippet is to disable users’ basic interface feature like selecting, right-clicking, etc.. However, that, in return, also causes the users to be unabled to fill in the input in forms (generally, the input looks as if locked).
Similar cases can happen to Seamonkey 1.x, NetScape 7.x and 8.x, and any other browsers that supports sidebar.
The fastest solution will be to remove the coding. In my case, only removing the particular coding works fine.
|
if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } |
In future, if such errors may occurs again, however, 1 simple suggestion to solve such issue:
0. Stop panicking and do not look at the coding as whole problem cause!
1. Track the codings that you think are the likeliest cause
2. Start disabling the lines of code or the functions (depending on the flow of your coding) 1 by 1 (cut, or comment them)
3. Save and refresh your site
4. If the error still occurs, enable the codings again and disable the next
5. Eventually, you will come to an output where disabling that particular code/line solve your problem.
That is how I solve mine most of the time.
IE7 Flash problem - Click to activate and use this control box
December 6, 2007 at 3:50 am | In 07 + Titbit Theory | No CommentsIf you are a common Flash user or developer or just any Internet user who likes flash, you should notice whenever you mouse over a Flash element, you will be prompt with message “click to activate and use this control”.
According to FixIt.com, “This is caused by the latest IE updates. Microsoft recently lost a legal battle with a patent holder about the way Internet Explorer displays OBJECTs and EMBEDs in webpages. Microsoft then decided to update its Internet Explorer browser with changes requiring user input to display and activate ActiveX based media.”
Thanks to that, users now have to click on the Flash, QuickTime, RealPlayer, Java, etc. files first to activate its functions.
For new developers, how to solve this small issue? Yes, it is quite minor.
Follow these steps:
1. Below the last in the HTML coding, insert the following Javascript:
| <script type="text/javascript" src="IEmatter.js"></script> |
2. Create a new javascript file (.js) via Notepad (or any program you prefer). Copy and paste the following code into it:
|
theObjects = document.getElementsByTagName(”object”); for (var i = 0; i < theObjects.length; i++) { theObjects[i].outerHTML = theObjects[i].outerHTML; } |
3. Save this file as IEmatter.js (or any name that you specify in the src for script tag in step 1).
Alternativelt, just visit FixIt.com and download the above file from there. Remember to right-click on top of download and select “Save as…”.
4. Upload both files to your webserver, and the problem should be solved.
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.