Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: "Cite" and "blockquote" tags link Generator  (Read 5357 times)

Sven

  • ULTIMATE member
  • ******
  • Karma: 88
  • Posts: 2029
  • Chasing MY bugs!
    • hiseo.fr - rédacteur Web
"Cite" and "blockquote" tags link Generator
« on: May 30, 2008, 03:34:49 PM »

Hi all

I'm looking for a smart way to automatically create a clikable link to the source when having blockquote and cite tags.


That feature doesn't exist in HTML 4 (will be available for HTML5, but we might wait for 10 more years since HTML 4 was created in 1999) :-)

Per exemple: I have some cite and blockquote in my articles:
Quote
<q cite="cat/example.html">An inline quote with a relative URL.</q>
<blockquote cite="http://www.example.com/">A block quote with an absolute URL.</blockquote>
By using CSS you can have in Opera the whole paragraph clickable by using :
Quote
q[cite], blockquote[cite]
 {
  -o-link: attr(cite);
  -o-link-source: current;
  cursor: pointer;
}
But this is not implemented in IE or Firefox

Do you think there's a way to have this feature with a script server as PHP ?
Maybe some snoozers will be interested too, so we can imagine a small Mod, Hum ?
« Last Edit: May 30, 2008, 04:35:30 PM by Sven »
Logged

Sven

  • ULTIMATE member
  • ******
  • Karma: 88
  • Posts: 2029
  • Chasing MY bugs!
    • hiseo.fr - rédacteur Web
Re: "Cite" and "blockquote" tags link Generator
« Reply #1 on: June 04, 2008, 10:21:35 AM »

Hey Dudes
that's good for semantic and SEO.
Any idea?