Z-Index and you. It’s not just the last letter in the alphabet.

The great z-index property and how it makes your life #%*. Before reading on, I recently amended an explanation below to just give an idea of what this property is and how it can be confusing in a few different ways. Prepare yourself for the cliche statement now. If you are not familiar with CSS or HTML it is suggested that you catch up and study those 2 topics first before reading forward below. Wow, that almost read like a recording… So to continue.

The z-index is a C.S.S. property that assigns the stack order of an element in the DOM on a web page. For instance, the element which gets assigned a higher stack number(value) from the C.S.S. z-index property will sit on top of another element on the web page with a stack order number value that is lower. If the 2 elements positions are the same or very close to each other that is. In the example below the code indicates that you have an image with class selector named img_one in C.S.S.. In this case since the we are assigning a negative value this image now has the capability to sit below another image with a value that is not negative like 1 for instance.

.img_one {

position: relative;

z-index: -1;

}

Please note that for the z-index property to initiate(work), we first need to make sure that the position: property must be there and have a value set to it like ‘relative’ in this case. Never static or no position set at all.

One tidbit teaser. Never use static with this. Your elements are gonna have to have a position attribute declared in CSS that is anything but static. (Static is default for those that don’t know)

No, not static like your laundry. If you are having laundry issues just stay home and don’t bother with that meeting in front of the CEO or CTO this morning.

What are the 5 position values for this property called when associated with CSS ? Recruiters pay attention to this so you can ask this on the next test for your prospective candidates.

static (ignores z-index property like a bad date)

Relative(is fine with this)

Fixed (seems like it should mean static but you must declare making it different)

Absolute(yes. Just what is sounds like)

Sticky(don’t ask)

So here is the rest of this technical rant and it gets personal. Sorry, you are going to have to endure. I promise it will all make sense in the end. Maybe? Ahh, have confidence in me!

When I was a wee lad and working at a once popular rich media advertising company (the comings and goings of startups), I was on the dev team there as a JavaScript developer cum Q.A. analyst. I believe that being on a development chain/team is now popularly known as SCRUM or Agile? Cool terms because it all sounds cool to make everything an acronym just like the military does. We had version control and all that to a certain degree then…sorta. We just didn’t have the new fangled, dangled flashy descriptions like SCRUM, Agile, Fragile, Star Spangled. You know. Keywords in the nomenclature of tech that makes things sound more important than they might be. Even if they only make the rounds in the tech mags or job interviews as topics for a month. You’ve used them. Don’t pretend you haven’t. And don’t pretend you knew what some of them were at interviews until you were asked. Then you looked them up secretly when you went running to the bathroom to “use the restroom”.

So, I’m sorta rambling. I told you this might happen. Let’s get back to it. How did z-index even affect me back then? Well, I remember when a lot of elements needed to be in a small area on a website inside of an iframe that meant the area you were working with was limited and tight pixel wise. Depended on the size of the thing you working on. In this case an ad unit on a publisher site.

Lets say you have an ad unit that was being displayed on a publisher like yahoo.com’s front page and the spot or iframe the unit would be displayed in was a 300×250 space. Then lets say you had a lot of content to get across the to visitor in that little ad(more bang for the money). Well sometimes these elements were so tight and overlapping that you may or actually would see something called “shine through”. WHAT!? Hold your horses and stop the train! What the #@*& is shine through? Well, actually I think it was a coined expression that was an accident. I personally have never ever seen this term as any technical explanation on any forum or site or tech spot with any validity.

But still, let’s explain what “shine through” was supposed to be for the purpose of the property z-index issue. Well, if you can think of a thin sheet of wax paper that is usually used for cooking with a big round spot of grease on it and when you hold it to the light you may be able to actually see through it. SHINE THROUGH. I am not sure if our accounts team made this term up to explain their idea of what the z-index problem was or if it was another team somewhere else in another galaxy but anyways, if any of you all have ever heard of this somewhere else then send me a text.

There is usually a lot of text content in a div that gets over layered in this problem and sometimes, if not most of the time, you can see the element on the page or the color of the div that is layered underneath making it hard to read. Hard to read the copy content on the top current div that is of ultimate importance to the end user/visitor. It looks crappy okay!

So for the technical at heart I apologize for the above. For those who love drunk tech post explanations then…your welcome! I am joking.

In summary we have here a technical explanation and a very non technical explanation of what z-index issues are or what z-index is in general. I do know that this post is angled at looking at the z-index property from an issue’s point of view but remember the point of the z-index property is to evoke functionality that helps to make your elements on a page work lovingly together to display layered beauty. Don’t judge me. I’ve got to convey this message somehow! Happy stacking.

Advertisements

I have nothing to fear but fear itself

What is this ? World war 3? Who’s quote was that!?!? Come on, do not use the internet. Okay, go ahead. I’ll give you a hint. He was president 4 times in a row( Yes, 4 times). Try fearing that nowadays with the people running for office now!

fireside_chat

I felt it finally necessary to release the next few tracks. Maybe the dust has finally settled in the realm of music and absolutely nobody is left standing. Not even good music anymore. I can say with final certainty. With the coming on and on and on of the “millennial whoop” It reminds me of the days of the late 90’s when people used to listen to that electronic music with the strange hand and arm movements and the pacifiers.

Luckily for myself the only experience I have with pacifiers is with my very own children. I am happy to announce I never partook in the oral pacification of that genre. It was at these times in the late 90’s that I turned to reading and listening to the heavy “drone y” music of The Velvet Underground and such. In my opinion I feel between The Velvets and Gaston Leroux’s Phantom Of The Opera that these 2 things brought about subconsciously the idea of the goths and the goth movement. Not Siouxsie Sioux and her covers. The writing of Gaston coupled with the solitary drumming of the floor tom and mallet by Moe Tucker I think did it. Subconnnnncioously…..

As I force open the heavy lids of my insecurity in vain I , through my own vanity release these tracks.

Here are a few of my albums songs. Below. Thanks,

Wrightwood

Peter Mercado

 

Have you ever noticed that the best words are three syllables

Has anyone ever noticed that the most beautiful words in the world are three syllables…
Are they really? Ahh , who cares. That’s not the point.
You are not allowed to use my above quote. Guess what that line is for huh huh??
It’s my ghetto copyright.

So the other night I mentioned I was going to friends b day party at Spaceland. ( I refuse to call it Satellite) here in California and as I drove over a hilly street named Glendale blvd something happened. I hit the crest and banked over into the other side of it and low and behold in the dark on the road was a shadowy figure of a guy laying in the street under his black motorcycle , wearing all black and in the darkest most dangerous part of that other side of the street! ( on the hill).
” ‘For fucks sake! ‘ ” I exclaim and slow down quickly . Luckily I am not that fast a driver so I didn’t hit him but I swerved around him and looked at him on the ground the entire time while I was passing him. Like the pan of a camera using black and white film.
Well , of course I pull over and run as fast as I can back up the hill towards him and I can see he is struggling to pick or push the bike off of himself but to no avail. I run up thinking I can easily lift this thing off of him but I cant.( It’s pretty heavy and I dont work out.) I finally get up and off and kick out the stand and then pick him up. He’s got blood all over his face but I can access he is not too badly hurt. Just banged up. He’s laughing . He’s drunk. I struggle then to get that damn motorcycle off of the road and for some reason luckily and amazingly not a single car goes by. Not even a mouse. This is weird for L.A even at 1 in the morning. Amazing actually.
I get him to take his helmet off so I can see whats up with the rest of his head. He’s fine. I tell him he has blood and grease all over his face but he laughs and exclaims. “Well, at least my hair still looks good right?” . Actually he was right. His hair was all in one place as if it wasn’t ever a part of him and how he looked from the brows down. Sheesh, I think . Ive got to get this guy off the street or it’s DUI time for him. The flat tires on that bike and the gears that wouldn’t even shift for me made life difficult and bit treacherous at that neck of the street but whatever. Just get it done Peter.
I convince him he needs a ride home. We leave the bike there and I take him to his place which is on Echo Park ave. not too far from me.
Funny thing. I’m a little freaked out afterwards and see my friend. I tell her all about it. She looks at me and says. ” Wow, that’s crazy. Wanna share a beer” I look at her and pause then I say ” ‘ Sure ‘ ” The end. Or is it?!?!?!

This is supposed to be a blog about my music right!?!? Guess what. Today I got on with a publishing company in Europe who will be managing my licensing to whomever may want it. They seem to have many clients. Not gonna mention who they are yet but I will. This is good since that’s where music is going nowadays right? It is has been I suppose forever but it’s just more the thing now.

mysteryhipster

The above image is a photo of Mystery Hipster. Have you seen him? We were lucky to obtain this one photo of the elusive character. His identity remains , well. A MYSTERY!

I know it’s strange to break up a story like Ive done here from the above but I’m strange.
SOOOoo. my friend texts me days later. My friend who offered me the beer that crash filled night and she continues to text saying. “remember the guy you helped with the motorcycle the other night?!?!” I say , ‘yes’. She says. “That was my friend and he tells me to thank you”.
I mean I get it . It’s not so weird here in the Echo to see people over and over and everybody knows you name like Cheers (sorry) , but it’s still kinda weird?

I was under the impression you were gonna impress me….

More to come.

:20 minutes goes by:

valley_video_2

I know right? What am I doing being a lame nerd on my WordPress phone app and trying to blog from a local watering hole that is verrrry inclusive and not at all non inclusive or exclusive to say the least.
Alas I am home now and I can hear 2 separate parties going onst at the moment here in what is called Echo Park. A district of Los Angeles with bohemian traits flowing back to the 20’s. Literally.
That’s impressive! To hear the echos of 2 separate parties ongoing from the window sill here in Echo Park. What eves as the cool kids say.

I was having a drink with my producer and his wife and another very talented pianist fellow of local , within the know , known-st. And now It’s time for bed somewhat in the vain of the Lawrence Welk Show good-night’s of the early 60’s and syndicated in the late 70’s on television. I thought those shows were live! F you Lawrence!
What am I talking about? Who knows. All I know is that it’s bed time west coast style.
Night…

I was under the impression you were gonna impress me …

More to come.

:20 minutes goes by:

valley_video_2

I know right? What am I doing being a lame nerd on my WordPress phone app and trying to blog from a local watering hole that is verrrry inclusive and not at all non inclusive or exclusive to say the least.
Alas I am home now and I can hear 2 separate parties going onst at the moment here in what is called Echo Park. A district of Los Angeles with bohemian traits flowing back to the 20’s. Literally.
That’s impressive! To hear the echos of 2 separate parties ongoing from the window sill here in Echo Park. What eves as the cool kids say.

I was having a drink with my producer and his wife and another very talented pianist fellow of local , within the know , known-st. And now It’s time for bed somewhat in the vain of the Lawrence Welk Show good-night’s of the early 60’s and syndicated in the late 70’s on television. I thought those shows were live! F you Lawrence!
What am I talking about? Who knows. All I know is that it’s bed time west coast style.
Night…

Subliminal but in your face.

My rants and my raves are nothing different from the braying child next door.
I will not be negative tonight. No point. Lots of good things are happening.
Sometimes I write or say things that mean completely different things. Layers deep. I’m not gonna go down that rabbit hole right now. I’ll keep my , ahhem, thoughts to myself.

valley_video_1

About the above photo. It looks bad I know. Dont ask.

I am going to be a bit more social tonight than I was last night. Last night I was talking and having a drink with a good friend. A tall lanky fella of the most artistic nature that most other friends of mine have yet to meet. We laughed we cried. He is a great musician but there is no way we can possibly work together with the likes of each other. That’s a joke. We could. Our lives are much too busy as is yours.

Unbeknownst to a few important people that would probably need to know, I am making some certain plans on some show dates coming up. I just don’t have the dates yet. Is that oxymoronic? No. Is that a word? No. The dates are a coming and they will be somewhat local sorta… It depends on how the audience member feels that day as far a drive is concerned. Dates soon. Must consult the Oracles before I write anything here on any definite shows.
My very next show I do with a full band will only be the third i’ve done that way with this project. Project Wrightwood or just Wrightwood. I prefer that over the basic singer , songwriter hoopla thingy that always seems to be the deal a lot around town. I mean I get it. It’s easier that way. It is fun also I admit. I wont knock it. I just just miss playing with a full band right now.

In the mean time here is a short video of me playing High As Birds Fly in Pasadena Ca. I didn’t really tell anyone I was playing. I wanted it to be organic and it was and it was nice. And guess what… I am playing it solo! Oh man, what a hypocrite I can be.

Dont Laugh at my gut Ive been working out

In other news, currently I am applying a little elbow grease to effectively rub elbows and to fraternize this evening with some good friends for a birthday. Many talented people of the musician like nature and similar associations. It’ll be fun!

I’m coming in last again.

Well, I seem to be at the end of the line again but if I simply turn around and face the other direction I am first once more. Is this what “trying” to be unique is all about?

something_from_video

