View Single Post
Old 01-29-2006, 12:39 AM  
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by BoyAlley
No, can't do that with CSS.

You need to do a little code hack. I just dug into the code really quick for you, here's what ya need to do:

Go into wp-includes and find link.php open it up and find this line:

PHP Code:
$output .= '<a href="' $the_link '"' $rel $title $target'>'
That's where you need to add your onmouse over. It'll effect all links that you add.
hmm... ok, but this would give each link the same onmouse over, & I wanted each link to have it's own. but, you did inspire an idea....
I'm going to try something & come back & let you know if it works.

what if I take the
PHP Code:
$output .= '<a href="' $the_link '"' $rel $title $target'>'
& delete the closing " so in the wp-admin/link-add.php, when I add a url in the uri field, after the url, I add the onmouseover code with a " at the beginning, so this will replace the deleted " & the php output will add the required closing "> I'm going to try & see if this works
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote