iframe target link to parent

Posted July 31st, 2009 in blog by admin

My friend ask me about iframe in HTML. He has page1.aspx, page2.apsx, page3.aspx.

page1.aspx
[sourcecode lang="xhtml"]
<html>

<head>
<title>Page 1</tite>
</head>
<body name=”home”>
<iframe src=”page2.aspx”></iframe>
</body>
<html>
[/sourcecode]

page2.aspx

[sourcecode lang="html"]
<a href=”page3.aspx”>Page3</a>[/sourcecode]

He click Page3 link in iframe and page 3 is appear. He don’t want to show in iframe and he want to change in main page. So, I change link look like that

page2.aspx

[sourcecode lang="html"]
<a href=”page3.aspx” target=”_parent”>Page3</a>
[/sourcecode]

Most of the people forget about target in anchor tag. Most people just use target attribute for blank page. They forget about parent. Parent is useful for iframe. If you want to do with javascript, see following

page2.aspx (with javascript)

[sourcecode lang="html"]
<a href=”#” onclick=”parent.document.location.href=’page3.aspx’”>Page3</a> 
[/sourcecode]

UTF-8 Format can't work with session

Posted July 30th, 2009 in blog by admin

I wrote PHP code for image verification with a myanmar word but header already send error occur. I check the code and it’s OK. I make a new php file and just test again it.It’s also occur. So, I googling and I found the error it. I used UTF-8 file format. UTF-8 send header when run a php code. So, I r="wsPlainMouseOver(id)" onmouseout="wsPlainMouseOut(id)">change file format to ASCII and run again. Wow… it’s OK. So, I can’t write image verification with a myanmar word. Myanmar character use UTF-8 file format and its nightmare for me.

 

WhiteSmoke

Posted July 27th, 2009 in blog by admin

I am using WhiteSmoke now.It’s a grammar and spelling checking. My grammar is not good and some of my spelling may be wrong. So, I must use WhiteSmoke for my blog. We should use WhiteSmoke in our proposal and also my blog. We can use any application with WhiteSmoke. We just use F2 and then WhiteSmoke will open it. After that we can replace the right grammar and spelling  and then apply it. Nice design and easy user interface.

JumpBox

Posted July 22nd, 2009 in blog by admin

Today, I am reading Linux Journal and I read about JumpBox in Cooking with Linux column. Linux Journal is so nice for Linux user. Now, I have VritualBox that like Virtual Machine and downloading sugarcrm with JumpBox from www.jumpbox.com. We don’t need to install LAMP and we can run sugarcrm easily. You also test if you don’t knwo JumpBox. I want to tell more but I just download sugarcrm and need to test.

First Time use TigerCRM system

Posted July 22nd, 2009 in blog by admin

Today, I am first time use TigerCRM system. I am not familiar with CRM. Today, I am testing and learn what is CRM. So, I download TigerCRM that is a popular CRM in opensource. TigerCRM is so nice. It’s easy to use and nice design. It have 4 role that are Admin, Marketing, Account, Production. Most of the myanmar people don’t know about CRM and most of the office don’t use CRM. We should use CRM in our office that I thought. I need to learn detail about CRM and after that I will write what is CRM and how it work ?

Page 1 of 512345