You know how some people have those little icons next to their links – and you can do that with CSS auto-magically on all links, but it doesn't work with IE. Here's a plugin that will add a class to all links so you can have that little icon show up for IE as well.
External Links WordPress Plugin
[via del.icio.us]
Update 11/6/05 – link removed, page no longer exists.
Comments Off on Flickr Gallery
Comments Off on Red Alt – WordPress Index Builder
Comments Off on TodayAgo plugin updated
This link is going around – but I still want to save it for myself…
Anatomy of WordPress theme
A list of templates that you can create for a theme (for WordPress 1.3)
I should create a category called "saved my ass"! This script would fall under it.
I was asked to create a "look up" tool that would sort of "translate" one piece of text to another. The user would enter in the first piece of text, and then they'd be given the "value". Oh, and this list updates every few months or so.
At first I started looking into creating a database, and writing a script that would update that database – problem was that creating and accessing a database for this project was going to be time consuming and difficult. A server-side script would have been the best solution under the circumstances. A few hours this morning searching around turned up this "dictionary" script.
I'm actually being given the the text and values in excel, so I just need to create a sort of "template" in excel that formats everything so it will look like the code – and then I just copy and paste it all into the ASP file.
So here's kind of what I have in my file:
SET TextToNumber=CreateObject("Scripting.Dictionary")
TextToNumber.Add "name", "292949"
TextToNumber.Add "date", "123414"
etc. etc…
Then my form looks like this:
<form name="textlookup" action="lookup.asp" method="post">
Text: <input type="text" name="text" value="" /><br>
<input type="submit" name="submit" value="Look Up Text Number" /></form>
Text: <% Response.Write(Request.Form("text")) %><br>
Number: <%
TextValue=Request.Form("text")
NumberValue=TextToNumber(TextValue)
Response.Write(NumberValue)
%>
Breaking the standard format here to do some good ol' fashion begging…
After hearing that this offer was legit – and Christine DID in fact get her free ipod, I figured I'd give it a try too. So, here's my pathetic plea: Please click here and help me get a free ipod. Pretty please with sugah on top! 😀 [link removed because the more this goes on – the more this stinks of SCAM!!!!!!]
Updated afterwards: Just so you know, you'll have to sign up and act on one of their offers. I think the two most interesting ones are for the ink and Blockbuster. I did Blockbuster. You only have to stay a "member" for the two week (free) trial period, and then you can cancel and it still counts. So, you get to watch (at least) three movies for free… Seeing how I have tons of time to watch movies (not) I'll probably cancel after those two weeks are up.
Thanks everyone who've signed up so far!! 😀
UPDATEI just posted this in the comments, but wanted to add it to the post as well…Well if you'd like to know the catch it's this: I have had PLENTY of people sign up, however, only 3 are marked as having completed the offer. Some of these people I know for a FACT have actually completed the offer, yet they haven't updated the accounts. I contacted their customer service, and I got an automated response back. Stinks of SCAM to me…
05 Nov, 2004
Posted by: Jennifer In: Bookmarks
I'm tired of searching for the correct syntax everytime I wan to use this line… if you're doing a simple one line "if" statement, you can use a "ternary conditional operator" – for example:
echo $variable == 'value' ? 'print if true' : 'print if false';