This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > CSS generated ontent anyone?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS generated ontent anyone?
mzanime.com

2004-02-11, 8:32 pm

Hi, my employer recently expressed a desire to have a small image display next
to all external links on our web site. This way users will know that they are
leaving the site. And instead of adding these images all over the place my
first thought was CSS generated content.

And I came up with this, it'll work inside of Moz and Netscape 7, but are
there any ill-effects of using generated content insdie browsers that don't
support it? (or don't support it well

a[href^='http']:after
padding:3px
display:inline
vertical-align:middle
content: url('world.gif'



Al Sparber- PVII

2004-02-11, 9:29 pm

mzanime.com wrote:
> Hi, my employer recently expressed a desire to have a small image
> display next to all external links on our web site. This way users
> will know that they are leaving the site. And instead of adding these
> images all over the place my first thought was CSS generated content.
>
> And I came up with this, it'll work inside of Moz and Netscape 7,
> but are there any ill-effects of using generated content insdie
> browsers that don't support it? (or don't support it well


No. It's just that the overwhelming majority of visitors will not see it
for a few years :-).

--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Extensions - DesignPacks - Tutorials - Books
---------------------------------------------------------------------
The PVII Newsgroup | news://forums.projectseven.com/pviiwebdev
The CSS Newsgroup | news://forums.projectseven.com/css
---------------------------------------------------------------------



DiMa

2004-02-11, 9:29 pm

mzanime.com wrote:
> Hi, my employer recently expressed a desire to have a small image
> display next to all external links on our web site. This way users
> will know that they are leaving the site. And instead of adding these
> images all over the place my first thought was CSS generated content.
>
> And I came up with this, it'll work inside of Moz and Netscape 7,
> but are there any ill-effects of using generated content insdie
> browsers that don't support it? (or don't support it well


Better to do a backup of the site and then a site-wide reg ex to wrap all
external links in a <span> or a <div> with a non-repeating bg with the image in
it and padding to set the text of the link off of the image. That's how I'd do
it, anyhow.

--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




Murray *TMM*

2004-02-11, 10:29 pm

Why not give the external links a target of "_blank"?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DiMa" <diana@YOURHATANDCOATflyingtigerwebdesign.com> wrote in message
news:c0ekur$3ct$1@forums.macromedia.com...
> mzanime.com wrote:
>
> Better to do a backup of the site and then a site-wide reg ex to wrap all
> external links in a <span> or a <div> with a non-repeating bg with the

image in
> it and padding to set the text of the link off of the image. That's how

I'd do
> it, anyhow.
>
> --
> --
> DiMa
> --------------------
> WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
> your posts: news://forums.macromedia.com/macromedia.dreamweaver
> For Answers, check here first:
>

http://groups.google.com/advanced_g...dia.dreamweaver
> http://www.macromedia.com/support/d.../technotes.html
> http://www.projectseven.com/faqbase
> http://dwfaq.com
>
> http://www.macromedia.com/support/forums/etiquette.htm
>
> www.flyingtigerwebdesign dot com
>
>
>
>



DiMa

2004-02-11, 10:29 pm

Murray *TMM* wrote:
> Why not give the external links a target of "_blank"?


Because, Mr. Smarty Pants, his boss wants him to put a picture next to each
external link to signify that when clicked the link will take the clicker to an
outside link!

Now you may kiss my feet.
AND MAKE IT SNAPPY!
--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




Murray *TMM*

2004-02-11, 10:29 pm

How long are those toenails?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DiMa" <diana@YOURHATANDCOATflyingtigerwebdesign.com> wrote in message
news:c0elso$4cj$1@forums.macromedia.com...
> Murray *TMM* wrote:
>
> Because, Mr. Smarty Pants, his boss wants him to put a picture next to

each
> external link to signify that when clicked the link will take the clicker

to an
> outside link!
>
> Now you may kiss my feet.
> AND MAKE IT SNAPPY!
> --
> --
> DiMa
> --------------------
> WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
> your posts: news://forums.macromedia.com/macromedia.dreamweaver
> For Answers, check here first:
>

http://groups.google.com/advanced_g...dia.dreamweaver
> http://www.macromedia.com/support/d.../technotes.html
> http://www.projectseven.com/faqbase
> http://dwfaq.com
>
> http://www.macromedia.com/support/forums/etiquette.htm
>
> www.flyingtigerwebdesign dot com
>
>
>
>



DiMa

2004-02-11, 10:29 pm

Murray *TMM* wrote:
> How long are those toenails?


Long enough to gouge your eyes out if you do not heed my words, insole-nt fool!

HAhahaha...geddit? Insole-nt? Hehehehe...man, I crack me up!

I love cold medication :-D
--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




DiMa

2004-02-12, 1:29 am

mzanime.com wrote:
> You guys are nuts. 0_0 lol.


Nuts? US?? Ok, yeah. You should see us in PERSON. It's scary...bwwahahahaha

>Dima is right, I originally had it look
> for target="_blank" but they quicky threw that idea out the window.


Will the regex idea work you think? I suck with regex's, but that's why I have
David Powers around - to do my regex thinking for me. Regex's are too logical
for me. Chaos is much more suited to my brain functions.

> Sometimes management can be a real pain in the arse.


Sometimes??? This is why I'm my own manager! And even I am a real pain in my
own arse! But I do give myself time off whenever I need it, and I never
complain to myself when I'm taking personal calls here at my desk. Once I even
bought myself lunch for all the great work that I do! But overall, I'm still a
crappy manager. Good thing I like me, eh?

--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




mzanime.com

2004-02-12, 1:29 am

You guys are nuts. 0_0 lol. Dima is right, I originally had it look for target="_blank" but they quicky threw that idea out the window. Sometimes management can be a real pain in the arse.
Gary White

2004-02-12, 2:28 am

On Wed, 11 Feb 2004 19:47:54 -0800, "DiMa"
<diana@YOURHATANDCOATflyingtigerwebdesign.com> wrote:

>Will the regex idea work you think?



It should work, assuming that all off site links have "http://" in the
src attribute and that none of the in site links have it. As always,
with any site wide operation, a backup prior could be a life saver.


Gary
Michael Fesser

2004-02-12, 1:29 pm

Murray *TMM* wrote:

>Why not give the external links a target of "_blank"?


Because it's annoying? I like to decide for myself if I want to open a
new window or use the existing one. That's not impossible, but more
complicated with the target-attribute. Personally I don't use it.

Just my 2 cents

Micha
Michael Fesser

2004-02-12, 1:29 pm

DiMa wrote:

>mzanime.com wrote:
>
>Nuts? US?? Ok, yeah. You should see us in PERSON. It's scary...bwwahahahaha


Thankfully you are veeeeery far away from here ... ;)

>Sometimes??? This is why I'm my own manager! And even I am a real pain in my
>own arse! But I do give myself time off whenever I need it, and I never
>complain to myself when I'm taking personal calls here at my desk. [...]


Problems arise when you fire yourself or complain about the payment ...

>Good thing I like me, eh?


I'm my own brother, that's why I just look like me.

Micha
Murray *TMM*

2004-02-12, 2:29 pm

Swimming in your own gene pool?

--
Murray --- ICQ 71997575
==================

"Michael Fesser" <netizen@gmx.net> wrote in message
news:ildn20dh5aju30fpisub3hljvqf1iou9il@4ax.com...
> DiMa wrote:
>
> I'm my own brother, that's why I just look like me.
>
> Micha



DiMa

2004-02-13, 2:28 am

Michael Fesser wrote:

> Thankfully you are veeeeery far away from here ... ;)


Watch out! I've been known to wander through your part of the world...I blend
in beautifully...I speak the language, eat the food, and I don't even smile at
people on the streets anymore (took me a long time to learn how to do that
one). I can assimilate! No one knows I'm not one of you!! Except for my
superior orthodonture, perhaps ;-D You never know, though...I could be
following you and you'd NEVER KNOW!!!

One day you're be walking in the supermarket, perhaps, and a small, scary voice
will sound from behind you, whispering the secret code words..."Hallo...Micha?
Ist das eine Salatschüssel auf dem Kopf??"