Someone asked me today when I would release the Wrightwood music video of Valley. I want to say that timing and time is everything. There are so many who dont understand that concept…(the next rant and rave is not about the person who asked me that question by the way)
The voluminous amounts of people who want instant gratification all the time with instant leaps and bounds of success astound me. What has television or internet or cable programming done to us? I would ask you to maybe take the time to think about this but then, you wouldn’t. You wouldn’t take the time. People want instant answers of depth and magical perception unattainable by human beings in the real world. Then there is the intent from others who eventually, tire of explaining that even for them answers and solutions come with time (myself). These instant gratification mongers are sometimes not unlike the many new drivers on the road nowadays who make left turns from the far right lane and think nobody else is being affected. Ahhh, now we get into something else here.
Is that just plain idiocy or is it a massive, immeasurable amount of narcissism? Please do not get me wrong however… The wonderful person who asked me about my music video is not any of the things I have mentioned above. She just reminded me of someone else for a second. Now once again, do not get me toooooo wrong. I am guilty of wanting the world instantly at my fingertips but I have to recoil at myself sometimes and slap my own hand.
AND with that here is my music video. I finally decided to do something with it. This isn’t an official release. That will come later with plenty of P.R. Sorry I had to give you , the readers, such a hard time at first before spying this link below.

Valley music video on MTV

Oh, by the way. I know I always say I haven’t wrote an entries in a long time and that I need to more often. The problem is that , that more often seems to come after every time I submit a single post I admit. That will change. NOW…

Here is my 2 part quote of the day as well.

I must say that the loudest voice I’ve ever heard is the one inside my head. Although I know its clarity has often been be muddled by my passersby-ers. Therefore the farthest place Ive ever gone too is to the furthest place in my mind.

Oh yeah. I am back on the music thing. Setting up a show, rubbing elbows and getting a couple bran new songs together. It was, I admit easy to pick the 2 because I have a crap load now. That doesn’t mean I’m recording them with Andrew yet. Getting the other 9 done first now. For reals.
Somthing else to click on. I am not sure what it is.

How dare you sir! I challenge you to sharp glances and rolling of the eyes at…

How dare you sir! I challenge you to sharp glances and rolling of eyes at 30 paces or the same length as a bar counter in Los Angeles.
I told a friend the other day I was “going to start becoming more of an @$#hole” and he said in return. “Haha, Peter Mercado you don’t have one bad bone in your body”
AndrewLynch_ERMF_2012_4
I got a letter in the mail the other day.It was a bill. Were you expecting something else? Well,I have received REAL letters in my life still but they are few and far between. Mostly great letters of friends getting married and such! It’s been a great year for that.

I think it’s time for a coffee today. My friend Jeremy is in town from London.He works in the media world so it’s great to have a perspective from “across the pond” as opposed to L.A. experts on TV, Movies, etc..
Coffee…Oh yeah, that reminds me.I played a small acoustic set this last weekend in Pasadena Ca. at a coffee shop for a friends art closing. It was pretty fun and the crowd was warm and receptive. I didn’t mention it or publicize it.I wanted to just go play to an organic crowd, have fun and then get out. All of that happened just as I mentioned. My good friend Jeff Garris did come and was very gracious enough to take some film documentation. Here I am in one segment playing High As Birds Fly in a sort of “bluesy” way.
High As Birds Fly
Thank you Jeff! Jeff is also responsible for the single cover for Valley.

Here is more information on Jeff Garris’ photography and other works.
Jeff Garris
I will put together another show with the full band but for now we are busy with just getting album work done etc..
DAVE3
The above image is of my friend Dave Schless caught on web cam in New York at The Shake Shack. I captured him on their webcam on their website from California in Los Angeles at my desk. Funny stuff. There obviously was some coordination.
So, I didnt realize I was such a “guy”? It’s time for an action movie!

Wrightwood is featured here on this page. just scroll a bit down once loaded


HAHA,no boxers were harmed in that photo shoot. I look that way when I wake up.

Someone once, told me twice in a row…It was not to be. What the hell was that last line? I don’t know but it is a line in a song to be later on a road down the way.

Nothing to do with the above but I really feel like three syllable words are great as the very first utterances in a song that start with that word. For songs with a slower tempo. Sometimes.

So, I didnt really put this entry out exactly when I put it together.
Night.

I got the lions share of attitude from my kitty cat today…

Sometimes you hear things. Most of the timeĀ  you see things and every now and then you read things. Any way you look at it you realize how bad things were.

image

Spotify

Mad Mackerel

We Are Hunted Wrightwood mention

Eat Something or other

Us vs Them Valley

A touch of integrity a hint of naivety and a dash of insanity and there you have it. A human being.

Tonight I received one of the best compliments I could have ever gotten in a long time!

Mote to come.