www.netsi.dk

"The internet is just a layer on the real world" (don't forget that!)

Work-arounds for 9 MSIE bugs…

If you implement on the web, chances are that you have to make som work-arounds from time to time. The page “9 Most Common IE Bugs and How to Fix Them” is a great resource for avoiding such bugs to mess up your layout.

Here is an example from the :

The output you’d expect:

Tutorial Image

But what IE actually gives you:

Tutorial Image

This is mainly due to IE6 in quirks mode and below not recognizing the auto value we set to the margin property. Fortunately, this is easily fixed.

Share

Snippets: Dynamicweb snippets

If your are working a lot with the CMS system you will find these snippets very handy! I have allready been published a very useful “eval window, where you can see a description about how to “install” it in your browser. Below are five other snippets targeted for users of Dynamicweb CMS.

I have choosen to set the snippet in as a link on each word, so what you need to do to get the actual code is to right click and choose “Copy destination”. On your clipboard the snippet will be then to use as I wrote in the article “eval window“.

Here goes:

  • Log off – Use this to logoff a an extranet user
  • Admin – Open the ADMIN (backend) of the current Dynamicweb CMS site
  • Empty cart – Well… Empty the shopping cart
  • Save Template XML – Will add “savetemplateXML=true” to the current page, which will make Dynamicweb CMS save the XML in the respective template folders
  • GetImage – Will open the “Get Image” URL generator of your Dynamicweb CMS – very usefull!

Oh, and You ofcause can right click the link (snippet) and choose “Add to favourites…” :-)

Share

Snippet: eval window

Here is a very usefull which you can put in a link in your () browser. It opens a new window from where you can execute in the context of the parent window. Very usefull! Here is the snippet code:

javascript:void(eval("var s = '<script type=\"text/javascript\">function doEval(s) { opener.eval(s); }</script>';s+='<textarea rows=10 cols=80 id=source></textarea><br /><input type=button value=Eval onclick=\"doEval(source.value)\" />';window.w = window.open('','','width=700,height=210');window['w'].document.write(s);window['w'].document.title='Debug window'"))

To add this snippet to your browser follow these steps:

  1. Copy the code above to the clipboard
  2. Add this page to your bookmarks – in the link area.
  3. Edit the bookmark, replacing the URL with the copied code on the clipboard
  4. Save, while accepting any warnings about protocol

Using it is simple. When you are on a you simply – press the link just created, and you get a new window in which you may execute javascript. The script will run in the context of the original window so you may explore the DOM and any other relevant information.

Share

Weblogging directly from your browser

Weblogging directly from your browser

fhmHytex – Velkommen

Okay, we are really getting there! Can it be easier? With a few settings put correct I now has the option to directly to my WordPress simply by pressing the “ it” button in Internet Explorer 7.0! Nice, really nice!

Before the content will be on my blog, I get the chance to write extra information and enrich it. Below is a test – this has been submittet directly from internet explorer…

 - In case you wonder where the image and the link to “Hytex” is from – it is the site of a friend of mine.

Share