Leosquarez – Website Design and Development

Website Design and Development

When you are building a website and in particular you are styling the contact us page add a google map api in very simple and effective.

Google maps

Google maps

  1. Go to google map: http://www.google.com/maps
  2. Type your address in the search tab
  3. When you find the right address click “link” on the top right
  4. A drop down selection will appear you can just grab the link from there or you can click “customise”

    google-map-api-2

    google-map-api-2

  5. A pop up window will open and in there you can customize you map with different dimensions and views

    Get the source

    Get the source

  6. Here you can get the source and paste that in your HTML code

Done.. :-)

Popularity: 1% [?]

Posted by leosquarez On July - 28 - 2010 Google Service Interesting from the web Web Development

Today while I was creating a new button with the sprite technique I discovered that what it was working in all the browsers (the decent one: Firefox, Safari, Crome and  IE8) it wasn’t working in IE7 and the CSS was not applied.

Pretty much while all the browsers were displaying the button as an image, IE7 and IE6 were displaying a resized default button (very ugly!!!)

My initial code was something like that:

#button_id{
width:439px;
height:53px;
border: none;
clear:both;
background-image:url(../images/btn-confirm.png);
background-repeat:no-repeat;
background-position:0 0;
}

I could not understand why just IE7 (and IE6 of course) were having this issues..

In the end I find the solution:
To display a background in a button in IE7 and IE6 you have to set the CSS style background-color

#order_button{
width:439px;
height:53px;
border: none;
clear:both;
background-image:url(../images/btn-confirm.png);
background-repeat:no-repeat;
background-position:0 0;
background-color:#f1f1f1; /* OF COURSE USE YOUR COLOR!! */
}

ie6

Popularity: 2% [?]

Posted by leosquarez On June - 8 - 2010 Condition EI6 Web Development

Protect your brand, your site and your customers.  Stay in control of your internet presence.

Our Web Integrity Monitor will detect unauthorized changes to your web sites, DNS, Whois and SSL certificates.

You will be notified instantly via email or twitter if your site is hosting malware, blacklisted, hacked or unavailable.

reported-attack-small

Sucuri.net can help you

Popularity: 1% [?]

Posted by leosquarez On May - 4 - 2010 Computer Fixing Tips Google Service Web Development

New business in town (if you live in Sydney)..

Is your website up to date with the new generation of mobile devices?

If not, contact:

Sydney Mobile Web

Sydney Mobile Web

Sydney Mobile Web

Popularity: 1% [?]

Posted by leosquarez On April - 19 - 2010 Leosquarez Service Web Development

If you are going to change the name or move the location of some pages or directories, it is very important to remember that some users will still try to access the old link/url.

To make sure the users will not land at a 404 error page you need to redirect them to the new link/url.

In html or php websites you can redirect users from one url to another using the 301 redirect technique.

The 301 redirect needs be to added on the .htaccess file as follows:

#Moving a page
RedirectPermanent /old-page-name.html http://www.new-domain.com/new-directory/new-page-name.html

#Moving a directory
RedirectPermanent /old-directory http://www.new-domain.com/new-directory
# the name /old-directory is all the path of the directory after the domain:
# for example if your old path was www.domain.com/directory/old-sub-directory and you want change the subdirectory your code will be like:

RedirectPermanent /directory/old-sub-directory http://www.new-domain.com/directory/new-sub-directory

#Moving an entire site
RedirectPermanent / http://www.new-domain.com/

1270093585_stock_folder-move

Popularity: 4% [?]

Posted by leosquarez On April - 1 - 2010 Web Development

To delete or remove a login and password from Firefox you have to:

  1. On the Firefox top menu click on Tools > Options.
  2. Click the tab Security at the top.
  3. Click Saved Password button.
  4. Find the web site you wish to remove in the list. Click/highlight it with your mouse.
  5. Click Remove (if you want delete/remove all them click on Remove All) and click Close then OK when you are finished.
  6. Now the stored password will be removed from Firefox.

:-)

Firefox

Firefox

Popularity: 1% [?]

Posted by leosquarez On April - 1 - 2010 Web Development

If you are wandering if is possible to make a  entire div is clickable this is the trick you have to use:

<div onclick=”location.href=’URL’;” style=”cursor: pointer; height:50px; width:150px”>

Remember to make an entire div tag clickable you have to use the “onlick” function and set the URL you want to link and very important is to change the cursor style to a pointer, to usability purpose.

Is important after to set the height and width.

DONE!

razer-pro-click-mobile-mouse

Popularity: 1% [?]

Posted by leosquarez On February - 9 - 2010 Web Development

Create a better and always update Copyright date with a simple like in php.

Use to show the current year:

© Copyright 2004 – <?php echo date(”Y”) ?>

Popularity: 2% [?]

Posted by leosquarez On January - 15 - 2010 Web Development

I found a really good  list with many php (Free) Opensource CMS

View list.

I suggest as well:

Popularity: 1% [?]

Posted by leosquarez On January - 12 - 2010 CMS Opensource Web Development

JoomlaFrontpage350

While i was updating one of my server website how is running Joomla 1.0 i change the server from a Windows to a Unix server system.

  • Very important YOU HAVE TO BACK UP ALL YOUR FILES AND THE DATABASE

When i receive the new login, i uploaded all my files but i had this error:

Parse error: syntax error, unexpected ‘{’ in /web/htdocs/MYWEBSITE/home/configuration.php on line 1

To solve this problem you just have to:

  1. Delete from the server the “configuration.php” files
  2. Download the full package the last Joomla 1.0 version () i found that here: http://joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseView&release_id=6828
  3. Of course extract the dir
  4. Upload on the server the “configuration.php-dist” file and the “installation” directory
  5. Refresh the browser, and start the installation
  6. Before the installation start go to your mysql manager and (JUST AFTER BACKUP IT) delete the old table
  7. Procede with the istallation.. (host, user, pass, db name…)
  8. When the website is running again (and you delete the installation directory) back to your mysql admin and delete the new database and import the old one..

Done..

Any question leave a comment

Popularity: 1% [?]

Posted by leosquarez On November - 12 - 2009 Joomla 1.0 Web Development

Subscribe here

VIDEO

TAG CLOUD