[EHPweb] 3rd Party Sites

Jeremy M Fee jmfee at usgs.gov
Thu Apr 7 19:52:31 UTC 2011


BBC puts this in their footer:
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 2.png
Type: image/png
Size: 7265 bytes
Desc: not available
URL: <http://geohazards.usgs.gov/pipermail/ehpweb/attachments/20110407/cb516021/attachment.png>
-------------- next part --------------


Which links to this page:
	http://www.bbc.co.uk/help/web/links/


On Apr 6, 2011, at 3:03 PM, Seth L Daugherty wrote:

> According to this site http://www.quirksmode.org/css/contents.html  
> all the browsers we're targeting support the ^= selector. The  
> problem is that IE7 doesn't support the ':after' or 'content'  
> keywords. So if we want to ignore IE7, we can do the CSS approach.  
> Otherwise, I think we have to do Javascript.
>
> On Apr 6, 2011, at 2:46 PM, Jeremy M Fee wrote:
>
>> Can we use a CSS rule to match link urls instead of JavaScript?
>>
>> a[href^="http"]:after {
>>   content: "*";
>> }
>> a[href^="http://earthquake.usgs.gov"]:after, a[href^="https://sslearthquake.usgs.gov 
>> "]:after, a[href^="http://neic.usgs.gov"]:after, a[href^="http://www.usgs.gov 
>> "]:after, a[href^="http://www.doi.gov"]:after, a[href^="http://www.nehrp.gov 
>> "]:after {
>>   content: "";
>> }
>>
>>
>> Or, like Seth mentioned the offsite classname?  The offsite class  
>> is used throughout the landslides.usgs.gov site and the icon is  
>> added using css.
>>
>>
>> Jeremy
>>
>>
>> On Apr 6, 2011, at 1:37 PM, Seth L Daugherty wrote:
>>
>>> Every time I make an offsite link, I use class="offsite", which  
>>> inserts the icon at the end of the link. It might look a little  
>>> funny to have both the icon and an asterisk, so maybe we should  
>>> either make the asterisk part of the icon or get rid of the icon  
>>> all together.
>>>
>>> - Seth
>>>
>>> On Apr 6, 2011, at 1:05 PM, Eric M Martinez wrote:
>>>
>>>> A JS script to do this would be fairly easy. Yes, all third-party  
>>>> sites (I focused on the "tools" part of the blog post) are  
>>>> affected.
>>>>
>>>> Thanks,
>>>> 	~Eric.
>>>>
>>>>
>>>>
>>>>
>>>> On Apr 6, 2011, at 1:01 PM, Scott Haefner wrote:
>>>>
>>>>> Eric,
>>>>>
>>>>> Your email implies that this policy only applies to 3rd party  
>>>>> software (not a big deal), but the linked web page seems to be  
>>>>> saying all 3rd party links, which is much more onerous. If it is  
>>>>> *all* links, I suggest we (I am willing to volunteer) write a  
>>>>> javascript function as part of our template that does this  
>>>>> automatically.
>>>>>
>>>>> Scott
>>>>>
>>>>> On Apr 6, 2011, at 11:20 AM, Eric M Martinez wrote:
>>>>>
>>>>>> DOI/USGS has issued disclaimers that are required for USGS  
>>>>>> (DOI) sites that link to third party software (i.e. Google  
>>>>>> Earth, etc...). Here is the Web Dev blog post which has further  
>>>>>> information about these guidlines:
>>>>>>
>>>>>> 	http://communities.usgs.gov/blogs/usgsdev/web-dev/3rd-party-toolsservices/
>>>>>>
>>>>>> Thanks,
>>>>>> 	~Eric.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> EHPweb mailing list
>>>>>> EHPweb at geohazards.usgs.gov
>>>>>> https://geohazards.usgs.gov/mailman/listinfo/ehpweb
>>>>>
>>>>> _______________________________________________
>>>>> EHPweb mailing list
>>>>> EHPweb at geohazards.usgs.gov
>>>>> https://geohazards.usgs.gov/mailman/listinfo/ehpweb
>>>>
>>>> _______________________________________________
>>>> EHPweb mailing list
>>>> EHPweb at geohazards.usgs.gov
>>>> https://geohazards.usgs.gov/mailman/listinfo/ehpweb
>>>
>>> _______________________________________________
>>> EHPweb mailing list
>>> EHPweb at geohazards.usgs.gov
>>> https://geohazards.usgs.gov/mailman/listinfo/ehpweb
>>
>



More information about the EHPweb mailing list