Saturday, May 29, 2010

Sharepoint inline frames

Inline frame is basically a website within a website.
You set an initial website for your inline frame, and then you can click on any links within that website, and only the contents of the inline frame will change.























Subsequently you can modify the inline frame initial webstite by changing the "src" field on your left hand side.

















Lastly, beware if you want to change the whole page (not just the content of the inline frame) by clicking on a link within the inline frame, you need to select "parent frame" in "target frame" under hyperlink properties (that is: right click on a hyperlink, then click on "hyperlink properties," then click on "target frame," and finally click on "parent frame."
If you don't understand what I am talking about, you will soon understand; after you run into a few problems with inline frames, everything will be clearer.

The "target frame" setup can be used for many other useful things.
Have fun, and good night.

Dictionary definition boxes part 2

Before we begin, a "string" is a line of code.

OK

So, in front of a word that is to be defined via a pop-up
box you enter this string, and in the parentheses (what a stupid word)
you enter whatever you want to see pop up.











After you are done, you type in the word that is supposed to be clickable.
In this case "Yummee"










And lastly you finish the string with the brackety slashy A.
You can forget about the brackety slashy P.


Voila,













If you are curious about the whole weird sentence, it's from a movie.
Here is a link to a short youtube clip.

Dictionary definition boxes part 1

A separate definition pop-up after clicking on a word in your web-quest dictionary is fairly easy to implement.













Let's say that we have a pretty usual sentence plus a single word:HTML clipboard

"Carbonize koxohydrates, therm nuclears, make me a sandwich.

Yummee"

And we want to have a pop-up box when clicking on koxohydrates and yummee.

You can obtain the raw code from here.
(The second one)















Go into the split-window mode in Sharepoint by clicking on split. By double-clicking on anything in the lower window you highlight the section of code pertinent to whatever you clicked on (as you can see in the image above).













(It doesn't really matter how many lines you split it into)
To be continued.

Tuesday, May 25, 2010

Videos in Hot Potatoes

It is possible to embed videos in Hot Potatoes. Click and place your cursor where you want your video to be embedded. Then click on insert, and media object. If you are embedding a youtube video, go to youtube and under your video click on embed.






















Then copy the link that appeared underneath.
Paste the link into "Media file" in the window you opened in Hot Potatoes by clicking on insert and then media object. Click on add flash player and then OK.

















Voila, hopefully this will work. If it doesn't, and you have problems like multiple videos displaying and such, write me a message in the comments section.

Hot Potatoes errors

After uploading some Hot Potatoes exercises I received some errors. So if you also receive PHP errors, write a comment in the comments section and I might be able to help you.
For example PHP error on line 1 is really easy to fix.

How to choose a laptop: video card

Video card, aka. graphics card or GPU (Graphics Processing Unit), remember it's GPU not CPU.
This component takes care of displaying stuff, yeah, that's it for explaining.

Choosing the right video card hinges on one thing: do you play games or not? If you don't then it doesn't really matter what video card you choose, and you can stop reading this post, unless you do some other heavy duty graphical work (I am pretty sure you don't). Then lower prices should be your guide.

If you do want to play NEW games, then you need to look for some decent card.
But what is a decent card?

**************************************************
Warning, what follows is very confusing
**************************************************

There are basically three manufacturers of video cards: ATI (AMD), Intel and Nvidia.
Intel manufactures only GPUs that are integrated into the motherboard or the processor itself. These are generally not suitable for playing games.
So, your options are:
ATI Mobility Radeon 4000 or 5000 series; or Nvidia GeForce 200M or 300M series.

For ATI 4xxx and 5xxx denotes the series, and the second digit xXxx denotes the performance category within the series. The last two digits further specify performance.
Therefore, Radeon 5870 is more powerful than Radeon 4870, but 4870 one is more powerful (and more expensive) than Radeon 5400 despite the fact that the series number is higher. Yeah, its pretty confusing.


Nvidia is pretty similar. 2xx and 3xx denotes the series, xXx denotes the performance category, and the last number further specifies stuff within the category. Caveat, Nvidia also uses GTX, GTS, GT ... in that order to determine how powerful a card is. The most powerful card from Nvidia is GeForce GTX285M (M stands for mobile, portable for laptops). The 3xx series has some power-consumption tweaks, but other than that it is basically the same.

If you still want to buy a gaming laptop, visit this site, they have a good GPU comparison chart.
http://www.notebookcheck.net/Comparison-of-Graphic-Cards.130.0.html
for gaming you should not go lower than their category 3.
By the way, when you see SLI or Crossfire in a name, that means that there are 2 graphics cards inside.
Also remember notebook graphics cards are not comparable to their desktop counterparts. They are generally half as powerful (my estimate). This is because notebooks have to keep heat and power-consumption low.

Friday, May 14, 2010

How to choose a laptop: memory and hard drive

The word memory usually refers to computer's "short-term memory" or RAM (Random access memory). Hard drive or hard disk is its "long term memory."
When you turn on the computer things that you and obviously your processor is working with get stored in the RAM. If you open a program (Word, browse the web, listen to music) it gets stored in the RAM, that means your computer is working with it (just like our short term memory). Once you shut down your computer, all of that gets erased (unless you saved it).

Saved it??????????????
But you just said it gets eeeerased.

When you save things, you save them onto the hard drive. Contents of the hard drive don't get erased when you shut down your computer (but you should still BACKUP YOUR DATA just in case). So that important essay, save it onto a USB stick too.

RAM: If you just use your computer for everyday tasks like web, music, movies or essays, then you need at LEAST 2GB of RAM if you have Vista or Windows 7 (4GB of RAM is better).

Hard disk (HDD): The more gigabytes the better.

There are two types of hard drives: ones that spin and ones that don't. The standard type of hard drive is a one that has platters that spin. In this type of HDD you want it to spin fast 7200RPM (Revolutions per minute) is better than 5400RPM. Et ceteris paribus more RPMs means faster file transfer.

The new type of hard drive is called "Solid state hard drive" (SSD). These ones don't have any spinning parts. They need less energy (longer battery life), they are generally faster and sweeter. The downside: they are expensive. Again if you are on a budget, skip them.

How to choose a laptop: Processor

First lets go over different components of a laptop:
I will not discuss netbooks in this post

Processor aka CPU (Central processing unit): The processor is the heart, workhorse ... of any computer. The faster, the better but these days almost all processors are fast enough for an ordinary user (email, movies, music, light gaming ...). So if you are on a limited budget (who isn't) you shouldn't be fixated on getting the best processor. But you should make sure that your processor has at least two cores.

Avoid any single core models. How do you know it has only one core?
If it is an Intel processor: it has "SOLO" in its name or it has "Celeron" but not "dual core" in its name.
If it is an AMD processor: Multicore (with more cores than 1) AMD processors usually have have an X2, X3, or X4 or more at the end of their name. If they lack this or they just say "X" then they are singlecore.
Exceptions are AMD Turion II which is dualcore, and AMD Athlon II which is also dualcore.

How do you actualy know which one is the processor when you look at a specs sheet?
It either says processor next to it, or if it doesn't then look for Intel or AMD and whatever follows that.


What about processor speed?
GHz/MHz (1GHz = 1000Mhz)
Don't get fixated on this either. But it doesn't hurt if the number is higher.



If you want to know more, go to notebookcheck.net
and check out their processor benchmark list
http://www.notebookcheck.net/Mobile-Processors-Benchmarklist.2436.0.html

Relative file names in Sharepoint

There is an easy way to make sure that your website will not suffer from this problem. What often happens is that you save a file and your computer remembers the whole path to the file: C:\Documents\Name\Subfolder\moo.
But we hate that, we just want it to remember the file itself.

Solution:
When you start working on your NEW website:

1, open Sharepoint

2, Click on "File"










3, Then MOVE (Click only if you are an EXPERT) again MOVE your mouse pointer onto "NEW" and wait














4, Now you should see another panel, and CLICK on "Web Site"

5, Now you should see this:

















6, Where you see the red number 1, there you can specify where you want your webstite to be saved on your computer

The last part of that adress (in my case Class2) is the name of the folder that will be created. This save all your stuff in this folder (all pictures, documents ...).

Anything that is saved in this folder will have its adress relativised (once you "link" it in Sharepoint
















You can see it here, the folder in which all is saved is class2. But you don't see that, everything is relative. If I zip my class2 folder and send it to our proffessor she will be able to upload the webite without any problems. Regardles of where your folder is moved, it will always work (just remember to save everything inside of it), and it does not matter how many subfolders you have. You can save your pictures inside a separate folder (as long as the picture folder is within the main folder that you created in step 6.

Good luck with your websites.

Friday, May 7, 2010

Placing your website online 3/3

Now let's say you want to access your website directly by typing

http://www.iloveapa.netai.net/

you don't want everyone to have to spell out the whole thing.

http://www.iloveapa.netai.net/moo.html or whatever

To simplify your website, you have to click on

"Redirects" under "Advanced" on your control panel.














Into the redirect to type I would type:
www.iloveapa.netai.net/moo.html

You just need to type in
www.[your website name].[random].[com/ net whatever]/the file you want to access





















Then you click on add, and you are done.

Now you have an great website.

Thanks to 000webhost.com
You are awsome

Placing your website online 2/3

Now that you have acquired some space on-line, you can upload your website.
Yes, I said upload (I will explain soon).

To understand what that means, type in your address into the address bar.

For me it's:
http://www.iloveapa.netai.net/
For you it's your newly acquired address
If you don't know what your address is, your web-host keeps it under something like "domain" in "Account information" on your right side of the screen.

After you typed in your address, you see something like this

















A good sign. Your web-space is working but you need to copy the WEBSITE YOU HAVE CREATED IN CLASS onto the server (don't worry, it's easy).

Go to wherever you keep your website (flash drive?, desktop?, wherever)
Select ALL the files your website uses (if you need help selecting click here).
Once all your files are selected right click on one of them and zip them ( "add to archive").
Professor explained that in class so you should know how to zip files, if you don't shame on you (just ask me for further clarification).
Now you should have a .zip file that contains your website. CAVEAT- your zip file should contain all the files individually, NOT in a FOLDER.
I want you to zip the files because it is quicker, that way you don't need to upload every single file individually. The web-host will unzip the file on its own once you upload it the way I tell you to upload it.

Now you need to upload the zip file.

In your webhost control panel click on "file manager" enter your password (the one you chose).

Now click on public html












After clicking on THE TEXT of PUBLIC HTML you see this












click on the square box next to default.php









and click on the delete button on the right side of your screen

















Click on the green check-mark















And after that is done you see a new screen
Now click on the blue arrow
















Now you are back to the familiar screen.
Now click on upload button in the right side of the screen.
Now you see upload files and archives
On your RIGHT side you see "browse" button, click on it. I said your RIGHT side, by that I mean not the "browse"button on your left. The left one is for uploading files that are not ziped.















Now find your zip file.

Once you found the file you are almost done.

Click on the green check-mark on your left, and

Click on one more green check-mark (any)

Now blue arrow

Congratulations your website is online

To access it, I would go to
http://www.iloveapa.netai.net/notpauls.html

For you it will be
http://www.[whatever you picked].[random].com/[name of your file]

If you want to be able to access your website by just going to
http://www.iloveapa.netai.net/
read part 3/3

Placing your website online 1/3

Hello my TESL 565 friends,
If you want to place your website on-line, read this guide. It is absolutely free (to do both, read this guide and to place your site on-line).

First you need to get some on-line space. To do this, I recommend http://www.000webhost.com/. If you are one of those who like to type everything [zero zero zero webhost dot com].

Now, click on Sign Up!
Now, you see this screen. Take a good look and a deep breath.




First, you ignore the "I want to host my own domain" don't touch that, if you did touch it just leave it blank, and slap the hand that clicked on it.

You need to chose a name for your website

*******************************************************
Highly technical intermission
*******************************************************
by name I mean:

http://www.[name].you get something random here .com
You really do get something random there, unless you pay.
********************************************************
End of highly technical intermission
********************************************************

Example: Lets say you want to name your website "iloveapa" (I love APA), who doesn't.
Then
In the box titled "or I will chose your free subdomain (recommended)"
You type "iloveapa"

Your website will be:
http://www.iloveapa.comlu.com
"comlu" is the random part I was talking about

Now you need to fill out your name, I can't really help you with that (sorry).
...
Now your email address
...
Now chose a password, noooooo don't tell me.
...
Now type in the password again (yes, the same one).
...
Now enter the number you see in the image. This is to stop spamers.
...
And check "I agree to terms of service".

You should see something like this:


Click on create account

Now, don't touch anything just WAIT, WAIT. Don't click on anything until I tell you.
After a short wait, you should see a site that says

"Account details overview"
You finished the first step.
Congratulations

Voila, proceed to step 2/3