Quick and Easy Super-Customizable Tabbed Content in JavaScript and CSS
Requirements: HTML (basic understanding), JavaScript (basic understanding), CSS (basic understanding)
As a web designer, I’ve found many uses for tabbed content. However, all the online tutorials are all referencing external JavaScript files, or images, or you can’t play around with the layout without screwing up your entire page layout, or ARRRRGH I hate them!
So I devised an incredibly simple and versatile method to build a simple tabbed layout. You can customize it in any way you want, add or remove pages, change sizes, do whatever you want with it! You can make your “buttons” go anywhere on the page, same as your content. Granted, the coding is quite messy, but the end user isn’t generally going to be looking at the code anyways, so no big deal!
The Clash of Ignorance, the Unstable Political Situations, and the Loss of Culture
In the recent years, the world has seen an unfortunate increase in conflict between the East and the West. After the horrific events on September 11th, 2001, the magnitude of the international strife has increased profoundly. Regrettably, this conflict has multiplied, rendering the global situation direr as the years pass. These conflicts occur due to a combination of factors, which, if remedied, can affect the future in significantly positive way. This is important because these conflicts have already led to millions of deaths and a negative image of both sides in the other’s eyes. The negative image has led to prejudice, anger, and irrational behaviour on the global scale, including acts of terrorism and violence. As the world moves further into a globalized and pluralistic state, the importance of reducing these conflicts becomes more paramount than ever. In order to secure a bright, globally cooperative future, it is necessary to take measure which can alleviate some of the strains which cause conflict.
Williamizing: Episode 2 – The Historie of Robert the Sponge
Williamizing
By Rameez M Virji
THE HISTORIE OF ROBERT THE SPONGE
By William Shakespeare
ACT I
Scene i
A Portrait
Enter Pirate, Robert, and Children.
PIRATE: Be thou all prepar’d?
ALL: ‘Tis so, Lord.
PIRATE: Ottis Media! Repeat thou!
ALL: ‘Tis so, dear Lord, ‘tis so.
PIRATE: O! Who doth live in a
Exotic apple,
Live under Poseidon’s tomb?
ALL: It must be Robert the Sponge,
He who hath the quadrilateral trousers!
Williamizing: Episode 1–The Comedie of the Freshe Prince of Belaire
I would like to take this opportunity to introduce a blogseries I am starting, called “Williamizing”. Basically, I will take popular stuff and turn it into a Shakespeare play. I’m stoked like a bonfire.
Williamizing
By Rameez M Virji
THE COMEDIE OF THE FRESHE PRINCE OF BELAIRE
By William Shakespeare
ACT I
Scene i
A Chair
Enter Willard, on Chair, accompanied by Lord, Duchess, and Torchbearers.
LORD: Sir, what be thy story?
WILLARD: I shall tell it now.
This is the histoire, telling of how
My life ’twas returned complete round.
‘Twas flipped.
LORD: Flipped, sir!
Hey there, Khalaila
EDIT: So apparently there’s already a “Hey there, Khalaila”… my bad! Didn’t mean to copy! Here it is
I’m at a camp called Shad Valley, and there’s this cool guy from Iraq named Yehyah. When another cool kid named Mark was playing Hey There Delilah by the Plain White Tees on his guitar, Yehyah devised these parody lyrics. No offense intended, only meant to be a joke. I’ve modified a few parts.
The whole point of this song is not to enforce stereotypes, but rather to ridicule them. The song was written to show the ridiculousness of the stereotype against the middle eastern countries. The point is, the stereotype is wrong.
The most hectic day EVER!
That was the longest day of my life. I blogged previously just before leaving Calgary, to go on a trip that would end up like hell. Here’s how it went:
First, I got shafted for not showing up early enough (I missed the cutoff by just a few minutes). Alright, understandable. From there, it just went downhill. I shuffled onto the old 737 and discovered to my horror that I was squeezed beside a morbidly obese woman who smelled strongly of unspeakable things. Disgusting, and for 3.25 hours. Not fun. I decided I could take my mind off of it by watching the movies on the flight. Guess what? THE ENERTAINMENT SYSTEM WAS DOWN. Dammit. Okay, let’s sleep, shall we? Nope, the weather is so bad that the ride is turbulent, and there’s a %^@$*! loud baby in the back screaming its head off. Don’t get me wrong, I love babies. They are precious and cute. This baby, however, deserved to get punched in the gut. It was the most annoying baby I have EVER had the misfortune to see/hear. So no sleep. Let’s read? Nah, the magazines are all in French, which I’m too lazy to read. Let’s… use the laptop. Battery died. Dammit, I gotta spend the rest of the flight looking out the window, bored out of my mind.
At the airport…
I am currently writing this using YYC’s free airport internet while sitting waiting for my flight to Shad Valley. I decided to blog about airports. So here goes.
ALWAYS REMEMBER TO COME *AT LEAST* 90 MINUTES EARLY!
This really screwed me over today. I came 60 minutes before my flight (it’s a domestic one, so 60 mins should be fine, right? WRONG.) Because so many people are going on vacation, it was really busy, and I ended up trying to check in 8 minutes later than the deadline.
I couldn’t believe it when they said I can’t make my flight. They had to reschedule me to a later flight which means I’ll be arriving at Shad 8 hours later than originally planned
. So ALWAYS REMEMBER, come 90 mins early at least.
My Trip to Vietnam and Cambodia
This spring, I travelled to Vietnam and Cambodia on a humanitarian trip with my school. (Look for the videos on It Asploded! soon!) I thought I might share with you the final journal entry I made after the trip, which summarized the whole experience:
Final Reflections Journal – Rameez M Virji
Travelling to Vietnam and Cambodia was truly an eye-opening experience for me. It was my first time in Asia, and initially I was extremely excited to visit Vietnam. In the end, however, it was Cambodia which I enjoyed the most. When we first arrived in Saigon, I was impressed by the hot temperature and beautiful scenery. The palm trees on the sidewalks were contrasted with the thousands of mopeds on the road. I enjoyed bartering when we went to the markets; it was really different from what we were used to back in Canada.
Sid and the Pens win it!
Sid the Kid finally got what he has always dreamed for – the Stanley Cup! He became the youngest captain in NHL history to hoist the Cup. Powered by a couple of great goals by Maxime Talbot, the Pens defeated the Detroit Red Wings in game seven of the Stanley Cup Finals. They were the first team in over 20 years to lose in the finals then win it the next year and the first team in over 30 years to win the cup away from home. The Pens kept it going even after Sidney Crosby, their superstar captain, was injured in the second period. They won 2-1. Fleury made a great save with just seconds to go to preserve the lead, and win the Pens the Cup. Evgini Malkin won the Conn Smythe trophy. They really deserved this trophy and did not let any loss get in their way. Detroit should not have even been in the finals, as I believe that Chicago should have won the Conference Finals. I am very glad that the Penguins won. I mean, c’mon, Detroit??? They are a bunch of oldy’s with a good coach, that’s all! The Pens have real, young talent. and a great coach! They got what they deserved!