function randoBorder(e) { var c1 = "purple"; var c2 = "red"; var c3 = "green"; var pick = Math.floor(Math.random() * 3); var color; if(pick == 0) color = c1; else if(pick == 1) color = c2; else if(pick == 2) color = c3; j(e).css('border','1px solid '+color); //j(e).attr('img',color); }
Category Archives: Reference
Anonymous vs Declared Functions
// 2 ways to write a function... // anonymous functions vs declared functions // the 'anonymous function' way // do it the work right there // // use the anonymous function as the // 2nd parameter to ready ready('a', function(e) { j(e).css('border','1px solid red'); j(e).text("I was here"); } ); // the declared function way // abstract the work and let it be re-used // // create your own function, declare // it elsewhere, and refer to it when // needed ready('a', hideHi); function hideHi(e) { var text = j(e).text(); if(text.contains("Hi")) { j(e).hide(); } }
How To Post Code On The Blog
To insert Javascript/jQuery code into your posts, do the following:
1. Change to the Text input mode (and stay there!)
2. Paste your code
3. Wrap your code in these tags: [code lang="javascript"] and [/code]
Example:
var j = jQuery.noConflict(); j('a').css('border','1px solid red');
Examples of Net Art
We’ll look at a number of examples of net art throughout the semester, but here’s a selection of works and artists we’ll look at on the first day. (in no particular order)
JODI – example, blurb by mark tribe
Matthew Fuller & I/O/D – The Web Stalker (and here)
Hasan Elahi – Tracking Transience
Heath Bunting/Kaylee Brandon – BorderXing Guide
Eva and Franco Mattes – Life Sharing
Guido Segni – The Artist is Typing
F.A.T. Lab – CTRL+F’D
Faith Holland – Porn Interventions
Mark Napier – Shredder
Joana Moll – CO2GLE
Jaromil – Forkbomb
Rafaël Rozendaal – Text-Free Browsing, Abstract Browsing
Keith Obadike – Blackness
Julian Oliver – Harvest, Newstweek
Steve Lambert – Add Art
Daniel Howe and Helen Nissenbaum – TrackMeNot, AdNauseam
Lauren McCarthy – Social Turkers, Get Lauren, Friend Crawl
Yes Men – gatt.org, Iraq War Ends
César Escudero Andaluz – Bittercoin
Danielle Sucher – Jailbreak the Patriarchy
Ubermorgen.com / James Baumgartner – Vote-auction.com
Ben Grosser – ScareMail, Facebook Demetricator, Tracing You, Go Rando
Nicolas Maigret – Pirate Cinema, Predictive Art Bot
Kyle McDonald / Jonas Lund / Jonas Jongejan – Social Roulette
Owen Mundy – I know where your cat lives, commodify.us
Jan Robert Leegte – Table Border 2017
Ken Goldberg – Telegarden
Stephanie Rothenberg – Reversal of Fortune
Constant Dullart – The Revolving Internet, Death of the URL
Patrick Lichty – Random Internet Cats
Paolo Cirio / Alessandro Ludovico – Face to Facebook
Jonah Brucker-Cohen – Google Alert Loop
Aram Bartholl – Map
Winnie Soon – Unerasable Images
Anthony Antonellis – Facebook Bliss
Net Art Resources:
Neural
Rhizome
Rhizome Net Art Anthology
nettime mailing list
Turbulence
Furtherfield
Whitney Artport
Transfer Gallery
The Wrong
New Aesthetic Tumblr