You'll freeze - eyes darting from left to right, searching for an exit. But you
know it's too late! From behind the display of Prinzenrolle (that's where I'll
be hiding...and snacking), camoflauged in Nutella, I'll attack when you least
expect it!! BWWWWWAHAHAHAHAHAHAAAAAA!!!! Don't think you can ever escape ME!!
>:)


> I'm my own brother, that's why I just look like me.


Here are the lyrics to one of my daughter's favourite songs (it's an old Disney
tune...before Disney became so PC! ...and so anti-disabled persons <sigh />

It sounds funny, I know,
But it really is so,
Oh, I'm my own grandpa.

Now many, many years ago, when I was twenty-three,
I was married to a widow who was pretty as could be.
This widow had a grown-up daughter who had hair of red.
My father fell in love with her, and soon they, too, were wed.

This made my dad my son-in-law and changed my very life,
My daughter was my mother, cause she was my father's wife.
To complicate the matter, even though it brought me joy,
I soon became the father of a bouncing baby boy.

My little baby then became a brother-in-law to Dad,
And so became my uncle, though it made me very sad.
For if he was my uncle, then that also made him brother
Of the widow's grown-up daughter, who, of course, was my stepmother.

Father's wife then had a son who kept him on the run,
And he became my grandchild, for he was my daughter's son.
My wife is now my mother's mother, and it makes me blue,
Because, although she is my wife, she's my grandmother, too.

Now if my wife is my grandmother, then I'm her grandchild,
And everytime I think of it, it nearly drives me wild,
For now I have become the strangest case you ever saw
As husband of my grandmother, I am my own grandpa!

I'm my own grandpa.
I'm my own grandpa.
It sounds funny, I know, but it really is so,
Oh, I'm my own grandpa!!

:)

--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




Murray *TMM*

2004-02-13, 8:28 am

DiMa:

> you'd NEVER KNOW!!!


I'd know.

> Ist das eine Salatschüssel auf dem Kopf


ROFL. I happen to like having a Salatschüssel am mein Kopf.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"DiMa" <diana@YOURHATANDCOATflyingtigerwebdesign.com> wrote in message
news:c0hocd$cnj$1@forums.macromedia.com...
> Michael Fesser wrote:
>
>
> Watch out! I've been known to wander through your part of the world...I

blend
> in beautifully...I speak the language, eat the food, and I don't even

smile at
> people on the streets anymore (took me a long time to learn how to do that
> one). I can assimilate! No one knows I'm not one of you!! Except for my
> superior orthodonture, perhaps ;-D You never know, though...I could be
> following you and you'd NEVER KNOW!!!
>
> One day you're be walking in the supermarket, perhaps, and a small, scary

voice
> will sound from behind you, whispering the secret code

words..."Hallo...Micha?
> Ist das eine Salatschüssel auf dem Kopf??"
>
> You'll freeze - eyes darting from left to right, searching for an exit.

But you
> know it's too late! From behind the display of Prinzenrolle (that's where

I'll
> be hiding...and snacking), camoflauged in Nutella, I'll attack when you

least
> expect it!! BWWWWWAHAHAHAHAHAHAAAAAA!!!! Don't think you can ever escape

ME!!
>
>
> Here are the lyrics to one of my daughter's favourite songs (it's an old

Disney
> tune...before Disney became so PC! ...and so anti-disabled persons <sigh

