[EHPweb] 3rd Party Sites

Eric M Martinez emartinez at usgs.gov
Wed Apr 6 20:50:14 UTC 2011


Considering we are linking to social media stuff on ALL our pages, we  
may just need to put this on everything.

Thanks,
	~Eric.




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