Be a Supporter!
Response to: What's The Deal... Posted January 14th, 2011 in General

Shit this is fab

Response to: Rate people who joined after you. Posted October 18th, 2010 in General

2003. I remember the days of -poxpower- and Bedn and Waids close up insect photography. I feel nostalgic now...

Response to: Javascript div:hover Posted August 23rd, 2010 in Programming

That's perfect. thanks for your help!

Javascript div:hover Posted August 23rd, 2010 in Programming

Hi guys.

How would I implement this css:

.story-wrap:hover .dates

This obviously allows the .dates div to react when I hover over the .story-wrap div.

How would I select the same in javascript with this code:

$(".story-wrap .dates").hover(function () {

Because currently it just reacts when .dates is hovered over.

Cheers!

Response to: PHP - random div names? Posted August 20th, 2010 in Programming

The mark up is at the top of the page. I have numerous instances of the '.dates .share' div on my page. So when i hover one - they all react. I'd like each instance to react separately, and can't figure out how.

Response to: PHP - random div names? Posted August 20th, 2010 in Programming

Thanks guys. sorry i said php obviously meant javascript. So is there no way I can make dynamically generated divs with the same name fade separately on mouseover?

PHP - random div names? Posted August 19th, 2010 in Programming

I have a piece of php I'm using on wordpress blog posts. It is a simple fade in/ fade out, but it works by knowing the div's exact class.

<script type="text/javascript">
jQuery(function(){
jQuery('.story-wrap').mouseenter(
        function(){
                jQuery('.dates .a').fadeOut(300, function(){
                        jQuery('.dates .share').fadeIn(300);                                            
                });
        }
        );
jQuery('.story-wrap').mouseleave(
        function(){
                jQuery('.dates .share').fadeOut(300, function(){
                        jQuery('.dates .a').fadeIn(300);                                           
                });
        }
        );
});
</script>

It works great but when I use it on an archive page and there is more than one instance of the div class, they all react at the same time. I want each div to react separately, eg you hover div one and only div one reacts not every div.

Is there some way I can create a random div name each time dynamicaly and have the script work with that somehow??

Thanks so much for any help!

Response to: What drives you to level up? Posted May 4th, 2010 in General

At 5/4/10 08:35 PM, Jawdyn wrote:
At 5/4/10 08:29 PM, Zef wrote: Who's good at maths? What level could I be at by now?
Experience: 2905 (305 until level 18)
Level: 17
What you missed: If you deposited every day, you would have 23350 EXP and you would be Level 46.

DAMN i could have an axe.

Response to: What drives you to level up? Posted May 4th, 2010 in General

Who's good at maths? What level could I be at by now?

Response to: Determining an images actual height Posted April 29th, 2010 in Programming

At 4/29/10 01:02 PM, GustTheASGuy wrote: http://krook.org/jsdom/Element.html

Remove the width/height attributes via JS when clicked and it will be resized back to default size.

OK that makes sense but my js is terrible. What do i take from the page you linked me to?

Response to: Determining an images actual height Posted April 29th, 2010 in Programming

At 4/29/10 11:27 AM, Jon-86 wrote: Don't set the height attribute and it will load the full sized image by default...

I want it to load full size only when I click it though.

Response to: Pico Day is TOMORROW here is NEWS Posted April 29th, 2010 in NG News

OMG HOW KEWL!


I have this following code that enlarges an image when you click it. It works great BUT the height of each image I use will be different. I want all images to load to their natural height. What javascript could I use to call in the images original ACTUAL height into where it says height goes here?

<img src="example.jpg" height="440"  onclick="this.src='example.jpg';this.height=HEIGHT GOES HERE" ondblclick="example.jpg';this.height=440"/>

Thanks in advance!

Response to: ipad posting! Posted April 9th, 2010 in General

No.
No.
No.

Just
No.

Response to: Unlucky Newgrounders Posted April 8th, 2010 in General

At 4/8/10 07:37 AM, Ghyfty wrote:
At 4/8/10 07:35 AM, Yamor wrote: I hope you get eaten by a shark.
Or clawed by a crab.

This is more likely, cos I live in Cornwall, UK

Unlucky Newgrounders Posted April 8th, 2010 in General

This is 1 min from my doorstep, and i'm off there now, make sure you wave at me!

Response to: Awww... Posted March 28th, 2010 in General

At 3/28/10 02:47 PM, PlazmaSuthix wrote: am I the only one who doesnt know what that is lol?

Did you read the text on the image?

Response to: Awww... Posted March 28th, 2010 in General

Yes because I was defintely expecting inkjet images of banknotes to be accepted as legal tender. yes i was. that is true. yes.

Awww... Posted March 28th, 2010 in General

SO UNFAIR.

Awww...

Response to: This thread is for old users only. Posted March 24th, 2010 in General

I also remember stealing poxpower's username and putting it for sale on ebay!

ps I wish all these NEWBIES would fuck off.

Response to: This thread is for old users only. Posted March 24th, 2010 in General

I remember when this was allllllll Orange Groves

Response to: Your town's bus Posted March 24th, 2010 in General

Silly me I forgot a picture

Your town's bus

Response to: Your town's bus Posted March 24th, 2010 in General

At 3/24/10 07:00 AM, wreckages wrote: What's it look like?

Like this

How much do you pay?

I personally don't have to pay because I know the guy that drives it.

Is it good service?

It arrives really quickly.

Does it smell like piss?

Not at all!

Are you happy with the service?

Yup, even if it is a little unsteady when taking corners.

Cosmic T-Shirts Posted March 24th, 2010 in General

Designed the first of a series. They are printed on Organic cotton EarthPositive T Shirts.

There are plans for more in the cosmic series, such as narwhals and unicorns. ANy requests, please let me know and they will be considered.

But for now ogle at Cosmic Bean.

Cosmic Shop

Cosmic T-Shirts

Response to: Alright Bbc News. What The Smeg. Posted March 23rd, 2010 in General

Charlie Brooker is the only good thing about television.

Response to: Whats in your pocket? Posted March 22nd, 2010 in General

I HAVE AN IPOD

I HAVE A COOL WALLET

I HAVE CONDOMS AND DRUGS

I HAVE MORE DRUGS

I HAVE NOTHING

etc

great

Response to: The Mars Volta Posted March 22nd, 2010 in General

And that is how this topic may progress. Some people will express love, some hate and some indifference. WOW this topic is sure going to be interesting. I'll be keeping a sharp eye on this.

Response to: Whats in your pocket? Posted March 22nd, 2010 in General

At 3/22/10 05:40 PM, michael1564 wrote: What is in your pockets right now?
Front left: $2, a pen, and a pack of 5 gum.
Front right:Sharpie, and a key to my house.
Back left: Nothing
Back right: Volcom wallet.

Please tell what is in your pockets. Also please post in my style.

OMG VOLCOM WOW!

That's what you wanted right?
Response to: South Park Season 14 Posted March 22nd, 2010 in General

At 3/15/10 08:38 PM, ZeldaFreak701 wrote: I think South Park is mostly just social commentary now.

And?

Response to: This will cheer you up... Posted March 22nd, 2010 in General

At 3/18/10 07:20 PM, thenewbies wrote: I can't help but think that I could've spent my time on something else.

Cheers guys! Oh and huh? What about soundcloud?