/>
>
> It sounds funny, I know,
> But it really is so,
> Oh, I'm my own grandpa.
>
> Now many, many years ago, when I was twenty-three,
> I was married to a widow who was pretty as could be.
> This widow had a grown-up daughter who had hair of red.
> My father fell in love with her, and soon they, too, were wed.
>
> This made my dad my son-in-law and changed my very life,
> My daughter was my mother, cause she was my father's wife.
> To complicate the matter, even though it brought me joy,
> I soon became the father of a bouncing baby boy.
>
> My little baby then became a brother-in-law to Dad,
> And so became my uncle, though it made me very sad.
> For if he was my uncle, then that also made him brother
> Of the widow's grown-up daughter, who, of course, was my stepmother.
>
> Father's wife then had a son who kept him on the run,
> And he became my grandchild, for he was my daughter's son.
> My wife is now my mother's mother, and it makes me blue,
> Because, although she is my wife, she's my grandmother, too.
>
> Now if my wife is my grandmother, then I'm her grandchild,
> And everytime I think of it, it nearly drives me wild,
> For now I have become the strangest case you ever saw
> As husband of my grandmother, I am my own grandpa!
>
> I'm my own grandpa.
> I'm my own grandpa.
> It sounds funny, I know, but it really is so,
> Oh, I'm my own grandpa!!
>
> :)
>
> --
> --
> DiMa
> --------------------
> WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
> your posts: news://forums.macromedia.com/macromedia.dreamweaver
> For Answers, check here first:
>

http://groups.google.com/advanced_g...dia.dreamweaver
> http://www.macromedia.com/support/d.../technotes.html
> http://www.projectseven.com/faqbase
> http://dwfaq.com
>
> http://www.macromedia.com/support/forums/etiquette.htm
>
> www.flyingtigerwebdesign dot com
>
>
>
>



Michael Fesser

2004-02-15, 1:28 am

DiMa wrote:

>Here are the lyrics to one of my daughter's favourite songs (it's an old Disney
>tune...before Disney became so PC! ...and so anti-disabled persons <sigh />
>
>It sounds funny, I know,
>But it really is so,
>Oh, I'm my own grandpa. [...]


Hah, I know this song. ;)

Here's a German version (I play it on guitar from time to time *g*):

Truck Stop

Mein Opa Das Bin Ich

Mein Opa das bin ich, mein Opa das bin ich
Keiner wills kapier'n, doch jedem kanns passier'n
Mein Opa - das bin ich

Es war vor vielen Jahren, es fing ganz harmlos an
Ich traf 'ne reiche Witwe und wurde ihr zweiter Mann
Die Tochter dieser Witwe war gerade achtzehn Jahr
Sie fuhr auf meinen Vater ab und ab gings zum Altar

So wurde mein Vater mein Schwiegersohn, doch damit fings erst an
Meine Stieftochter war meine Stiefmutter, denn mein Vater war ihr Mann
So weit so gut, wir blickten durch, so lief das erste Jahr
Dann klingelte der Klapperstorch und ich wurde Papa

chorus

Mein Sohn war nun der Bruder von der Tochter meiner Frau
Also Schwager meines Vaters, daraus wurde ich noch schlau
Doch als Schwager meines Vaters, fiel mir mit Schrecken ein
Wird mein Sohn nicht nur mein Sohn, sondern auch mein Onkel sein

Die Tochter meiner Frau bekam ein Zwillingspaar
Das waren meine Brüder, weil sie Vaters Söhne war'n
Und wenn das meine Brüder sind, dann sieht wohl jeder ein
Muß ihre Oma - meine Frau - auch meine Oma sein.

Wenn meine Frau meine Oma ist, bin ich ihr Enkelkind
Womit wir fast am Ende uns'rer kleinen Chronik sind
Denn als Mann von meiner Oma, da gibts keine Diskussion
Bin ich nicht nur mein Opa, sondern auch mein Enkelsohn

Mein Opa das bin ich, mein Opa das bin ich
Wär ja halb so schwer wenn ich nicht mein Enkel wär
Mein Opa - das bin ich

Micha
DiMa

2004-02-15, 2:28 am

Michael Fesser wrote:

> Here's a German version (I play it on guitar from time to time *g*):


LOL!! My daughter's going to love this!! :) She loves the English version, but
for some reason everything is much funnier to her in German. Go figure! :) One
of her favourite CDs is Nena singt die schönsten Kinderlieder. She'll LOVE
this!

Thanks! :)

--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to
your posts: news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_g...dia.dreamweaver
http://www.macromedia.com/support/d.../technotes.html
http://www.projectseven.com/faqbase
http://dwfaq.com

http://www.macromedia.com/support/forums/etiquette.htm

www.flyingtigerwebdesign dot com




Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews