Showing posts with label Week7. Show all posts
Showing posts with label Week7. Show all posts

Tuesday, 9 September 2014

Project One: A few more websites I like

http://three-studio.com/
I really like how this website has their menu in the top corner hidden in a drop menu and then once you click on it, it displays the menu in the middle of the page. I think the green they use is really refreshing. Love their logo so simple and simplistic just like the rest of their web design and when you hover over the social media icons at the bottom you get a coloured diamond shape in the background. I think that's quite a nice feature.

http://www.macfarlanesassist.co.nz/#expertise
I really like the scroll as a layout and navigation on the home page. Their choice of typography is really nice especially where some has a bit of animation to it. Having the different areas they specialize in shown in different colours is really effective and a good way of distinguishing between them.

http://kina.co.nz/\
I really like the top menu bar and how it uses images and then the text on top as one menu and the underneath it has another menu covering everything on the website not just what they sell. It is a really nice layout and they make good use of a grid.

Saturday, 6 September 2014

Project One: Customising my blog : Image slider

Today I found some code that allows you to add an image slider to your blog. There was a number of different options. I tried them all and some worked better than others.

Here is an example of what one of them looked like. I just used images of some of the other work I have done while studying. I have removed the image slider from my blog now though because I decided that I didn't like having it.



The following website is where I sourced the different code from. It also gives you the option to download it and modify it. http://imagesliderforblogger.blogspot.co.nz/.

Thursday, 4 September 2014

Project One: HTML and CSS simple menu

Today in class I learn't about how you can manipulate your CSS code to have more targeted effects. We focused on changing the appearance of our menu bar (styling a <ul>/unordered list).
Listamatic is a great place where you can get working examples to copy and then modify yourself. A couple of links from the site are:
http://css.maxdesign.com.au/listamatic/ (list based menus)

http://css.maxdesign.com.au/listamatic/horizontal03.htm (a great simple menu bar to start with)

Sometimes you can have menus that can't be entirely built with code. For example you might have an image in your menu. Using a sprite-based menu is the best option. Sprites are image files that contain many different icons or states of buttons. The code is used to move the images around to display the relevant section of the image in the right place. The following link shows this in more detail with an example. http://line25.com/tutorials/how-to-create-a-css-menu-using-image-sprites.

A sprite-based menu is something I should be using for my Evoke website as I have used an image for the search Icon in the menu bar. I haven't used it though. 

The first thing I experimented with was changing the "display" so that it is either vertical or horizontal.  To do this you use the following code: 

#menu ul li {

display: inline; /*horizontal display*/
}

#menu ul li {
display: block; /*vertical display*/
}

My website design uses a horizontal display for the menu bar but I also tested out the vertical display which worked too and is shown below. 



I experimented with one of the listamatic codes. One that puts lines above and below and removes the text decoration from the links (underline).  The bits of code with a pink box around them are the commands that are removing the line from the links and adding a top and bottom line to the menu.  




Here is an example of what it should look like:



Mine has worked the only difference is that I have a horizontal menu rather than a vertical one.  



Here is the code that I have used to do this. In the below image you can also see I have used the code "display:inline" to make sure my menu is horizontal .



I also tried out the pseudo hover code on my menu bar which I managed to get working. I gave mine a blue background and white text for its "hover".  



My original design doesn't have a background, just blue text so I altered the code to get this effect for the hover. 


I also tried using the "#current" tag that we were given to try. It is suppose to indicate when the link is in use/active. I couldn't get this to work. The code for it was:

#menu ul li #current 
{
   color:#cc0000;
}

I found that using the code "#menu ul li a:active" worked instead. 



When you click on the menu button it changes the text colour to purple to show that it is active. The code that I used to create this and the rest of the menu was:

Wednesday, 3 September 2014

Project One: Evoke redesign: Extra additions

Today in class I finally got a hover working on my social media icons. Below is a screen shot of the HTML code and an example of what the CSS code looks like for one of the icons. I have made the image for the "hover" and "active" state of the icon blue rather than grey which you can see in the screenshot of the webpage below.






In my original design I created in illustrator I had the menu bar text and the footer menu's in a different font to the rest of the webpage. Today I managed to get this working by adding a "font-family" to the specific divs. I now have the font "Century" being used for the footer menu (as shown above) and the main menu bar at the top of the page.


Project One: Evoke redesign: Third page and video embedding

Today we learn't how to do video embedding for videos from both Vimeo and YouTube. I decided to make a third page for my website and link it to the "What's On" menu and embed a video from both YouTube and Vimeo.

It wasn't working at first for me but once I added "http:" in front of the link to the video it worked for me. For example: <iframe width="615" height="340" src="https://www.youtube-nocookie.com/embed/UpyXfuwFRsI"</iframe>. When you copy the link from YouTube or Vimeo it doesn't have the "https:" part in the code, you need to add this manually.

I also learn't that you need to put in some code after the link specific to each individual browser if you would like it to be able to be played in full screen. The code you need is as followed:
Google Chrome - ebkitallowfullscreen> and for Mozilla Firefox - mozallowfullscreen>.
An example of how this will look in the HTML code is as followed:  <iframe width="615" height="340" src="https://www.youtube-nocookie.com/embed/UpyXfuwFRsI" frameborder="0" webkitallowfullscreen></iframe>

Here are some screen shots of my third page that I have created with two videos embedded on it:


Video not working:



Videos working: